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 2025/09/22 06:23:15 UTC

[I] LateConnectSpec [pekko]

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

   ```scala
   [09-22 05:32:10.899] [info] - must be established after initial lazy restart *** FAILED *** (24 seconds, 41 milliseconds)
   [09-22 05:32:10.899] [info]   java.lang.AssertionError: assertion failed: timeout (20 seconds) during expectMsg while waiting for ping2
   [09-22 05:32:10.899] [info]   at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
   [09-22 05:32:10.899] [info]   at org.apache.pekko.testkit.TestKitBase.expectMsg_internal(TestKit.scala:470)
   [09-22 05:32:10.899] [info]   at org.apache.pekko.testkit.TestKitBase.expectMsg(TestKit.scala:456)
   [09-22 05:32:10.899] [info]   at org.apache.pekko.testkit.TestKitBase.expectMsg$(TestKit.scala:167)
   [09-22 05:32:10.899] [info]   at org.apache.pekko.testkit.TestKit.expectMsg(TestKit.scala:963)
   [09-22 05:32:10.899] [info]   at org.apache.pekko.remote.artery.LateConnectSpec.f$proxy1$1(LateConnectSpec.scala:59)
   [09-22 05:32:10.899] [info]   at org.apache.pekko.remote.artery.LateConnectSpec.$init$$$anonfun$1$$anonfun$1(LateConnectSpec.scala:44)
   [09-22 05:32:10.899] [info]   at org.scalatest.Transformer.apply$$anonfun$1(Transformer.scala:22)
   [09-22 05:32:10.899] [info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
   [09-22 05:32:10.899] [info]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:31)
   [09-22 05:32:10.899] [info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   [09-22 05:32:10.899] [info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
   [09-22 05:32:10.899] [info]   at org.scalatest.Transformer.apply(Transformer.scala:21)
   [09-22 05:32:10.899] [info]   at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1118)
   [09-22 05:32:10.900] [info]   at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
   [09-22 05:32:10.900] [info]   at org.scalatest.TestSuite.withFixture$(TestSuite.scala:138)
   [09-22 05:32:10.900] [info]   at org.apache.pekko.remote.artery.ArteryMultiNodeSpec.withFixture(ArteryMultiNodeSpec.scala:59)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1124)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.runTest$$anonfun$1(AnyWordSpecLike.scala:1128)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1128)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:44)
   [09-22 05:32:10.900] [info]   at org.apache.pekko.testkit.PekkoSpec.runTest(PekkoSpec.scala:82)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.runTests$$anonfun$1(AnyWordSpecLike.scala:1187)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.traverseSubNodes$1$$anonfun$1(Engine.scala:413)
   [09-22 05:32:10.900] [info]   at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
   [09-22 05:32:10.900] [info]   at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
   [09-22 05:32:10.900] [info]   at scala.collection.immutable.List.foreach(List.scala:334)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:429)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.traverseSubNodes$1$$anonfun$1(Engine.scala:427)
   [09-22 05:32:10.900] [info]   at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
   [09-22 05:32:10.900] [info]   at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
   [09-22 05:32:10.900] [info]   at scala.collection.immutable.List.foreach(List.scala:334)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:429)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
   [09-22 05:32:10.900] [info]   at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1187)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:44)
   [09-22 05:32:10.900] [info]   at org.apache.pekko.testkit.PekkoSpec.runTests(PekkoSpec.scala:82)
   [09-22 05:32:10.900] [info]   at org.scalatest.Suite.run(Suite.scala:1114)
   [09-22 05:32:10.900] [info]   at org.scalatest.Suite.run$(Suite.scala:564)
   [09-22 05:32:10.900] [info]   at org.apache.pekko.testkit.PekkoSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(PekkoSpec.scala:82)
   [09-22 05:32:10.900] [info]   at org.scalatest.wordspec.AnyWordSpecLike.run$$anonfun$1(AnyWordSpecLike.scala:1232)
   [09-22 05:32:10.901] [info]   at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
   [09-22 05:32:10.901] [info]   at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1232)
   [09-22 05:32:10.901] [info]   at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:44)
   [09-22 05:32:10.901] [info]   at org.apache.pekko.testkit.PekkoSpec.org$scalatest$BeforeAndAfterAll$$super$run(PekkoSpec.scala:82)
   [09-22 05:32:10.901] [info]   at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
   [09-22 05:32:10.901] [info]   at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:217)
   [09-22 05:32:10.901] [info]   at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:135)
   [09-22 05:32:10.901] [info]   at org.apache.pekko.testkit.PekkoSpec.run(PekkoSpec.scala:82)
   [09-22 05:32:10.901] [info]   at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
   [09-22 05:32:10.901] [info]   at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
   [09-22 05:32:10.901] [info]   at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
   [09-22 05:32:10.901] [info]   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   [09-22 05:32:10.901] [info]   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   [09-22 05:32:10.901] [info]   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   [09-22 05:32:10.901] [info]   at java.base/java.lang.Thread.run(Thread.java:840)
   ```
   
   https://github.com/apache/pekko/actions/runs/17905187663/job/50905064076?pr=2260


-- 
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


Re: [I] failed: LateConnectSpec [pekko]

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

   The `LateConnectSpec` "must be established after initial lazy restart" timeout (waiting for `ping2`) is addressed on `main`:
   
   - \`880b0075d\` — fix: Fix virtualized dispatcher shutdown ordering (#2925)
   
   That change wraps the `ping2`/`ping3` `expectMsg` assertions in `awaitAssert(..., 20.seconds)` so the message send is retried rather than waited on once, removing the lazy-restart race. Suggest closing as fixed — please reopen if it recurs on latest `main`.


-- 
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: LateConnectSpec [pekko]

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

   Closing as fixed on `main` per the evidence above. Please reopen if it recurs on the latest `main`.


-- 
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: LateConnectSpec [pekko]

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


-- 
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