java.lang.AssertionError: assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])

GitHub | HackToday | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Test failed for sbt assembly

    GitHub | 2 months ago | HackToday
    java.lang.AssertionError: assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])
  2. 0

    Flaky test in MarathonSchedulerActorTest

    GitHub | 2 years ago | ConnorDoyle
    java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class mesosphere.marathon.MarathonSchedulerActor$CommandFailed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])

    at scala.Predef$.assert()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:170)
    1 frame
  3. Akka Testkit
    TestKitBase$class.expectMsgPF
    1. akka.testkit.TestKitBase$class.expectMsgPF(TestKit.scala:406)
    1 frame
  4. mesosphere.marathon.upgrade
    AppStartActorTest.expectMsgPF
    1. mesosphere.marathon.upgrade.AppStartActorTest.expectMsgPF(AppStartActorTest.scala:20)
    1 frame
  5. Akka Testkit
    TestKitBase$class.expectTerminated
    1. akka.testkit.TestKitBase$class.expectTerminated(TestKit.scala:417)
    1 frame
  6. mesosphere.marathon.upgrade
    AppStartActorTest$$anonfun$5.apply
    1. mesosphere.marathon.upgrade.AppStartActorTest.expectTerminated(AppStartActorTest.scala:20)
    2. mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$5.apply(AppStartActorTest.scala:108)
    3. mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$5.apply(AppStartActorTest.scala:95)
    3 frames
  7. scalatest
    TestSuite$class.withFixture
    1. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
    2. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
    3. org.scalatest.Transformer.apply(Transformer.scala:22)
    4. org.scalatest.Transformer.apply(Transformer.scala:20)
    5. org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
    6. org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
    6 frames
  8. mesosphere.marathon.upgrade
    AppStartActorTest.withFixture
    1. mesosphere.marathon.upgrade.AppStartActorTest.withFixture(AppStartActorTest.scala:20)
    1 frame
  9. scalatest
    FunSuiteLike$class.runTest
    1. org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183)
    2. org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
    3. org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
    4. org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
    5. org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196)
    5 frames
  10. mesosphere.marathon.upgrade
    AppStartActorTest.org$scalatest$BeforeAndAfter$$super$runTest
    1. mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$runTest(AppStartActorTest.scala:20)
    1 frame
  11. scalatest
    BeforeAndAfter$class.runTest
    1. org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:203)
    1 frame
  12. mesosphere.marathon.upgrade
    AppStartActorTest.runTest
    1. mesosphere.marathon.upgrade.AppStartActorTest.runTest(AppStartActorTest.scala:20)
    1 frame
  13. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.apply
    1. org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
    2. org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
    3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
    4. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
    4 frames
  14. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  15. scalatest
    FunSuiteLike$class.runTests
    1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
    2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
    3. org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
    4. org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:229)
    4 frames
  16. mesosphere.marathon.upgrade
    AppStartActorTest.runTests
    1. mesosphere.marathon.upgrade.AppStartActorTest.runTests(AppStartActorTest.scala:20)
    1 frame
  17. scalatest
    Suite$class.run
    1. org.scalatest.Suite$class.run(Suite.scala:1147)
    1 frame
  18. mesosphere.marathon.upgrade
    AppStartActorTest.org$scalatest$FunSuiteLike$$super$run
    1. mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$FunSuiteLike$$super$run(AppStartActorTest.scala:20)
    1 frame
  19. scalatest
    FunSuiteLike$class.run
    1. org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
    2. org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
    3. org.scalatest.SuperEngine.runImpl(Engine.scala:521)
    4. org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233)
    4 frames
  20. mesosphere.marathon.upgrade
    AppStartActorTest.org$scalatest$BeforeAndAfter$$super$run
    1. mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$run(AppStartActorTest.scala:20)
    1 frame
  21. scalatest
    BeforeAndAfter$class.run
    1. org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:258)
    1 frame
  22. mesosphere.marathon.upgrade
    AppStartActorTest.org$scalatest$BeforeAndAfterAll$$super$run
    1. mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfterAll$$super$run(AppStartActorTest.scala:20)
    1 frame
  23. scalatest
    BeforeAndAfterAll$class.run
    1. org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
    2. org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
    2 frames
  24. mesosphere.marathon.upgrade
    AppStartActorTest.run
    1. mesosphere.marathon.upgrade.AppStartActorTest.run(AppStartActorTest.scala:20)
    1 frame
  25. scalatest
    Framework$ScalaTestTask.execute
    1. org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
    2. org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:480)
    2 frames
  26. SBT
    ForkMain$Run$2.call
    1. sbt.ForkMain$Run$2.call(ForkMain.java:296)
    2. sbt.ForkMain$Run$2.call(ForkMain.java:286)
    2 frames
  27. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)[info]
    4 frames