Lagom 1.6 scala shopping-cart example test failed to executed

I downloaded the scala lagom 1.6 example “shopping-cart-scala” but I’m not able to execute test because of exception during the test

[info] Run completed in 25 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] No tests were executed.
[info] Compiling 2 Scala sources to /Users/dschoen/Documents/github/Lagom/Lagom16/lagom-samples-1.6.x.latest/lagom-samples-1.6.x/shopping-cart/shopping-cart-scala/shopping-cart/target/scala-2.13/test-classes ...
SLF4J: A number (1) of logging calls during the initialization phase have been intercepted and are
SLF4J: now being replayed. These are subject to the filtering rules of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#replay
[info] ShoppingCartEntitySpec:
[info] ShoppingCart
[info] - must add an item
[info] - must remove an item
[info] - must update item quantity
[info] - must allow checking out
[info] - must allow getting shopping cart summary
[info] - must fail when removing an item that isn't added
[info] - must fail when adding a negative number of items
[info] - must fail when adjusting item quantity to negative number
[info] - must fail when adjusting quantity for an item that isn't added
[info] - must fail when adding an item to a checked out cart
[info] - must fail when checking out twice
[info] - must fail when checking out an empty cart
2020-03-05 18:01:10,516 INFO  play.api.db.HikariCPConnectionPool - Creating Pool for datasource 'default'
2020-03-05 18:01:10,524 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2020-03-05 18:01:10,532 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2020-03-05 18:01:10,538 INFO  play.api.db.HikariCPConnectionPool - datasource [default] bound to JNDI as DefaultDS
2020-03-05 18:01:10,752 INFO  com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor - Executing cluster start task jdbcCreateTables.
2020-03-05 18:01:10,752 INFO  com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor - Executing cluster start task slickOffsetStorePrepare.
2020-03-05 18:01:30,774 ERROR akka.actor.OneForOneStrategy - Ask timed out on [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#364550972]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#364550972]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#364550972]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#364550972]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
	at akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:648)
	at akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:669)
	at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:476)
	at scala.concurrent.ExecutionContext$parasitic$.execute(ExecutionContext.scala:164)
	at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:355)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.executeBucket$1(LightArrayRevolverScheduler.scala:306)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.nextTick(LightArrayRevolverScheduler.scala:310)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.run(LightArrayRevolverScheduler.scala:262)
	at java.lang.Thread.run(Thread.java:748)
2020-03-05 18:01:30,775 ERROR akka.actor.OneForOneStrategy - Ask timed out on [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#-1914319501]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#-1914319501]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#-1914319501]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#-1914319501]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
	at akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:648)
	at akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:669)
	at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:476)
	at scala.concurrent.ExecutionContext$parasitic$.execute(ExecutionContext.scala:164)
	at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:355)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.executeBucket$1(LightArrayRevolverScheduler.scala:306)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.nextTick(LightArrayRevolverScheduler.scala:310)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.run(LightArrayRevolverScheduler.scala:262)
	at java.lang.Thread.run(Thread.java:748)
2020-03-05 18:01:31,449 ERROR com.lightbend.lagom.internal.persistence.testkit.AwaitPersistenceInit - Persistence failure when replaying events for persistenceId [persistenceInit1]. Last known sequence number [0]
akka.pattern.CircuitBreaker$$anon$13: Circuit Breaker Timed out.
2020-03-05 18:01:33,908 INFO  com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor - Executing cluster start task slickOffsetStorePrepare.
2020-03-05 18:01:34,017 INFO  com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor - Executing cluster start task jdbcCreateTables.
2020-03-05 18:01:46,507 ERROR com.lightbend.lagom.internal.persistence.testkit.AwaitPersistenceInit - Persistence failure when replaying events for persistenceId [persistenceInit2]. Last known sequence number [0]
akka.pattern.CircuitBreaker$$anon$13: Circuit Breaker Timed out.
2020-03-05 18:01:53,928 ERROR akka.actor.OneForOneStrategy - Ask timed out on [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#583937470]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#583937470]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#583937470]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/slickOffsetStorePrepare-singleton/singleton/slickOffsetStorePrepare#583937470]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
	at akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:648)
	at akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:669)
	at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:476)
	at scala.concurrent.ExecutionContext$parasitic$.execute(ExecutionContext.scala:164)
	at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:355)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.executeBucket$1(LightArrayRevolverScheduler.scala:306)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.nextTick(LightArrayRevolverScheduler.scala:310)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.run(LightArrayRevolverScheduler.scala:262)
	at java.lang.Thread.run(Thread.java:748)
2020-03-05 18:01:54,036 ERROR akka.actor.OneForOneStrategy - Ask timed out on [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#-1341215725]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#-1341215725]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#-1341215725]] after [20000 ms]. Message of type [com.lightbend.lagom.internal.persistence.cluster.ClusterStartupTaskActor$Execute$] was sent by [Actor[akka://application/user/jdbcCreateTables-singleton/singleton/jdbcCreateTables#-1341215725]]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.
	at akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:648)
	at akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:669)
	at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:476)
	at scala.concurrent.ExecutionContext$parasitic$.execute(ExecutionContext.scala:164)
	at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:355)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.executeBucket$1(LightArrayRevolverScheduler.scala:306)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.nextTick(LightArrayRevolverScheduler.scala:310)
	at akka.actor.LightArrayRevolverScheduler$$anon$3.run(LightArrayRevolverScheduler.scala:262)
	at java.lang.Thread.run(Thread.java:748)
[info] ShoppingCartReportSpec:
Reporter completed abruptly with an exception after receiving event: SuiteStarting(Ordinal(0, 1),ShoppingCartReportSpec,org.scalatest.DeferredAbortedSuite,Some(org.scalatest.DeferredAbortedSuite),Some(IndentedText(ShoppingCartReportSpec:,ShoppingCartReportSpec,0)),Some(TopOfClass(org.scalatest.DeferredAbortedSuite)),None,None,pool-1-thread-1,1583427716616).
java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
  | => sat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786)
	at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1286)
	at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
	at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1577)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:351)
	at org.scalatest.tools.SocketReporter.apply(SocketReporter.scala:31)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10(DispatchReporter.scala:249)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10$adapted(DispatchReporter.scala:248)
	at scala.collection.immutable.List.foreach(List.scala:305)
	at org.scalatest.DispatchReporter$Propagator.run(DispatchReporter.scala:248)
	at java.lang.Thread.run(Thread.java:748)
Reporter completed abruptly with an exception after receiving event: SuiteAborted(Ordinal(0, 2),assertion failed: timeout (15 seconds) during expectMsg while waiting for hello,ShoppingCartReportSpec,org.scalatest.DeferredAbortedSuite,Some(ShoppingCartReportSpec),Some(java.lang.AssertionError: assertion failed: timeout (15 seconds) during expectMsg while waiting for hello),Some(17),Some(IndentedText(com.example.shoppingcart.impl.ShoppingCartReportSpec,assertion failed: timeout (15 seconds) during expectMsg while waiting for hello,0)),Some(SeeStackDepthException),None,None,pool-1-thread-1,1583427716626).
java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
[info] com.example.shoppingcart.impl.ShoppingCartReportSpec *** ABORTED ***	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)

	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786)


	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
	at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1577)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:351)a:1286)
        at org.scalatest.tools.SocketReporter.apply(SocketReporter.scala:31)        | => shopping-cart / Test / executeTests 48s
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10(DispatchReporter.scala:249)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10$adapted(DispatchReporter.scala:248)
	at scala.collection.immutable.List.foreach(List.scala:305)
	at org.scalatest.DispatchReporter$Propagator.run(DispatchReporter.scala:248)
	at java.lang.Thread.run(Thread.java:748)
[info]   java.lang.AssertionError: assertion failed: timeout (15 seconds) during expectMsg while waiting for hello
[info]   at scala.Predef$.assert(Predef.scala:282)
[info]   at akka.testkit.TestKitBase.expectMsg_internal(TestKit.scala:418)
[info]   at akka.testkit.TestKitBase.expectMsg(TestKit.scala:404)
[info]   at akka.testkit.TestKitBase.expectMsg$(TestKit.scala:404)
[info]   at akka.testkit.TestKit.expectMsg(TestKit.scala:928)
[info]   at com.lightbend.lagom.internal.persistence.testkit.AwaitPersistenceInit$.$anonfun$awaitPersistenceInit$2(AwaitPersistenceInit.scala:28)
[info]   at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
[info]   at akka.testkit.TestKitBase.poll$2(TestKit.scala:327)
[info]   at akka.testkit.TestKitBase.awaitAssert(TestKit.scala:344)
[info]   at akka.testkit.TestKitBase.awaitAssert$(TestKit.scala:316)
[info]   ...
Reporter completed abruptly with an exception after receiving event: RunCompleted(Ordinal(0, 3),Some(47933),Some(Summary(0,0,0,0,0,0,1,0)),None,None,None,main,1583427716645).
java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
  | => sat java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
	at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786)
	at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1286)
	at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
	at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1577)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:351)
	at org.scalatest.tools.SocketReporter.apply(SocketReporter.scala:31)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10(DispatchReporter.scala:249)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$10$adapted(DispatchReporter.scala:248)
	at scala.collection.immutable.List.foreach(List.scala:305)
	at org.scalatest.DispatchReporter$Propagator.run(DispatchReporter.scala:248)
	at java.lang.Thread.run(Thread.java:748)
Reporter completed abruptly with an exception on invocation of the dispose method.
java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
	at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1822)
	at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:719)
	at org.scalatest.tools.SocketReporter.dispose(SocketReporter.scala:37)
	at org.scalatest.Reporter$.propagateDispose(Reporter.scala:152)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$11(DispatchReporter.scala:260)
	at org.scalatest.DispatchReporter$Propagator.$anonfun$run$11$adapted(DispatchReporter.scala:259)
	at scala.collection.immutable.List.foreach(List.scala:305)
	at org.scalatest.DispatchReporter$Propagator.run(DispatchReporter.scala:259)
	at java.lang.Thread.run(Thread.java:748)
^C
[warn] Canceling execution...
[error] Total time: 864 s (14:24), completed Mar 5, 2020 6:14:54 PM

Someone was more successful than me ?

Hi @domschoen would you please mention some more details such as Scala and JVM version and also the commands you use to execute the specs/test?