Closed meichstedt closed 8 years ago
I reproduced this or a similar problem. Analysis:
marathon_8141: [2016-04-08 14:02:02,173] DEBUG [akka://marathon/user/launchQueue] received handled message Purge(/marathonintegrationtest/forcetest/app) in state active
marathon_8141: [2016-04-08 14:02:02,173] DEBUG [akka://marathon/user/launchQueue/1] received handled message Purge(/marathonintegrationtest/forcetest/app)
marathon_8141: [2016-04-08 14:02:02,173] DEBUG [akka://marathon/user/launchQueue/1/9-marathonintegrationtest_forcetest_app] received handled message Stop in state active
marathon_8141: [2016-04-08 14:02:02,173] INFO [akka://marathon/user/launchQueue/1/9-marathonintegrationtest_forcetest_app] Stopping but still waiting for 2 in-flight messages, first three task ids: task [marathonintegrationtest_forcetest_app.b4374e67-fd81-11e5-837d-02421a2a8071], task [marathonintegrationtest_forcetest_app.b438d508-fd81-11e5-837d-02421a2a8071]
marathon_8141: [2016-04-08 14:02:02,173] DEBUG [akka://marathon/user/launchQueue] received handled message TaskChanged(LaunchEphemeral(LaunchedEphemeral(task [marathonintegrationtest_forcetest_app.b438d508-fd81-11e5-837d-02421a2a8071],AgentInfo(localhost,Some(7ded9c35-1b3c-4008-87de-b9266495a937-S0),Buffer()),2016-04-08T12:02:01.986Z,Status(2016-04-08T12:02:02.090Z,None,None),Vector(31937))),Update(LaunchedEphemeral(task [marathonintegrationtest_forcetest_app.b438d508-fd81-11e5-837d-02421a2a8071],AgentInfo(localhost,Some(7ded9c35-1b3c-4008-87de-b9266495a937-S0),Buffer()),2016-04-08T12:02:01.986Z,Status(2016-04-08T12:02:02.090Z,None,None),Vector(31937)),None)) in state active
marathon_8141: [2016-04-08 14:02:02,173] DEBUG [akka://marathon/user/launchQueue/1] received handled message TaskChanged(LaunchEphemeral(LaunchedEphemeral(task [marathonintegrationtest_forcetest_app.b438d508-fd81-11e5-837d-02421a2a8071],AgentInfo(localhost,Some(7ded9c35-1b3c-4008-87de-b9266495a937-S0),Buffer()),2016-04-08T12:02:01.986Z,Status(2016-04-08T12:02:02.090Z,None,None),Vector(31937))),Update(LaunchedEphemeral(task [marathonintegrationtest_forcetest_app.b438d508-fd81-11e5-837d-02421a2a8071],AgentInfo(localhost,Some(7ded9c35-1b3c-4008-87de-b9266495a937-S0),Buffer()),2016-04-08T12:02:01.986Z,Status(2016-04-08T12:02:02.090Z,None,None),Vector(31937)),None))
... gets deferred in LaunchQueueActor thus blocking the processing of the TaskChange which preceeds the TaskLaunchNotification that the ApptAskLaunchActor waits for (2 in-flight messages)
marathon_8141: [2016-04-08 14:02:03,183] ERROR [] while executing step notifyLaunchQueue for [marathonintegrationtest_forcetest_app.b438d508-fd81-11e5-837d-02421a2a8071], continue with other steps
marathon_8141: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://marathon/user/launchQueue#758055736]] after [1000 ms]
marathon_8141: at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:335) ~[akka-actor_2.11-2.3.9.jar:na]
marathon_8141: at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:117) ~[akka-actor_2.11-2.3.9.jar:na]
marathon_8141: at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:599) ~[scala-library-2.11.7.jar:na]
marathon_8141: at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109) ~[scala-library-2.11.7.jar:na]
marathon_8141: at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:597) ~[scala-library-2.11.7.jar:na]
marathon_8141: at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(Scheduler.scala:467) ~[akka-actor_2.11-2.3.9.jar:na]
marathon_8141: at akka.actor.LightArrayRevolverScheduler$$anon$8.executeBucket$1(Scheduler.scala:419) ~[akka-actor_2.11-2.3.9.jar:na]
marathon_8141: at akka.actor.LightArrayRevolverScheduler$$anon$8.nextTick(Scheduler.scala:423) ~[akka-actor_2.11-2.3.9.jar:na]
marathon_8141: at akka.actor.LightArrayRevolverScheduler$$anon$8.run(Scheduler.scala:375) ~[akka-actor_2.11-2.3.9.jar:na]
marathon_8141: at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_77]
Sporadically fails. log here: https://teamcity.mesosphere.io/viewLog.html?buildId=189623&buildTypeId=Oss_Marathon_IntegrationScaleTests&tab=buildLog