Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AkkaTestKitSpecs2Support tests are flaky #14

Open
bpholt opened this issue Feb 22, 2018 · 0 comments
Open

AkkaTestKitSpecs2Support tests are flaky #14

bpholt opened this issue Feb 22, 2018 · 0 comments

Comments

@bpholt
Copy link
Member

bpholt commented Feb 22, 2018

Over the past few builds I've noticed that the AkkaTestKitSpecs2Support tests occasionally time out on Scala 2.12. Restarting the TravisCI job has always resolved the issue, but it's an annoyance that should probably be fixed.

Here's an example of a failure:

AkkaTestKitSpecs2Support timeout report
[info] AkkaTestKitSpecs2Support should
[error]   ! extend Scope and After
[error]    akka.ConfigurationException: Could not start logger due to [akka.ConfigurationException: Logger specified in config can't be loaded [akka.event.Logging$DefaultLogger] due to [akka.event.Logging$LoggerInitializationException: Logger log1-Logging$DefaultLogger did not respond with LoggerInitialized, sent instead [TIMEOUT]]] (Logging.scala:147)
[error] akka.event.LoggingBus.startDefaultLoggers(Logging.scala:147)
[error] akka.event.LoggingBus.startDefaultLoggers$(Logging.scala:99)
[error] akka.event.EventStream.startDefaultLoggers(EventStream.scala:23)
[error] akka.actor.LocalActorRefProvider.init(ActorRefProvider.scala:652)
[error] akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:797)
[error] akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:794)
[error] akka.actor.ActorSystemImpl._start(ActorSystem.scala:794)
[error] akka.actor.ActorSystemImpl.start(ActorSystem.scala:810)
[error] akka.actor.ActorSystem$.apply(ActorSystem.scala:244)
[error] akka.actor.ActorSystem$.apply(ActorSystem.scala:287)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2Support.system$lzycompute(AkkaTestKitSpecs2Support.scala:12)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2Support.system(AkkaTestKitSpecs2Support.scala:12)
[error] akka.testkit.TestKitBase.$init$(TestKit.scala:148)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2Support.(AkkaTestKitSpecs2Support.scala:11)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2SupportSpec$$anon$2.(AkkaTestKitSpecs2SupportSpec.scala:22)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2SupportSpec.$anonfun$new$2(AkkaTestKitSpecs2SupportSpec.scala:21)
[error]   ! pass the given Config to the ActorSystem
[error]    akka.ConfigurationException: Could not start logger due to [akka.ConfigurationException: Logger specified in config can't be loaded [akka.event.Logging$DefaultLogger] due to [akka.event.Logging$LoggerInitializationException: Logger log1-Logging$DefaultLogger did not respond with LoggerInitialized, sent instead [TIMEOUT]]] (Logging.scala:147)
[error] akka.event.LoggingBus.startDefaultLoggers(Logging.scala:147)
[error] akka.event.LoggingBus.startDefaultLoggers$(Logging.scala:99)
[error] akka.event.EventStream.startDefaultLoggers(EventStream.scala:23)
[error] akka.actor.LocalActorRefProvider.init(ActorRefProvider.scala:652)
[error] akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:797)
[error] akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:794)
[error] akka.actor.ActorSystemImpl._start(ActorSystem.scala:794)
[error] akka.actor.ActorSystemImpl.start(ActorSystem.scala:810)
[error] akka.actor.ActorSystem$.apply(ActorSystem.scala:244)
[error] akka.actor.ActorSystem$.apply(ActorSystem.scala:287)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2Support.system$lzycompute(AkkaTestKitSpecs2Support.scala:12)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2Support.system(AkkaTestKitSpecs2Support.scala:12)
[error] akka.testkit.TestKitBase.$init$(TestKit.scala:148)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2Support.(AkkaTestKitSpecs2Support.scala:11)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2SupportSpec$$anon$3.(AkkaTestKitSpecs2SupportSpec.scala:30)
[error] com.dwolla.testutils.akka.AkkaTestKitSpecs2SupportSpec.$anonfun$new$7(AkkaTestKitSpecs2SupportSpec.scala:28)
@bpholt bpholt changed the title AkkaTestKitSpecs2Support tests are flakey AkkaTestKitSpecs2Support tests are flaky Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant