java.lang.AssertionError: assertion failed: expected class mesosphere.marathon.MarathonSchedulerActor$CommandFailed, found class mesosphere.marathon.MarathonSchedulerActor$DeploymentStarted (DeploymentStarted(DeploymentPlan id=1f970f2e-215d-4859-83d3-bd7d62bda0fe,2017-01-10T00:29:53.655Z step 1: * Start(App(app1, cmd="cmd"List())), instances=0) step 2: * Scale(App(app1, cmd="cmd"List())), instances=2) ))

GitHub | HackToday | 2 weeks ago
  1. 0

    GitHub comment 4922#271525775

    GitHub | 2 weeks ago | HackToday
    java.lang.AssertionError: assertion failed: expected class mesosphere.marathon.MarathonSchedulerActor$CommandFailed, found class mesosphere.marathon.MarathonSchedulerActor$DeploymentStarted (DeploymentStarted(DeploymentPlan id=1f970f2e-215d-4859-83d3-bd7d62bda0fe,2017-01-10T00:29:53.655Z step 1: * Start(App(app1, cmd="cmd"List())), instances=0) step 2: * Scale(App(app1, cmd="cmd"List())), instances=2) ))
  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. 0

    GitHub comment 4933#274298645

    GitHub | 14 hours ago | HackToday
    java.lang.AssertionError: assertion failed: expected class mesosphere.marathon.MarathonSchedulerActor$CommandFailed, found class mesosphere.marathon.MarathonSchedulerActor$DeploymentStarted (DeploymentStarted(DeploymentPlan id=f91ef6f1-5227-4889-840c-d77c575beee6,2017-01-22T00:44:08.152Z step 1: * Start(App(app1, cmd="cmd"List())), instances=0) step 2: * Scale(App(app1, cmd="cmd"List())), instances=2) ))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MarathonSchedulerActorTest is flaky

    GitHub | 2 years ago | ConnorDoyle
    java.lang.AssertionError: assertion failed: expected TasksKilled(test-app,Set(taskA_id)), found CommandFailed(KillTasks(test-app,Set(taskA_id),true),java.lang.NullPointerException)
  6. 0

    Shaky Test: MarathonSchedulerActorTest "Forced deployment"

    GitHub | 1 year ago | kolloch
    java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class mesosphere.marathon.MarathonSchedulerActor$DeploymentStarted
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 class mesosphere.marathon.MarathonSchedulerActor$CommandFailed, found class mesosphere.marathon.MarathonSchedulerActor$DeploymentStarted (DeploymentStarted(DeploymentPlan id=1f970f2e-215d-4859-83d3-bd7d62bda0fe,2017-01-10T00:29:53.655Z step 1: * Start(App(app1, cmd="cmd"List())), instances=0) step 2: * Scale(App(app1, cmd="cmd"List())), instances=2) ))

    at scala.Predef$.assert()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:170)
    1 frame
  3. Akka Testkit
    TestKitBase$class.expectMsgType
    1. akka.testkit.TestKitBase$class.expectMsgClass_internal(TestKit.scala:473)
    2. akka.testkit.TestKitBase$class.expectMsgType(TestKit.scala:445)
    2 frames
  4. mesosphere.marathon
    MarathonSchedulerActorTest$$anonfun$16.apply
    1. mesosphere.marathon.MarathonSchedulerActorTest.expectMsgType(MarathonSchedulerActorTest.scala:37)
    2. mesosphere.marathon.MarathonSchedulerActorTest$$anonfun$16.apply(MarathonSchedulerActorTest.scala:459)
    2 frames
  5. 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
  6. mesosphere.marathon
    MarathonSchedulerActorTest.withFixture
    1. mesosphere.marathon.MarathonSchedulerActorTest.withFixture(MarathonSchedulerActorTest.scala:37)
    1 frame
  7. 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
  8. mesosphere.marathon
    MarathonSchedulerActorTest.org$scalatest$BeforeAndAfter$$super$runTest
    1. mesosphere.marathon.MarathonSchedulerActorTest.org$scalatest$BeforeAndAfter$$super$runTest(MarathonSchedulerActorTest.scala:37)
    1 frame
  9. scalatest
    BeforeAndAfter$class.runTest
    1. org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:203)
    1 frame
  10. mesosphere.marathon
    MarathonSchedulerActorTest.runTest
    1. mesosphere.marathon.MarathonSchedulerActorTest.runTest(MarathonSchedulerActorTest.scala:37)
    1 frame
  11. 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
  12. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  13. 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
  14. mesosphere.marathon
    MarathonSchedulerActorTest.runTests
    1. mesosphere.marathon.MarathonSchedulerActorTest.runTests(MarathonSchedulerActorTest.scala:37)
    1 frame
  15. scalatest
    Suite$class.run
    1. org.scalatest.Suite$class.run(Suite.scala:1147)
    1 frame
  16. mesosphere.marathon
    MarathonSchedulerActorTest.org$scalatest$FunSuiteLike$$super$run
    1. mesosphere.marathon.MarathonSchedulerActorTest.org$scalatest$FunSuiteLike$$super$run(MarathonSchedulerActorTest.scala:37)
    1 frame
  17. 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
  18. mesosphere.marathon
    MarathonSchedulerActorTest.org$scalatest$BeforeAndAfter$$super$run
    1. mesosphere.marathon.MarathonSchedulerActorTest.org$scalatest$BeforeAndAfter$$super$run(MarathonSchedulerActorTest.scala:37)
    1 frame
  19. scalatest
    BeforeAndAfter$class.run
    1. org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:258)
    1 frame
  20. mesosphere.marathon
    MarathonSchedulerActorTest.org$scalatest$BeforeAndAfterAll$$super$run
    1. mesosphere.marathon.MarathonSchedulerActorTest.org$scalatest$BeforeAndAfterAll$$super$run(MarathonSchedulerActorTest.scala:37)
    1 frame
  21. 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
  22. mesosphere.marathon
    MarathonSchedulerActorTest.run
    1. mesosphere.marathon.MarathonSchedulerActorTest.run(MarathonSchedulerActorTest.scala:37)
    1 frame
  23. 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
  24. 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
  25. 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)
    4 frames