You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2023/09/01 16:48:56 UTC

[GitHub] [incubator-pekko] He-Pin opened a new issue, #610: failed: StreamRefsSpec

He-Pin opened a new issue, #610:
URL: https://github.com/apache/incubator-pekko/issues/610

   ```
   [09-01 15:20:20.134] [info] - must pass cancellation upstream across remoting before elements has been emitted *** FAILED *** (26 milliseconds)
   [09-01 15:20:20.135] [info]   java.lang.AssertionError: assertion failed: expected Done, found Failure(org.apache.pekko.stream.RemoteStreamRefActorTerminatedException: Remote target receiver of data Some(Actor[pekko://StreamRefsSpec/system/Materializers/StreamSupervisor-2568/$$m-SourceRef-8#-1525367045]) terminated. Local stream terminating, message loss (on remote side) may have happened.)
   [09-01 15:20:20.135] [info]   at scala.Predef$.assert(Predef.scala:279)
   ```
   
   https://github.com/apache/incubator-pekko/actions/runs/6050882412/job/16421131496?pr=609


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] He-Pin commented on issue #610: failed: StreamRefsSpec

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on issue #610:
URL: https://github.com/apache/incubator-pekko/issues/610#issuecomment-1724795126

   https://github.com/apache/incubator-pekko/actions/runs/6229433326/job/16907923622#step:6:21256


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [I] failed: StreamRefsSpec [pekko]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin closed issue #610: failed: StreamRefsSpec
URL: https://github.com/apache/pekko/issues/610


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] He-Pin commented on issue #610: failed: StreamRefsSpec

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on issue #610:
URL: https://github.com/apache/incubator-pekko/issues/610#issuecomment-1735612669

   https://github.com/apache/incubator-pekko/actions/runs/6312975683/job/17140088676#step:7:13652


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


[GitHub] [incubator-pekko] He-Pin commented on issue #610: failed: StreamRefsSpec

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on issue #610:
URL: https://github.com/apache/incubator-pekko/issues/610#issuecomment-1733146703

   https://github.com/apache/incubator-pekko/actions/runs/6293248461/job/17083517089#step:6:22009


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [I] failed: StreamRefsSpec [pekko]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin commented on issue #610:
URL: https://github.com/apache/pekko/issues/610#issuecomment-4576972395

   Root-cause analysis: this is the test marked with an explicit in-code `// FIXME https://github.com/akka/akka/issues/30844` (StreamRefsSpec.scala:361, just above the failing case "pass cancellation upstream across remoting before elements has been emitted").
   
   When cancellation is propagated across remoting *before any element has been emitted*, the `KillSwitches.shutdown()` races the remote `SourceRef` actor termination: the local side can observe `RemoteStreamRefActorTerminatedException` ("message loss may have happened") instead of a clean `Done`. This is a known upstream product race in stream-ref cancellation propagation that Akka itself left unfixed (akka#30844).
   
   Making the test tolerate both `Done` and the termination exception would only **mask** the deliberately-flagged product bug, so a test-only tweak is not appropriate here. The real fix belongs in the stream-ref cancellation path. Leaving open and linked to the FIXME.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org