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


Solutions on the web

Solution icon of github
via GitHub by HackToday
, 9 months ago
assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])

Solution icon of github
via GitHub by ktoso
, 1 year ago
assertion failed: expected: no longer watched by but got unexpected message Debug(akka://lifecycle/user,class akka.actor.LocalActorRefProvider$Guardian,now supervising TestActor[akka://lifecycle/user/$$e])

Solution icon of googlegroups
via Google Groups by Aditya Prasad, 1 year ago
assertion failed: expected: Terminated Actor[akka://ReplicatorSpec/user/$a#-968221567] but got unexpected message Foo(0)

Solution icon of github
via GitHub by kkasravi
, 1 year ago
assertion failed: timeout (5 seconds) during expectMsg: Terminated TestActor[akka://ForMasterWatcher/user/$$a]

Solution icon of github
via GitHub by manuzhang
, 1 year ago
assertion failed: timeout (5 seconds) during expectMsg: Terminated TestActor[akka://ForMasterWatcher/user/$$a]

Solution icon of github
via GitHub by jrudolph
, 9 months ago
assertion failed: expected: Terminated Actor[akka://DurableDataSpec/user/replicator-2#358621399] but got unexpected message UpdateSuccess(durable-C,None)

Solution icon of github
assertion failed: expected: Terminated Actor[akka://System/user/$c#-449023573] but got unexpected message CommandFailed(KillTasks(test-app,Set(taskA_id),true),java.lang.NullPointerException)

Solution icon of github
via GitHub by johanandren
, 1 year ago
assertion failed: timeout (40 seconds) during expectMsg: Terminated Actor[akka://LatencySpec/user/$p#-975612264]

Solution icon of github
via GitHub by drewhk
, 11 months ago
assertion failed: timeout (22 seconds) during expectMsg: Terminated Actor[akka://LatencySpec/user/$f#812078036]

Solution icon of github
via GitHub by 2m
, 9 months ago
assertion failed: timeout (5 seconds) during expectMsg: Terminated Actor[akka://systemC@localhost:34299/user/echo#1151553699]

Stack trace

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(Predef.scala:170)
	at akka.testkit.TestKitBase$class.expectMsgPF(TestKit.scala:406)
	at mesosphere.marathon.upgrade.AppStartActorTest.expectMsgPF(AppStartActorTest.scala:20)
	at akka.testkit.TestKitBase$class.expectTerminated(TestKit.scala:417)
	at mesosphere.marathon.upgrade.AppStartActorTest.expectTerminated(AppStartActorTest.scala:20)
	at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$5.apply(AppStartActorTest.scala:108)
	at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$5.apply(AppStartActorTest.scala:95)
	at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
	at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
	at mesosphere.marathon.upgrade.AppStartActorTest.withFixture(AppStartActorTest.scala:20)
	at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183)
	at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
	at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
	at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196)
	at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$runTest(AppStartActorTest.scala:20)
	at org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:203)
	at mesosphere.marathon.upgrade.AppStartActorTest.runTest(AppStartActorTest.scala:20)
	at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
	at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
	at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
	at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
	at scala.collection.immutable.List.foreach(List.scala:381)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
	at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
	at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:229)
	at mesosphere.marathon.upgrade.AppStartActorTest.runTests(AppStartActorTest.scala:20)
	at org.scalatest.Suite$class.run(Suite.scala:1147)
	at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$FunSuiteLike$$super$run(AppStartActorTest.scala:20)
	at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
	at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
	at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
	at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233)
	at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$run(AppStartActorTest.scala:20)
	at org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:258)
	at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfterAll$$super$run(AppStartActorTest.scala:20)
	at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
	at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
	at mesosphere.marathon.upgrade.AppStartActorTest.run(AppStartActorTest.scala:20)
	at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
	at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:480)
	at sbt.ForkMain$Run$2.call(ForkMain.java:296)
	at sbt.ForkMain$Run$2.call(ForkMain.java:286)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)[info]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 months ago
3 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
22 more bugmates