Closed ignasi35 closed 4 years ago
The Couchbase Persistence (Java) is failing consistently in Java 8:
Running com.lightbend.lagom.samples.hello.impl.HelloServiceTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.468 sec <<< FAILURE!
com.lightbend.lagom.samples.hello.impl.HelloServiceTest Time elapsed: 0.467 sec <<< ERROR!
Configuration error: Configuration error[reference.conf @ jar:file:/home/travis/.m2/repository/com/typesafe/akka/akka-cluster-sharding_2.12/2.6.4/akka-cluster-sharding_2.12-2.6.4.jar!/reference.conf: 150: Could not resolve substitution in reference.conf to a value: ${akka.cluster.singleton}. All reference.conf files are required to be fully, independently resolvable, and should not require the presence of values for substitutions from further up the hierarchy.]
at play.api.Configuration$.configError(Configuration.scala:155)
at play.api.Configuration$.load(Configuration.scala:98)
at play.api.Configuration$.load(Configuration.scala:107)
at play.api.Configuration$.load(Configuration.scala:113)
at play.api.inject.guice.GuiceApplicationBuilder$.$anonfun$$lessinit$greater$default$8$1(GuiceApplicationBuilder.scala:35)
at play.api.inject.guice.GuiceApplicationBuilder.applicationModule(GuiceApplicationBuilder.scala:109)
at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:200)
at play.inject.guice.GuiceBuilder.injector(GuiceBuilder.java:211)
at play.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.java:121)
at com.lightbend.lagom.javadsl.testkit.ServiceTest$.startServer(ServiceTest.scala:376)
at com.lightbend.lagom.javadsl.testkit.ServiceTest.startServer(ServiceTest.scala)
at com.lightbend.lagom.samples.hello.impl.HelloServiceTest.setUp(HelloServiceTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: com.typesafe.config.ConfigException$UnresolvedSubstitution: reference.conf @ jar:file:/home/travis/.m2/repository/com/typesafe/akka/akka-cluster-sharding_2.12/2.6.4/akka-cluster-sharding_2.12-2.6.4.jar!/reference.conf: 150: Could not resolve substitution in reference.conf to a value: ${akka.cluster.singleton}. All reference.conf files are required to be fully, independently resolvable, and should not require the presence of values for substitutions from further up the hierarchy.
at com.typesafe.config.ConfigException$UnresolvedSubstitution.addExtraDetail(ConfigException.java:304)
at com.typesafe.config.impl.ConfigImpl.defaultReferenceUnresolved(ConfigImpl.java:439)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:215)
The Couchbase Persistence (Java) is failing consistently in Java 8:
Meh, Travis dirty caches.
surprisingly it only affected the java implementation in Java8 (which runs after the Java 11). 🤷🏼♂️
Keep the CI simpler (only build and test)