at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,348 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:48,427 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-645) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndSpecificThingAndSubpathSseConnection(ThingsSseRouteBuilderTest.java:252)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,427 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-645) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndSpecificThingAndSubpathSseConnection(ThingsSseRouteBuilderTest.java:252)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,462 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:48,549 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-648) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndExtraFieldsParameterOpensSseConnection(ThingsSseRouteBuilderTest.java:308)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,549 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-648) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndExtraFieldsParameterOpensSseConnection(ThingsSseRouteBuilderTest.java:308)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,575 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:48,678 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:48,755 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-654) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndSpecificThingAndFilterOpensSseConnection(ThingsSseRouteBuilderTest.java:240)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,755 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-654) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndSpecificThingAndFilterOpensSseConnection(ThingsSseRouteBuilderTest.java:240)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:48,783 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:48,885 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:48,978 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:49,049 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-663) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndFilterParameterOpensSseConnection(ThingsSseRouteBuilderTest.java:226)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:49,049 ERROR [][] o.a.p.s.Materializer org.apache.pekko.stream.Log(pekko://ThingsSseRouteBuilderTest/system/Materializers/StreamSupervisor-663) - [SSE things] Upstream failed.
org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException: The service you wanted to reach is currently not available.
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:120)
at org.eclipse.ditto.gateway.api.GatewayServiceUnavailableException$Builder.doBuild(GatewayServiceUnavailableException.java:106)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest$1.<init>(ThingsSseRouteBuilderTest.java:350)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.executeThingsRouteTest(ThingsSseRouteBuilderTest.java:322)
at org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest.getWithAcceptHeaderAndFilterParameterOpensSseConnection(ThingsSseRouteBuilderTest.java:226)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[WARN] [04/08/2024 10:55:49.060] [ThingsSseRouteBuilderTest-pekko.actor.internal-dispatcher-5] [Cluster(pekko://ThingsSseRouteBuilderTest)] Could not unregister Cluster JMX MBean with name=pekko:type=Cluster as it was not found. If you are running multiple clusters in the same JVM, set 'pekko.cluster.jmx.multi-mbeans-in-same-jvm = on' in config
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.210 s -- in org.eclipse.ditto.gateway.service.endpoints.routes.sse.ThingsSseRouteBuilderTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest
2024-04-08 10:55:49,299 INFO [handleCompletionExceptionWithDittoRuntimeExceptionAsCause][] o.e.d.g.s.e.r.RootRouteExceptionHandler - <GatewayMethodNotAllowedException> occurred in gateway root route: <GatewayMethodNotAllowedException [message='The provided HTTP method 'GET' is not allowed on this resource.', errorCode=gateway:method.notallowed, httpStatus=HttpStatus [code=405, category=CLIENT_ERROR], description='Check if you used the correct resource and method combination.', href=null, dittoHeaders=ImmutableDittoHeaders [{correlation-id=handleCompletionExceptionWithDittoRuntimeExceptionAsCause}]]>!
[INFO] [04/08/2024 10:55:49.312] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:55:49.367] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:55:49,427 ERROR [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Unexpected exception in gateway root route: <null>!
java.lang.AssertionError: null
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.lambda$handleUnknownErrorAsInternalServerError$7(RootRouteExceptionHandlerTest.java:189)
at org.apache.pekko.http.javadsl.server.directives.PathDirectives.$anonfun$path$1(PathDirectives.scala:100)
at org.apache.pekko.http.scaladsl.server.Directive$.$anonfun$addByNameNullaryApply$2(Directive.scala:184)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$3(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapInnerRoute$1(BasicDirectives.scala:49)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$2(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$tprovide$1(BasicDirectives.scala:157)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$1(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.Directive.$anonfun$tflatMap$2(Directive.scala:102)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:80)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:83)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:56)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:53)
at org.apache.pekko.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:96)
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleUnknownErrorAsInternalServerError(RootRouteExceptionHandlerTest.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:49,427 ERROR [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Unexpected exception in gateway root route: <null>!
java.lang.AssertionError: null
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.lambda$handleUnknownErrorAsInternalServerError$7(RootRouteExceptionHandlerTest.java:189)
at org.apache.pekko.http.javadsl.server.directives.PathDirectives.$anonfun$path$1(PathDirectives.scala:100)
at org.apache.pekko.http.scaladsl.server.Directive$.$anonfun$addByNameNullaryApply$2(Directive.scala:184)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$3(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapInnerRoute$1(BasicDirectives.scala:49)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$2(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$tprovide$1(BasicDirectives.scala:157)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$1(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.Directive.$anonfun$tflatMap$2(Directive.scala:102)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:80)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:83)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:56)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:53)
at org.apache.pekko.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:96)
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleUnknownErrorAsInternalServerError(RootRouteExceptionHandlerTest.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[INFO] [04/08/2024 10:55:49.430] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:55:49,479 INFO [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Correlation ID was missing in headers of <DittoJsonException>!
2024-04-08 10:55:49,479 INFO [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - <DittoJsonException> occurred in gateway root route: <DittoJsonException [message='JSON did not include required <myField> field!', errorCode=json.field.missing, httpStatus=HttpStatus [code=400, category=CLIENT_ERROR], description='Check if all required JSON fields were set.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]>!
[INFO] [04/08/2024 10:55:49.481] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:55:49,533 ERROR [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Unexpected exception in gateway root route: <42>!
java.lang.NumberFormatException: 42
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.lambda$handleUnknownExceptionAsInternalServerError$6(RootRouteExceptionHandlerTest.java:177)
at org.apache.pekko.http.javadsl.server.directives.PathDirectives.$anonfun$path$1(PathDirectives.scala:100)
at org.apache.pekko.http.scaladsl.server.Directive$.$anonfun$addByNameNullaryApply$2(Directive.scala:184)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$3(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapInnerRoute$1(BasicDirectives.scala:49)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$2(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$tprovide$1(BasicDirectives.scala:157)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$1(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.Directive.$anonfun$tflatMap$2(Directive.scala:102)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:80)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:83)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:56)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:53)
at org.apache.pekko.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:96)
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleUnknownExceptionAsInternalServerError(RootRouteExceptionHandlerTest.java:180)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
2024-04-08 10:55:49,533 ERROR [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Unexpected exception in gateway root route: <42>!
java.lang.NumberFormatException: 42
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.lambda$handleUnknownExceptionAsInternalServerError$6(RootRouteExceptionHandlerTest.java:177)
at org.apache.pekko.http.javadsl.server.directives.PathDirectives.$anonfun$path$1(PathDirectives.scala:100)
at org.apache.pekko.http.scaladsl.server.Directive$.$anonfun$addByNameNullaryApply$2(Directive.scala:184)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$3(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapInnerRoute$1(BasicDirectives.scala:49)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$2(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$tprovide$1(BasicDirectives.scala:157)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.ConjunctionMagnet$$anon$2.$anonfun$apply$1(Directive.scala:255)
at org.apache.pekko.http.scaladsl.server.Directive$$anon$1.tapply(Directive.scala:165)
at org.apache.pekko.http.scaladsl.server.Directive.$anonfun$tflatMap$2(Directive.scala:102)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:80)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:83)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:56)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:53)
at org.apache.pekko.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:96)
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleUnknownExceptionAsInternalServerError(RootRouteExceptionHandlerTest.java:180)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[INFO] [04/08/2024 10:55:49.535] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:55:49.596] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:55:49,653 INFO [handleDittoRuntimeException][] o.e.d.g.s.e.r.RootRouteExceptionHandler - <GatewayMethodNotAllowedException> occurred in gateway root route: <GatewayMethodNotAllowedException [message='The provided HTTP method 'GET' is not allowed on this resource.', errorCode=gateway:method.notallowed, httpStatus=HttpStatus [code=405, category=CLIENT_ERROR], description='Check if you used the correct resource and method combination.', href=null, dittoHeaders=ImmutableDittoHeaders [{correlation-id=handleDittoRuntimeException}]]>!
[INFO] [04/08/2024 10:55:49.655] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:55:49,699 INFO [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Correlation ID was missing in headers of <DittoJsonException>!
2024-04-08 10:55:49,699 INFO [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - <DittoJsonException> occurred in gateway root route: <DittoJsonException [message='JSON did not include required <myField> field!', errorCode=json.field.missing, httpStatus=HttpStatus [code=400, category=CLIENT_ERROR], description='Check if all required JSON fields were set.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]>!
[INFO] [04/08/2024 10:55:49.701] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:55:49,760 ERROR [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Unexpected exception in gateway root route: <java.lang.NumberFormatException: 42>!
java.util.concurrent.CompletionException: java.lang.NumberFormatException: 42
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleCompletionExceptionWithUnhandledRuntimeExceptionAsCause(RootRouteExceptionHandlerTest.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NumberFormatException: 42
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleCompletionExceptionWithUnhandledRuntimeExceptionAsCause(RootRouteExceptionHandlerTest.java:124)
... 36 common frames omitted
2024-04-08 10:55:49,760 ERROR [][] o.e.d.g.s.e.r.RootRouteExceptionHandler - Unexpected exception in gateway root route: <java.lang.NumberFormatException: 42>!
java.util.concurrent.CompletionException: java.lang.NumberFormatException: 42
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleCompletionExceptionWithUnhandledRuntimeExceptionAsCause(RootRouteExceptionHandlerTest.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.NumberFormatException: 42
at org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest.handleCompletionExceptionWithUnhandledRuntimeExceptionAsCause(RootRouteExceptionHandlerTest.java:124)
... 36 common frames omitted
[INFO] [04/08/2024 10:55:49.762] [main] [CoordinatedShutdown(pekko://RootRouteExceptionHandlerTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 s -- in org.eclipse.ditto.gateway.service.endpoints.routes.RootRouteExceptionHandlerTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.routes.websocket.ProtocolMessageExtractorTest
[INFO] Tests run: 62, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.773 s -- in org.eclipse.ditto.gateway.service.endpoints.routes.websocket.ProtocolMessageExtractorTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.actors.UriForLocationHeaderSupplierTest
Apr 08, 2024 10:55:50 AM org.eclipse.ditto.base.model.entity.id.BaseEntityIdFactory getEntityId
WARNING: Could not find implementation for entity ID with type <bumlux>. This indicates an architectural flaw, because the ID implementation seems not to be on the classpath. Returning a <FallbackEntityId> instead.
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s -- in org.eclipse.ditto.gateway.service.endpoints.actors.UriForLocationHeaderSupplierTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.actors.HttpRequestActorTest
2024-04-08 10:55:50,605 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:55:52,756 WARN [HttpRequestActorTest.liveCommandWithoutAckRequestWithInvalidResponseTimesOut-a256dd1][] o.e.d.e.s.a.AcknowledgementAggregatorActor pekko://HttpRequestActorTest/user/$c/ackr0-HttpRequestActorTest.liveCommandWithoutAckRequestWithInvalidResponseTimesOut-a256dd1 - Received invalid response. Reason: Type of live response <things.responses:retrieveThing> is not related to type of command <things.commands:modifyAttribute>. Response: RetrieveThingResponse [dittoHeaders=ImmutableDittoHeaders [{ditto-auth-context={"type":"jwt","subjects":["google:any-google-user","integration:any-integration-subject"]}, correlation-id=HttpRequestActorTest.liveCommandWithoutAckRequestWithInvalidResponseTimesOut-a256dd1, channel=live, timeout=4000ms, requested-acks=["live-response"], ditto-ackgregator-address=pekko://HttpRequestActorTest@127.0.0.1:40637/user/$c/ackr0-HttpRequestActorTest.liveCommandWithoutAckRequestWithInvalidResponseTimesOut-a256dd1#129877238, ditto-connection-id=9b3e060e-2917-4c10-b6bf-a7189cea164b, response-required=false}], responseType=things.responses:retrieveThing, httpStatus=HttpStatus [code=200, category=SUCCESS], thingId=:f64cdb45-5997-4b8f-92ae-f93049eac51a, thing={}, thingPlainJson={}].
2024-04-08 10:55:56,877 WARN [HttpRequestActorTest.liveCommandWithInvalidResponseWithoutConnectionIdIsLoggedOnly-8e8e8c3][] o.e.d.e.s.a.AcknowledgementAggregatorActor pekko://HttpRequestActorTest/user/$h/ackr0-HttpRequestActorTest.liveCommandWithInvalidResponseWithoutConnectionIdIsLoggedOnly-8e8e8c3 - Received invalid response. Reason: Entity ID of live response <:d94feebd-5f43-43f5-a384-0bfa15673d66> differs from entity ID of command <:fedc20c8-d85f-4bc5-9606-4b0b0d4676ba>. Response: ModifyAttributeResponse [dittoHeaders=ImmutableDittoHeaders [{ditto-auth-context={"type":"jwt","subjects":["google:any-google-user","integration:any-integration-subject"]}, correlation-id=HttpRequestActorTest.liveCommandWithInvalidResponseWithoutConnectionIdIsLoggedOnly-8e8e8c3, channel=live, timeout=4000ms, requested-acks=["live-response"], ditto-ackgregator-address=pekko://HttpRequestActorTest@127.0.0.1:40637/user/$h/ackr0-HttpRequestActorTest.liveCommandWithInvalidResponseWithoutConnectionIdIsLoggedOnly-8e8e8c3#-2028776434, response-required=false}], responseType=things.responses:modifyAttribute, httpStatus=HttpStatus [code=204, category=SUCCESS], thingId=:d94feebd-5f43-43f5-a384-0bfa15673d66, attributePointer=/manufacturer, attributeValue=null].
2024-04-08 10:55:56,878 WARN [HttpRequestActorTest.liveCommandWithInvalidResponseWithoutConnectionIdIsLoggedOnly-8e8e8c3][] o.e.d.g.s.e.a.HttpRequestActor pekko://HttpRequestActorTest/user/$h - Discarding invalid response as connection ID of sender could not be determined.
2024-04-08 10:56:01,219 WARN [HttpRequestActorTest.liveCommandWithoutAckRequestWithEventualValidResponseSucceeds-a527716][] o.e.d.e.s.a.AcknowledgementAggregatorActor pekko://HttpRequestActorTest/user/$p/ackr0-HttpRequestActorTest.liveCommandWithoutAckRequestWithEventualValidResponseSucceeds-a527716 - Received invalid response. Reason: Type of live response <things.responses:retrieveThing> is not related to type of command <things.commands:modifyAttribute>. Response: RetrieveThingResponse [dittoHeaders=ImmutableDittoHeaders [{ditto-auth-context={"type":"jwt","subjects":["google:any-google-user","integration:any-integration-subject"]}, channel=live, correlation-id=HttpRequestActorTest.liveCommandWithoutAckRequestWithEventualValidResponseSucceeds-a527716, timeout=5000ms, requested-acks=["live-response"], ditto-ackgregator-address=pekko://HttpRequestActorTest@127.0.0.1:40637/user/$p/ackr0-HttpRequestActorTest.liveCommandWithoutAckRequestWithEventualValidResponseSucceeds-a527716#1802235710, ditto-connection-id=aaaa58c3-6d09-4aec-b44e-681d3ca3c5eb, response-required=false}], responseType=things.responses:retrieveThing, httpStatus=HttpStatus [code=200, category=SUCCESS], thingId=:afcc9139-be8e-418d-b25d-b870f2e5225a, thing={}, thingPlainJson={}].
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s -- in org.eclipse.ditto.gateway.service.endpoints.actors.HttpRequestActorTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.actors.JsonValueSourceToHttpResponseTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.785 s -- in org.eclipse.ditto.gateway.service.endpoints.actors.JsonValueSourceToHttpResponseTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.actors.HttpRequestActorHeaderInteractionTest
2024-04-08 10:56:02,157 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 s -- in org.eclipse.ditto.gateway.service.endpoints.actors.HttpRequestActorHeaderInteractionTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.directives.RequestTracingDirectiveTest
2024-04-08 10:56:02,558 WARN [][] k.c.HttpPropagation$Settings - W3C TraceContext propagation should be used only with identifier-scheme = double
2024-04-08 10:56:02,558 WARN [][] k.c.HttpPropagation$Settings - W3C TraceContext propagation should be used only with identifier-scheme = double
2024-04-08 10:56:02,565 WARN [][] kamon.Init - Your application is running without the Kanela instrumentation agent. None of Kamon's automatic instrumentation will be applied to the current JVM. Consider using the kamon-bundle dependency or setting up the Kanela agent via the -javaagent:/path/to/kanela.jar command-line option
2024-04-08 10:56:02,611 WARN [][] k.m.ModuleRegistry - Failed to create instance of module [Process Metrics]
java.lang.NoClassDefFoundError: oshi/SystemInfo
at kamon.instrumentation.system.process.ProcessMetricsCollector$MetricsCollectionTask.<init>(ProcessMetricsCollector.scala:65)
at kamon.instrumentation.system.process.ProcessMetricsCollector.<init>(ProcessMetricsCollector.scala:39)
at kamon.instrumentation.system.process.ProcessMetricsCollector$Factory.create(ProcessMetricsCollector.scala:171)
at kamon.module.ModuleRegistry.createModule(ModuleRegistry.scala:361)
at kamon.module.ModuleRegistry.$anonfun$load$3(ModuleRegistry.scala:124)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.Option.fold(Option.scala:263)
at kamon.module.ModuleRegistry.$anonfun$load$2(ModuleRegistry.scala:127)
at kamon.module.ModuleRegistry.$anonfun$load$2$adapted(ModuleRegistry.scala:120)
at scala.collection.immutable.List.foreach(List.scala:333)
at kamon.module.ModuleRegistry.load(ModuleRegistry.scala:120)
at kamon.ModuleManagement.loadModules(ModuleManagement.scala:99)
at kamon.ModuleManagement.loadModules$(ModuleManagement.scala:98)
at kamon.Kamon$.loadModules(Kamon.scala:19)
at kamon.Init.init(Init.scala:69)
at kamon.Init.init$(Init.scala:60)
at kamon.Kamon$.init(Kamon.scala:19)
at kamon.Kamon.init(Kamon.scala)
at org.eclipse.ditto.internal.utils.tracing.span.KamonTracingInitResource.before(KamonTracingInitResource.java:50)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.ClassNotFoundException: oshi.SystemInfo
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 31 common frames omitted
2024-04-08 10:56:02,616 INFO [][] k.o.OpenTelemetryTraceReporter - Creating OpenTelemetry Trace Reporter
2024-04-08 10:56:02,617 INFO [][] k.o.OpenTelemetryTraceReporter - Reconfigure OpenTelemetry Trace Reporter
2024-04-08 10:56:02,660 INFO [][] k.o.OtlpTraceService - Configured endpoint for OpenTelemetry trace reporting [http://localhost:4317] using grpc protocol
2024-04-08 10:56:03,155 INFO [][] k.p.PrometheusReporter - Started the embedded HTTP server on http://0.0.0.0:9095/metrics
2024-04-08 10:56:03,164 WARN [][] k.m.ModuleRegistry - Failed to create instance of module [Host Metrics]
java.lang.NoClassDefFoundError: oshi/SystemInfo
at kamon.instrumentation.system.host.HostMetricsCollector$FrequentCollectionTask.<init>(HostMetricsCollector.scala:82)
at kamon.instrumentation.system.host.HostMetricsCollector.<init>(HostMetricsCollector.scala:45)
at kamon.instrumentation.system.host.HostMetricsCollector$Factory.create(HostMetricsCollector.scala:243)
at kamon.module.ModuleRegistry.createModule(ModuleRegistry.scala:361)
at kamon.module.ModuleRegistry.$anonfun$load$3(ModuleRegistry.scala:124)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.Option.fold(Option.scala:263)
at kamon.module.ModuleRegistry.$anonfun$load$2(ModuleRegistry.scala:127)
at kamon.module.ModuleRegistry.$anonfun$load$2$adapted(ModuleRegistry.scala:120)
at scala.collection.immutable.List.foreach(List.scala:333)
at kamon.module.ModuleRegistry.load(ModuleRegistry.scala:120)
at kamon.ModuleManagement.loadModules(ModuleManagement.scala:99)
at kamon.ModuleManagement.loadModules$(ModuleManagement.scala:98)
at kamon.Kamon$.loadModules(Kamon.scala:19)
at kamon.Init.init(Init.scala:69)
at kamon.Init.init$(Init.scala:60)
at kamon.Kamon$.init(Kamon.scala:19)
at kamon.Kamon.init(Kamon.scala)
at org.eclipse.ditto.internal.utils.tracing.span.KamonTracingInitResource.before(KamonTracingInitResource.java:50)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.ClassNotFoundException: oshi.SystemInfo
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 31 common frames omitted
2024-04-08 10:56:03,174 INFO [][] kamon.Init -
_
| |
| | ____ _ _ __ ___ ___ _ __
| |/ / _ | _ ` _ \ / _ \| _ \
| < (_| | | | | | | (_) | | | |
|_|\_\__,_|_| |_| |_|\___/|_| |_|
=====================================
Initializing Kamon Telemetry v2.6.6 / Kanela not found
2024-04-08 10:56:03,183 INFO [][] o.e.d.i.u.t.DittoTracing - Ditto tracing initialized and enabled using propagation channel <default>.
[INFO] [04/08/2024 10:56:03.269] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:03.276] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest_traceRequestWithNullInnerRouteSupplierThrowsNullPointerException)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:03.391] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:03.395] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest_assertImmutability)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[ERROR] [04/08/2024 10:56:04.062] [main] [org.apache.pekko.actor.ActorSystemImpl(RequestTracingDirectiveTest)] Error during processing of request: 'Cannot invoke "scala.Function1.apply(Object)" because the return value of "scala.Function1.apply(Object)" is null'. Completing with 500 Internal Server Error response. To change default exception handling behavior, provide a custom ExceptionHandler.
java.lang.NullPointerException: Cannot invoke "scala.Function1.apply(Object)" because the return value of "scala.Function1.apply(Object)" is null
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResult$2(BasicDirectives.scala:80)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRequestContext$2(BasicDirectives.scala:55)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$mapRouteResultWith$2(BasicDirectives.scala:86)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.scaladsl.server.directives.BasicDirectives.$anonfun$textract$2(BasicDirectives.scala:173)
at org.apache.pekko.http.scaladsl.server.directives.ExecutionDirectives.$anonfun$handleExceptions$2(ExecutionDirectives.scala:42)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runScalaRoute(RouteTest.scala:83)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:56)
at org.apache.pekko.http.javadsl.testkit.RouteTest.runRoute(RouteTest.scala:53)
at org.apache.pekko.http.javadsl.testkit.RouteTest$$anon$1.run(RouteTest.scala:96)
at org.eclipse.ditto.gateway.service.endpoints.directives.RequestTracingDirectiveTest.traceRequestCallsDittoTracingIfTracingIsEnabledForResolvedSpanOperationName(RequestTracingDirectiveTest.java:131)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[INFO] [04/08/2024 10:56:04.064] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:04.075] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest_traceRequestCallsDittoTracingIfTracingIsEnabledForResolvedSpanOperationName)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:04.221] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:04.225] [main] [CoordinatedShutdown(pekko://RequestTracingDirectiveTest_traceRequestWithExistingW3cTracingHeadersKeepThisHeaders)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.705 s -- in org.eclipse.ditto.gateway.service.endpoints.directives.RequestTracingDirectiveTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.directives.RequestLoggingFilterTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s -- in org.eclipse.ditto.gateway.service.endpoints.directives.RequestLoggingFilterTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.directives.ContentTypeValidationDirectiveTest
2024-04-08 10:56:04,651 INFO [][] o.e.d.g.s.e.d.ContentTypeValidationDirective - Request rejected: unsupported media-type: <none/none> request: < PUT someUrl>
2024-04-08 10:56:04,656 INFO [][] k.o.OpenTelemetryTraceReporter - Stopping OpenTelemetry Trace Reporter
[INFO] [04/08/2024 10:56:04.753] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
Apr 08, 2024 10:56:04 AM io.opentelemetry.sdk.internal.ThrottlingLogger doLog
SEVERE: Failed to export spans. The request could not be executed. Full error message: Canceled
java.util.concurrent.RejectedExecutionException: Task Future(<not completed>) rejected from java.util.concurrent.ThreadPoolExecutor@13c4f3b4[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 13]
at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065)
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
at java.base/java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:721)
at scala.concurrent.impl.ExecutionContextImpl.execute(ExecutionContextImpl.scala:21)
at scala.concurrent.impl.Promise$Transformation.submitWithValue(Promise.scala:429)
at scala.concurrent.impl.Promise$DefaultPromise.submitWithValue(Promise.scala:338)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete0(Promise.scala:285)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:278)
at scala.concurrent.Promise.complete(Promise.scala:57)
at scala.concurrent.Promise.complete$(Promise.scala:56)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:104)
at scala.concurrent.Promise.failure(Promise.scala:109)
at scala.concurrent.Promise.failure$(Promise.scala:109)
at scala.concurrent.impl.Promise$DefaultPromise.failure(Promise.scala:104)
at kamon.otel.OtlpTraceService$$anon$1.run(TraceService.scala:111)
at io.opentelemetry.sdk.common.CompletableResultCode.fail(CompletableResultCode.java:98)
at io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter$1.onFailure(OkHttpGrpcExporter.java:112)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:525)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
[INFO] [04/08/2024 10:56:05.054] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:56:05,200 INFO [][] o.e.d.g.s.e.d.ContentTypeValidationDirective - Request rejected: unsupported media-type: <application/x-www-form-urlencoded> request: < PUT someUrl>
[INFO] [04/08/2024 10:56:05.206] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:05.313] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:05.418] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:05.520] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:56:05,627 INFO [][] o.e.d.g.s.e.d.ContentTypeValidationDirective - Request rejected: unsupported media-type: <none/none> request: < PUT someUrl>
[INFO] [04/08/2024 10:56:05.629] [main] [CoordinatedShutdown(pekko://ContentTypeValidationDirectiveTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.366 s -- in org.eclipse.ditto.gateway.service.endpoints.directives.ContentTypeValidationDirectiveTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.utils.UriEncodingTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s -- in org.eclipse.ditto.gateway.service.endpoints.utils.UriEncodingTest
[INFO] Running org.eclipse.ditto.gateway.service.endpoints.utils.HttpUtilsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.eclipse.ditto.gateway.service.endpoints.utils.HttpUtilsTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.security.DefaultDevOpsConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.229 s -- in org.eclipse.ditto.gateway.service.util.config.security.DefaultDevOpsConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.security.DefaultAuthenticationConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 s -- in org.eclipse.ditto.gateway.service.util.config.security.DefaultAuthenticationConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.security.DefaultOAuthConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.273 s -- in org.eclipse.ditto.gateway.service.util.config.security.DefaultOAuthConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.health.DefaultClusterRolesConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.025 s -- in org.eclipse.ditto.gateway.service.util.config.health.DefaultClusterRolesConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.health.DefaultHealthCheckConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 s -- in org.eclipse.ditto.gateway.service.util.config.health.DefaultHealthCheckConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultMessageConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s -- in org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultMessageConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.endpoints.GatewayHttpConfigTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.974 s -- in org.eclipse.ditto.gateway.service.util.config.endpoints.GatewayHttpConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultPublicHealthConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s -- in org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultPublicHealthConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultCommandConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s -- in org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultCommandConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultClaimMessageConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s -- in org.eclipse.ditto.gateway.service.util.config.endpoints.DefaultClaimMessageConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.streaming.DefaultStreamingConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 s -- in org.eclipse.ditto.gateway.service.util.config.streaming.DefaultStreamingConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.config.streaming.DefaultWebsocketConfigTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.554 s -- in org.eclipse.ditto.gateway.service.util.config.streaming.DefaultWebsocketConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.util.GatewayMappingStrategiesTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.725 s -- in org.eclipse.ditto.gateway.service.util.GatewayMappingStrategiesTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.WebSocketJwtExtractorTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.737 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.WebSocketJwtExtractorTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest
[INFO] [04/08/2024 10:56:13.755] [main] [CoordinatedShutdown(pekko://DittoPublicKeyProviderTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:56:13,856 INFO [][] o.e.d.g.s.s.a.j.DittoPublicKeyProvider - Got non success response from public key provider with status code: <503 Service Unavailable> and body: <{"message":"Something went wrong."}>.
Apr 08, 2024 10:56:13 AM com.github.benmanes.caffeine.cache.LocalAsyncCache lambda$handleCompletion$7
WARNING: Exception thrown during asynchronous load
java.util.concurrent.CompletionException: GatewayAuthenticationProviderUnavailableException [message='Got unexpected response from public key provider.', errorCode=gateway:authentication.provider.unavailable, httpStatus=HttpStatus [code=503, category=SERVER_ERROR], description='If after retry it is still unavailable, please contact the service team.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:994)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:1008)
at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2364)
at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:144)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getPublicKeysFromDiscoveryEndpoint(DittoPublicKeyProvider.java:238)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.loadPublicKeyWithParser(DittoPublicKeyProvider.java:195)
at org.eclipse.ditto.internal.utils.cache.CaffeineCache.lambda$getLoaderFunction$1(CaffeineCache.java:70)
at com.github.benmanes.caffeine.cache.LocalAsyncCache.lambda$get$2(LocalAsyncCache.java:94)
at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$2(LocalCache.java:167)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2688)
at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2686)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2669)
at com.github.benmanes.caffeine.cache.LocalAsyncCache.get(LocalAsyncCache.java:92)
at com.github.benmanes.caffeine.cache.LocalAsyncCache.get(LocalAsyncCache.java:83)
at org.eclipse.ditto.internal.utils.cache.CaffeineCache.get(CaffeineCache.java:168)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getPublicKeyWithParser(DittoPublicKeyProvider.java:165)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.lambda$verifyThatKeyIsNotCachedOnErrorResponseFromDiscoveryEndpoint$1(DittoPublicKeyProviderTest.java:174)
at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63)
at org.assertj.core.api.ThrowableTypeAssert.isThrownBy(ThrowableTypeAssert.java:59)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedOnErrorResponseFromDiscoveryEndpoint(DittoPublicKeyProviderTest.java:174)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: GatewayAuthenticationProviderUnavailableException [message='Got unexpected response from public key provider.', errorCode=gateway:authentication.provider.unavailable, httpStatus=HttpStatus [code=503, category=SERVER_ERROR], description='If after retry it is still unavailable, please contact the service team.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]
at org.eclipse.ditto.gateway.api.GatewayAuthenticationProviderUnavailableException$Builder.doBuild(GatewayAuthenticationProviderUnavailableException.java:126)
at org.eclipse.ditto.gateway.api.GatewayAuthenticationProviderUnavailableException$Builder.doBuild(GatewayAuthenticationProviderUnavailableException.java:111)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.handleNonSuccessResponse(DittoPublicKeyProvider.java:264)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapResponseToJsonObject(DittoPublicKeyProvider.java:246)
at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2309)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:144)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getPublicKeysFromDiscoveryEndpoint(DittoPublicKeyProvider.java:235)
... 51 more
2024-04-08 10:56:13,862 INFO [][] o.e.d.g.s.s.a.j.DittoPublicKeyProvider - Got non success response from public key provider with status code: <503 Service Unavailable> and body: <{"message":"Something went wrong."}>.
Apr 08, 2024 10:56:13 AM com.github.benmanes.caffeine.cache.LocalAsyncCache lambda$handleCompletion$7
WARNING: Exception thrown during asynchronous load
java.util.concurrent.CompletionException: GatewayAuthenticationProviderUnavailableException [message='Got unexpected response from public key provider.', errorCode=gateway:authentication.provider.unavailable, httpStatus=HttpStatus [code=503, category=SERVER_ERROR], description='If after retry it is still unavailable, please contact the service team.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:994)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:1008)
at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2364)
at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:144)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getPublicKeysFromDiscoveryEndpoint(DittoPublicKeyProvider.java:238)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.loadPublicKeyWithParser(DittoPublicKeyProvider.java:195)
at org.eclipse.ditto.internal.utils.cache.CaffeineCache.lambda$getLoaderFunction$1(CaffeineCache.java:70)
at com.github.benmanes.caffeine.cache.LocalAsyncCache.lambda$get$2(LocalAsyncCache.java:94)
at com.github.benmanes.caffeine.cache.LocalCache.lambda$statsAware$2(LocalCache.java:167)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2688)
at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2686)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2669)
at com.github.benmanes.caffeine.cache.LocalAsyncCache.get(LocalAsyncCache.java:92)
at com.github.benmanes.caffeine.cache.LocalAsyncCache.get(LocalAsyncCache.java:83)
at org.eclipse.ditto.internal.utils.cache.CaffeineCache.get(CaffeineCache.java:168)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getPublicKeyWithParser(DittoPublicKeyProvider.java:165)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.lambda$verifyThatKeyIsNotCachedOnErrorResponseFromDiscoveryEndpoint$2(DittoPublicKeyProviderTest.java:183)
at org.assertj.core.api.ThrowableAssert.catchThrowable(ThrowableAssert.java:63)
at org.assertj.core.api.ThrowableTypeAssert.isThrownBy(ThrowableTypeAssert.java:59)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedOnErrorResponseFromDiscoveryEndpoint(DittoPublicKeyProviderTest.java:183)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: GatewayAuthenticationProviderUnavailableException [message='Got unexpected response from public key provider.', errorCode=gateway:authentication.provider.unavailable, httpStatus=HttpStatus [code=503, category=SERVER_ERROR], description='If after retry it is still unavailable, please contact the service team.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]
at org.eclipse.ditto.gateway.api.GatewayAuthenticationProviderUnavailableException$Builder.doBuild(GatewayAuthenticationProviderUnavailableException.java:126)
at org.eclipse.ditto.gateway.api.GatewayAuthenticationProviderUnavailableException$Builder.doBuild(GatewayAuthenticationProviderUnavailableException.java:111)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.handleNonSuccessResponse(DittoPublicKeyProvider.java:264)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapResponseToJsonObject(DittoPublicKeyProvider.java:246)
at java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1187)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2309)
at java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:144)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getPublicKeysFromDiscoveryEndpoint(DittoPublicKeyProvider.java:235)
... 51 more
[INFO] [04/08/2024 10:56:13.865] [main] [CoordinatedShutdown(pekko://DittoPublicKeyProviderTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:13.988] [main] [CoordinatedShutdown(pekko://DittoPublicKeyProviderTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
2024-04-08 10:56:14,079 WARN [][] o.e.d.g.s.s.a.j.DittoPublicKeyProvider - Got invalid JSON Web Key from JwkResource provider at discovery endpoint <https://google.com/.well-known/openid-configuration>
org.eclipse.ditto.json.JsonMissingFieldException: JSON did not include required </crv> field!
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.lambda$generateECPublicKey$11(DittoPublicKeyProvider.java:339)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.generateECPublicKey(DittoPublicKeyProvider.java:339)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapMatchingPublicKey(DittoPublicKeyProvider.java:318)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapToPublicKey(DittoPublicKeyProvider.java:294)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.lambda$loadPublicKeyWithParser$1(DittoPublicKeyProvider.java:198)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:653)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at java.base/java.lang.Thread.run(Thread.java:833)
Apr 08, 2024 10:56:14 AM com.github.benmanes.caffeine.cache.LocalAsyncCache lambda$handleCompletion$7
WARNING: Exception thrown during asynchronous load
java.util.concurrent.CompletionException: JwkInvalidException [message='Got invalid JSON Web Key from JwkResource provider at discovery endpoint <https://google.com/.well-known/openid-configuration>', errorCode=jwk:invalid, httpStatus=HttpStatus [code=400, category=CLIENT_ERROR], description='JSON did not include required </crv> field!', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:653)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: JwkInvalidException [message='Got invalid JSON Web Key from JwkResource provider at discovery endpoint <https://google.com/.well-known/openid-configuration>', errorCode=jwk:invalid, httpStatus=HttpStatus [code=400, category=CLIENT_ERROR], description='JSON did not include required </crv> field!', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]
at org.eclipse.ditto.gateway.service.security.authentication.jwt.JwkInvalidException$Builder.doBuild(JwkInvalidException.java:100)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.JwkInvalidException$Builder.doBuild(JwkInvalidException.java:87)
at org.eclipse.ditto.base.model.exceptions.DittoRuntimeExceptionBuilder.build(DittoRuntimeExceptionBuilder.java:176)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.getJwkInvalidExceptionException(DittoPublicKeyProvider.java:382)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapToPublicKey(DittoPublicKeyProvider.java:302)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.lambda$loadPublicKeyWithParser$1(DittoPublicKeyProvider.java:198)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
... 5 more
Caused by: org.eclipse.ditto.json.JsonMissingFieldException: JSON did not include required </crv> field!
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.lambda$generateECPublicKey$11(DittoPublicKeyProvider.java:339)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.generateECPublicKey(DittoPublicKeyProvider.java:339)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapMatchingPublicKey(DittoPublicKeyProvider.java:318)
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProvider.mapToPublicKey(DittoPublicKeyProvider.java:294)
... 7 more
[INFO] [04/08/2024 10:56:14.083] [main] [CoordinatedShutdown(pekko://DittoPublicKeyProviderTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:14.167] [main] [CoordinatedShutdown(pekko://DittoPublicKeyProviderTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[INFO] [04/08/2024 10:56:14.255] [main] [CoordinatedShutdown(pekko://DittoPublicKeyProviderTest)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.801 s <<< FAILURE! -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest
[ERROR] org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedIfResponseDoesNotContainKeyId -- Time elapsed: 0.311 s <<< FAILURE!
Wanted but not invoked:
httpClientMock.createSingleHttpRequest(
HttpRequest(HttpMethod(GET),https://google.com/.well-known/openid-configuration,List(),HttpEntity.Strict(none/none,0 bytes total),HttpProtocol(HTTP/1.1))
);
-> at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedIfResponseDoesNotContainKeyId(DittoPublicKeyProviderTest.java:206)
Actually, there were zero interactions with this mock.
at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedIfResponseDoesNotContainKeyId(DittoPublicKeyProviderTest.java:206)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.WebSocketJwtAuthenticationProviderTest
2024-04-08 10:56:14,460 INFO [doExtractAuthenticationWithInvalidJwtFromAccessTokenParameter][] o.e.d.g.s.s.a.j.JwtAuthenticationProvider - Completed JWT authentication successfully.
2024-04-08 10:56:14,970 INFO [doExtractAuthenticationWithInvalidJwtFromHeader][] o.e.d.g.s.s.a.j.JwtAuthenticationProvider - Completed JWT authentication successfully.
2024-04-08 10:56:14,977 INFO [doExtractAuthenticationFromAccessTokenParameter][] o.e.d.g.s.s.a.j.JwtAuthenticationProvider - Completed JWT authentication successfully.
2024-04-08 10:56:14,986 INFO [doExtractAuthenticationFromRequestHeaders][] o.e.d.g.s.s.a.j.JwtAuthenticationProvider - Completed JWT authentication successfully.
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.724 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.WebSocketJwtAuthenticationProviderTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.PublicKeyProviderUnavailableExceptionTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.PublicKeyProviderUnavailableExceptionTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtValidatorTest
2024-04-08 10:56:15,140 INFO [][] o.e.d.g.s.s.a.j.DefaultJwtValidator - Failed to parse/validate JWT due to <ExpiredJwtException> with message: <JWT expired at 2024-04-08T10:56:03Z. Current time: 2024-04-08T10:56:15Z, a difference of 2138 milliseconds. Allowed clock skew: 10000 milliseconds.>
2024-04-08 10:56:15,143 INFO [][] o.e.d.g.s.s.a.j.DefaultJwtValidator - Failed to parse/validate JWT due to <UnsupportedJwtException> with message: <Unsigned Claims JWTs are not supported.>
2024-04-08 10:56:15,148 INFO [][] o.e.d.g.s.s.a.j.DefaultJwtValidator - Failed to parse/validate JWT due to <PrematureJwtException> with message: <JWT must not be accepted before 2024-04-08T10:56:43Z. Current time: 2024-04-08T10:56:15Z, a difference of 17852 milliseconds. Allowed clock skew: 10000 milliseconds.>
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.151 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtValidatorTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtAuthenticationProviderTest
2024-04-08 10:56:15,168 INFO [doExtractAuthenticationWithInvalidJwtFromHeader][] o.e.d.g.s.s.a.j.JwtAuthenticationProvider - Completed JWT authentication successfully.
2024-04-08 10:56:15,179 INFO [doExtractAuthenticationFromRequestHeaders][] o.e.d.g.s.s.a.j.JwtAuthenticationProvider - Completed JWT authentication successfully.
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtAuthenticationProviderTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtSubjectIssuerConfigTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtSubjectIssuerConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.DefaultJwtExtractorTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.DefaultJwtExtractorTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.DefaultJwtAuthenticationResultProviderTest
2024-04-08 10:56:15,269 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.DefaultJwtAuthenticationResultProviderTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtSubjectIssuersConfigTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.JwtSubjectIssuersConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoJwtAuthorizationSubjectsProviderTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.838 s -- in org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoJwtAuthorizationSubjectsProviderTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.DefaultAuthenticationFailureAggregatorTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in org.eclipse.ditto.gateway.service.security.authentication.DefaultAuthenticationFailureAggregatorTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.AuthenticationChainTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.428 s -- in org.eclipse.ditto.gateway.service.security.authentication.AuthenticationChainTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.preauth.PreAuthenticatedAuthenticationProviderTest
2024-04-08 10:56:16,702 INFO [doExtractAuthenticationByQueryParamAndHeader][] o.e.d.g.s.s.a.p.PreAuthenticatedAuthenticationProvider - Pre-authentication has been applied resulting in AuthorizationContext <ImmutableAuthorizationContext [type=pre-authenticated-http, authorizationSubjects=[myDummy]]>.
2024-04-08 10:56:16,704 INFO [doExtractAuthenticationByQueryParam][] o.e.d.g.s.s.a.p.PreAuthenticatedAuthenticationProvider - Pre-authentication has been applied resulting in AuthorizationContext <ImmutableAuthorizationContext [type=pre-authenticated-http, authorizationSubjects=[myDummy]]>.
2024-04-08 10:56:16,715 INFO [doExtractAuthenticationByHeader][] o.e.d.g.s.s.a.p.PreAuthenticatedAuthenticationProvider - Pre-authentication has been applied resulting in AuthorizationContext <ImmutableAuthorizationContext [type=pre-authenticated-http, authorizationSubjects=[myDummy]]>.
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s -- in org.eclipse.ditto.gateway.service.security.authentication.preauth.PreAuthenticatedAuthenticationProviderTest
[INFO] Running org.eclipse.ditto.gateway.service.security.authentication.DefaultAuthenticationResultTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s -- in org.eclipse.ditto.gateway.service.security.authentication.DefaultAuthenticationResultTest
[INFO] Running org.eclipse.ditto.gateway.service.security.cache.PublicKeyIdWithIssuerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in org.eclipse.ditto.gateway.service.security.cache.PublicKeyIdWithIssuerTest
[INFO] Running org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalEventRegistryTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalEventRegistryTest
[INFO] Running org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalCommandRegistryTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalCommandRegistryTest
[INFO] Running org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalCommandResponseRegistryTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s -- in org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalCommandResponseRegistryTest
[INFO] Running org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalErrorRegistryTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 s -- in org.eclipse.ditto.gateway.service.starter.GatewayServiceGlobalErrorRegistryTest
[INFO] Running org.eclipse.ditto.gateway.service.starter.GatewayRootActorTest
2024-04-08 10:56:16,967 INFO [][] o.e.d.i.u.c.r.ServiceSpecificEnvironmentConfigSupplier - Running in <DEVELOPMENT> environment.
2024-04-08 10:56:16,996 WARN [][] o.e.d.i.u.c.r.SecretFromPathReader - Failed to read secret at path </run/secrets/devops_password>!
2024-04-08 10:56:16,998 WARN [][] o.e.d.i.u.c.r.SecretFromPathReader - Failed to read secret at path </run/secrets/status_password>!
2024-04-08 10:56:17,100 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:17,118 INFO [][] o.a.p.r.a.ArteryTransport ArteryTransport(pekko://GatewayRootActorTest) - Remoting started with transport [Artery tcp]; listening on address [pekko://GatewayRootActorTest@127.0.0.1:40529] with UID [-2065253822616539159]
2024-04-08 10:56:17,120 INFO [][] o.a.p.c.Cluster Cluster(pekko://GatewayRootActorTest) - Cluster Node [pekko://GatewayRootActorTest@127.0.0.1:40529] - Starting up, Pekko version [1.0.1] ...
2024-04-08 10:56:17,124 WARN [][] o.a.p.c.Cluster Cluster(pekko://GatewayRootActorTest) - Could not register Cluster JMX MBean with name=pekko:type=Cluster as it is already registered. If you are running multiple clusters in the same JVM, set 'pekko.cluster.jmx.multi-mbeans-in-same-jvm = on' in config
2024-04-08 10:56:17,124 INFO [][] o.a.p.c.Cluster Cluster(pekko://GatewayRootActorTest) - Cluster Node [pekko://GatewayRootActorTest@127.0.0.1:40529] - Started up successfully
2024-04-08 10:56:17,178 INFO [][] o.a.p.c.Cluster Cluster(pekko://GatewayRootActorTest) - Cluster Node [pekko://GatewayRootActorTest@127.0.0.1:40529] - No seed nodes found in configuration, relying on Cluster Bootstrap for joining
2024-04-08 10:56:17,178 INFO [][] o.e.d.b.s.c.DittoSplitBrainResolver - SBR will be automatically enabled after <PT1H>
2024-04-08 10:56:17,457 INFO [][] o.e.d.b.s.s.SignalTransformers - Instantiated the following signal transformers: org.eclipse.ditto.edge.service.dispatching.signaltransformer.DefaultNamespaceAppender,org.eclipse.ditto.edge.service.dispatching.signaltransformer.OriginatorSetterSignalTransformer.
2024-04-08 10:56:17,802 INFO [][] o.e.d.g.s.e.d.a.DittoGatewayAuthenticationDirectiveFactory - Pre-authentication is enabled!
2024-04-08 10:56:17,802 INFO [][] o.e.d.g.s.e.d.a.DittoGatewayAuthenticationDirectiveFactory - Pre-authentication is enabled!
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.229 s -- in org.eclipse.ditto.gateway.service.starter.GatewayRootActorTest
[INFO] Running org.eclipse.ditto.gateway.service.streaming.actors.StreamingSessionActorTest
2024-04-08 10:56:19,208 INFO [][] o.e.d.i.u.t.DittoTracing - Ditto tracing is disabled. No traces are generated and span context is not propagated.
2024-04-08 10:56:19,281 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:19,677 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:19,827 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,003 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,181 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,292 WARN [hugeJwtExpirationTimeDoesNotCloseStream][] o.e.d.g.s.s.a.StreamingSessionActor pekko://StreamingSessionActorTest_hugeJwtExpirationTimeDoesNotCloseStream/user/$a - Session lifetime <PT23975H59M59.707897606S> is more than the maximum <PT2400H>. Keeping session open indefinitely.
2024-04-08 10:56:20,419 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,563 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,676 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,807 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:20,967 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:21,075 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:21,205 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:21,442 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
2024-04-08 10:56:21,559 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.450 s -- in org.eclipse.ditto.gateway.service.streaming.actors.StreamingSessionActorTest
[INFO] Running org.eclipse.ditto.gateway.service.streaming.actors.StreamingSessionActorHeaderInteractionTest
2024-04-08 10:56:21,656 INFO [][] o.e.d.i.u.t.DittoTracing - Ditto tracing is disabled. No traces are generated and span context is not propagated.
2024-04-08 10:56:21,681 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.692 s -- in org.eclipse.ditto.gateway.service.streaming.actors.StreamingSessionActorHeaderInteractionTest
[INFO] Running org.eclipse.ditto.gateway.service.streaming.StopStreamingTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.030 s -- in org.eclipse.ditto.gateway.service.streaming.StopStreamingTest
[INFO] Running org.eclipse.ditto.gateway.service.proxy.actors.QueryThingsPerRequestActorTest
2024-04-08 10:56:23,408 INFO [][] o.a.p.e.s.Slf4jLogger - Slf4jLogger started
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.495 s -- in org.eclipse.ditto.gateway.service.proxy.actors.QueryThingsPerRequestActorTest
[INFO] Running org.eclipse.ditto.gateway.service.proxy.config.DefaultStatisticsShardConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s -- in org.eclipse.ditto.gateway.service.proxy.config.DefaultStatisticsShardConfigTest
[INFO] Running org.eclipse.ditto.gateway.service.proxy.config.DefaultStatisticsConfigTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s -- in org.eclipse.ditto.gateway.service.proxy.config.DefaultStatisticsConfigTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedIfResponseDoesNotContainKeyId:206
Wanted but not invoked:
httpClientMock.createSingleHttpRequest(
HttpRequest(HttpMethod(GET),https://google.com/.well-known/openid-configuration,List(),HttpEntity.Strict(none/none,0 bytes total),HttpProtocol(HTTP/1.1))
);
-> at org.eclipse.ditto.gateway.service.security.authentication.jwt.DittoPublicKeyProviderTest.verifyThatKeyIsNotCachedIfResponseDoesNotContainKeyId(DittoPublicKeyProviderTest.java:206)
Actually, there were zero interactions with this mock.
[INFO]
[ERROR] Tests run: 630, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Eclipse Ditto 3.5.4:
[INFO]
[INFO] Eclipse Ditto ...................................... SUCCESS [ 21.986 s]
[INFO] Eclipse Ditto :: Legal ............................. SUCCESS [ 3.052 s]
[INFO] Eclipse Ditto :: BOM ............................... SUCCESS [ 0.524 s]
[INFO] Eclipse Ditto :: Utils ............................. SUCCESS [ 0.538 s]
[INFO] Eclipse Ditto :: Utils :: JSR-305 Extensions ....... SUCCESS [ 14.675 s]
[INFO] Eclipse Ditto :: JSON .............................. SUCCESS [ 37.032 s]
[INFO] Eclipse Ditto :: Base .............................. SUCCESS [ 0.623 s]
[INFO] Eclipse Ditto :: Base :: Model ..................... SUCCESS [ 47.921 s]
[INFO] Eclipse Ditto :: Base :: API ....................... SUCCESS [ 18.204 s]
[INFO] Eclipse Ditto :: Internal .......................... SUCCESS [ 0.456 s]
[INFO] Eclipse Ditto :: Internal :: Utils ................. SUCCESS [ 0.418 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Config ....... SUCCESS [ 20.178 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Metrics ...... SUCCESS [ 28.873 s]
[INFO] Eclipse Ditto :: Utils :: Result ................... SUCCESS [ 12.215 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Tracing ...... SUCCESS [ 28.392 s]
[INFO] Eclipse Ditto :: Internal :: Models ................ SUCCESS [ 0.478 s]
[INFO] Eclipse Ditto :: Internal :: Models :: Streaming ... SUCCESS [ 11.989 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Pekko ........ SUCCESS [01:05 min]
[INFO] Eclipse Ditto :: Internal :: Utils :: Health ....... SUCCESS [ 22.910 s]
[INFO] Eclipse Ditto :: JSON CBOR ......................... SUCCESS [ 12.691 s]
[INFO] Eclipse Ditto :: Policies .......................... SUCCESS [ 0.436 s]
[INFO] Eclipse Ditto :: Policies :: Model ................. SUCCESS [ 57.000 s]
[INFO] Eclipse Ditto :: Things ............................ SUCCESS [ 0.414 s]
[INFO] Eclipse Ditto :: Things :: Model ................... SUCCESS [ 54.409 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Cluster ...... SUCCESS [ 37.723 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Extension .... SUCCESS [ 6.448 s]
[INFO] Eclipse Ditto :: Placeholders ...................... SUCCESS [ 16.208 s]
[INFO] Eclipse Ditto :: Base :: Service ................... SUCCESS [ 34.616 s]
[INFO] Eclipse Ditto :: Connectivity ...................... SUCCESS [ 0.390 s]
[INFO] Eclipse Ditto :: Connectivity :: Model ............. SUCCESS [ 32.969 s]
[INFO] Eclipse Ditto :: Thing Search ...................... SUCCESS [ 0.417 s]
[INFO] Eclipse Ditto :: Thing Search :: Model ............. SUCCESS [ 18.669 s]
[INFO] Eclipse Ditto :: Messages .......................... SUCCESS [ 0.383 s]
[INFO] Eclipse Ditto :: Messages :: Model ................. SUCCESS [ 18.750 s]
[INFO] Eclipse Ditto :: Protocol .......................... SUCCESS [ 34.873 s]
[INFO] Eclipse Ditto :: Internal :: Models :: Signal ...... SUCCESS [ 19.449 s]
[INFO] Eclipse Ditto :: Policies :: API ................... SUCCESS [ 13.534 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Distributed Data SUCCESS [ 14.496 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Pub-Sub ...... SUCCESS [03:29 min]
[INFO] Eclipse Ditto :: Internal :: Utils :: Cache ........ SUCCESS [ 16.136 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Test ......... SUCCESS [ 6.331 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Persistence .. SUCCESS [ 40.119 s]
[INFO] Eclipse Ditto :: Things :: API ..................... SUCCESS [ 18.403 s]
[INFO] Eclipse Ditto :: Connectivity :: API ............... SUCCESS [ 26.787 s]
[INFO] Eclipse Ditto :: JWT ............................... SUCCESS [ 0.365 s]
[INFO] Eclipse Ditto :: JWT :: Model ...................... SUCCESS [ 12.514 s]
[INFO] Eclipse Ditto :: WoT ............................... SUCCESS [ 0.372 s]
[INFO] Eclipse Ditto :: WoT :: Model ...................... SUCCESS [ 19.088 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Cache Loaders SUCCESS [01:03 min]
[INFO] Eclipse Ditto :: Internal :: Utils :: Namespaces ... SUCCESS [ 18.358 s]
[INFO] Eclipse Ditto :: Policies :: Enforcement ........... SUCCESS [ 30.253 s]
[INFO] Eclipse Ditto :: RQL ............................... SUCCESS [ 0.454 s]
[INFO] Eclipse Ditto :: RQL :: Model ...................... SUCCESS [ 12.616 s]
[INFO] Eclipse Ditto :: RQL :: parser ..................... SUCCESS [ 28.531 s]
[INFO] Eclipse Ditto :: RQL :: Query ...................... SUCCESS [ 17.193 s]
[INFO] Eclipse Ditto :: Thing Search :: API ............... SUCCESS [ 15.079 s]
[INFO] Eclipse Ditto :: Edge .............................. SUCCESS [ 0.371 s]
[INFO] Eclipse Ditto :: Edge :: Service ................... SUCCESS [ 43.361 s]
[INFO] Eclipse Ditto :: Internal :: Models :: Signal Enrichment SUCCESS [ 52.215 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Conditional Headers SUCCESS [ 9.550 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Persistent Actors SUCCESS [ 35.169 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Protocol ..... SUCCESS [ 16.391 s]
[INFO] Eclipse Ditto :: RQL :: search option parser ....... SUCCESS [ 18.573 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Search ....... SUCCESS [ 19.940 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Pub-Sub Policies SUCCESS [ 7.521 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: Pub-Sub Things SUCCESS [ 7.396 s]
[INFO] Eclipse Ditto :: Connectivity :: Service ........... SUCCESS [07:56 min]
[INFO] Eclipse Ditto :: Documentation ..................... SUCCESS [ 1.210 s]
[INFO] Eclipse Ditto :: Gateway ........................... SUCCESS [ 0.358 s]
[INFO] Eclipse Ditto :: Gateway :: API .................... SUCCESS [ 8.611 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: HTTP ......... SUCCESS [ 8.286 s]
[INFO] Eclipse Ditto :: Internal :: Utils :: JWT .......... SUCCESS [ 9.120 s]
[INFO] Eclipse Ditto :: Gateway :: Service ................ FAILURE [01:37 min]
[INFO] Eclipse Ditto :: Policies :: Service ............... SKIPPED
[INFO] Eclipse Ditto :: WoT :: Integration ................ SKIPPED
[INFO] Eclipse Ditto :: Things :: Service ................. SKIPPED
[INFO] Eclipse Ditto :: Thing Search :: Service ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:29 min
[INFO] Finished at: 2024-04-08T10:56:29Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project ditto-gateway-service: There are test failures.
[ERROR]
[ERROR] Please refer to /home/jenkins/agent/workspace/ditto-release/gateway/service/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test (default-test) on project ditto-gateway-service: There are test failures.
Please refer to /home/jenkins/agent/workspace/ditto-release/gateway/service/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /home/jenkins/agent/workspace/ditto-release/gateway/service/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:247)
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159)
at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:542)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1067)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:871)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :ditto-gateway-service
Build step 'Invoke top-level Maven targets' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 50 killed;
[ssh-agent] Stopped.
Recording test results
[Checks API] No suitable checks publisher found.
Finished: FAILURE