JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.28k stars 1.16k forks source link

Dist tests started to fail for Ubuntu 20 #3894

Open porunov opened 1 year ago

porunov commented 1 year ago

Please include configurations and logs if available.

For confirmed bugs, please report:

Stack Trace (if you have one)

Error:  Tests run: 7, Failures: 0, Errors: 2, Skipped: 3, Time elapsed: 88.372 s <<< FAILURE! - in org.janusgraph.pkgtest.InMemoryAssemblyIT
Error:  org.janusgraph.pkgtest.InMemoryAssemblyIT.testJanusGraphServerGremlin  Time elapsed: 6.326 s  <<< ERROR!
java.util.concurrent.CompletionException: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
    at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:412)
    at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2044)
    at org.apache.tinkerpop.gremlin.driver.ResultSet.one(ResultSet.java:123)
    at org.apache.tinkerpop.gremlin.driver.ResultSet$1.hasNext(ResultSet.java:175)
    at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:182)
    at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:169)
    at org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:115)
    at org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:100)
    at org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal.nextTraverser(DriverRemoteTraversal.java:92)
    at org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:80)
    at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:135)
    at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:40)
    at org.apache.tinkerpop.gremlin.process.traversal.Traversal.iterate(Traversal.java:210)
    at org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.iterate(GraphTraversal.java:3327)
    at org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal$Admin.iterate(GraphTraversal.java:202)
    at org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal.iterate(DefaultGraphTraversal.java:48)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource(AbstractJanusGraphAssemblyIT.java:127)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.runTraversalAgainstServer(AbstractJanusGraphAssemblyIT.java:142)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.testJanusGraphServer(AbstractJanusGraphAssemblyIT.java:155)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin(AbstractJanusGraphAssemblyIT.java:84)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
    at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
    at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
    at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
    at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
    at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
    at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:50)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120)
    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: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:245)
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:200)
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:126)
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:68)
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
    at io.netty.handler.codec.http.websocketx.Utf8FrameValidator.channelRead(Utf8FrameValidator.java:89)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at java.base/java.lang.Thread.run(Thread.java:829)

Error:  org.janusgraph.pkgtest.InMemoryAssemblyIT.testJanusGraphServerGremlinFull  Time elapsed: 10.511 s  <<< ERROR!
java.util.concurrent.CompletionException: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
    at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:412)
    at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2044)
    at org.apache.tinkerpop.gremlin.driver.ResultSet.one(ResultSet.java:123)
    at org.apache.tinkerpop.gremlin.driver.ResultSet$1.hasNext(ResultSet.java:175)
    at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:182)
    at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:169)
    at org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:115)
    at org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:100)
    at org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal.nextTraverser(DriverRemoteTraversal.java:92)
    at org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:80)
    at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:135)
    at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:40)
    at org.apache.tinkerpop.gremlin.process.traversal.Traversal.iterate(Traversal.java:210)
    at org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.iterate(GraphTraversal.java:3327)
    at org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal$Admin.iterate(GraphTraversal.java:202)
    at org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal.iterate(DefaultGraphTraversal.java:48)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource(AbstractJanusGraphAssemblyIT.java:127)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.runTraversalAgainstServer(AbstractJanusGraphAssemblyIT.java:142)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.testJanusGraphServer(AbstractJanusGraphAssemblyIT.java:155)
    at org.janusgraph.pkgtest.AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull(AbstractJanusGraphAssemblyIT.java:95)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
    at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
    at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
    at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
    at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
    at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
    at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:50)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120)
    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: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:245)
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:200)
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:126)
    at org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:68)
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
    at io.netty.handler.codec.http.websocketx.Utf8FrameValidator.channelRead(Utf8FrameValidator.java:89)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at java.base/java.lang.Thread.run(Thread.java:829)

[INFO] 
[INFO] Results:
[INFO] 
Error:  Failures: 
Error:    BerkeleyESAssemblyIT>AbstractJanusGraphAssemblyIT.testGettingStartedAgainstGremlinSh:73->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:108->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    BerkeleyESAssemblyIT>AbstractJanusGraphAssemblyIT.testGettingStartedAgainstGremlinShFull:79->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:106->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    BerkeleyESAssemblyIT>AbstractJanusGraphAssemblyIT.testSingleVertexInteractionAgainstGremlinSh:62->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:108->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    BerkeleyESAssemblyIT>AbstractJanusGraphAssemblyIT.testSingleVertexInteractionAgainstGremlinShFull:68->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:106->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    HBaseESAssemblyIT>AbstractJanusGraphAssemblyIT.testGettingStartedAgainstGremlinSh:73->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:108->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    HBaseESAssemblyIT>AbstractJanusGraphAssemblyIT.testGettingStartedAgainstGremlinShFull:79->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:106->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    HBaseESAssemblyIT>AbstractJanusGraphAssemblyIT.testSingleVertexInteractionAgainstGremlinSh:62->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:108->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:    HBaseESAssemblyIT>AbstractJanusGraphAssemblyIT.testSingleVertexInteractionAgainstGremlinShFull:68->JanusGraphAssemblyBaseIT.unzipAndRunExpect:117->JanusGraphAssemblyBaseIT.unzipAndRunExpect:121->JanusGraphAssemblyBaseIT.unzipAndRunExpect:84->JanusGraphAssemblyBaseIT.parseTemplateAndRunExpect:106->JanusGraphAssemblyBaseIT.expect:128->JanusGraphAssemblyBaseIT.command:172 expected: <0> but was: <1>
Error:  Errors: 
Error:    BerkeleyAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin:84->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    BerkeleyAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull:95->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    BerkeleyESAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin:84->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    BerkeleyESAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull:95->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    CqlAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin:84->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    CqlAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull:95->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    HBaseAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin:84->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    HBaseAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull:95->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    HBaseESAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin:84->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    HBaseESAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull:95->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    InMemoryAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlin:84->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
Error:    InMemoryAssemblyIT>AbstractJanusGraphAssemblyIT.testJanusGraphServerGremlinFull:95->AbstractJanusGraphAssemblyIT.testJanusGraphServer:155->AbstractJanusGraphAssemblyIT.runTraversalAgainstServer:142->AbstractJanusGraphAssemblyIT.testServerUsingTraversalSource:127 » Completion org.apache.tinkerpop.gremlin.driver.exception.ResponseException: The traversal source [g] for alias [g] is not configured on the server.
[INFO] 
Error:  Tests run: 52, Failures: 8, Errors: 12, Skipped: 13
[INFO] 
[INFO] 
[INFO] --- exec-maven-plugin:3.1.0:exec (docker-test) @ janusgraph-dist ---
Testing docker.io/janusgraph/janusgraph:1.0.0-SNAPSHOT-java-11...
9e6fa48744c3903b43d22e0e55e307bed035bdc1ca973927dcd361c0fefac41f
[INFO] 
[INFO] --- maven-failsafe-plugin:3.0.0:verify (verify) @ janusgraph-dist ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33:37 min
[INFO] Finished at: 2023-07-21T19:45:46Z
[INFO] ------------------------------------------------------------------------
Error:  Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0:verify (verify) on project janusgraph-dist: There are test failures.
Error:  
Error:  Please refer to /home/runner/work/janusgraph/janusgraph/janusgraph-dist/target/failsafe-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]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
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: Process completed with exit code 1.
porunov commented 1 year ago

Notice, I restarted previously passed dist tests for the commit https://github.com/JanusGraph/janusgraph/commit/666a81cda3c79dfa0df19013dca0c656a9b7d9ee

Now not only they failed for Java 11, but also for Java 8 as well. See failed job: https://github.com/JanusGraph/janusgraph/actions/runs/5539504707/job/15297672033

porunov commented 1 year ago

@JanusGraph/committers if anyone can take a look at this issue it would be really helpful. This issue blocks any other PRs from being merged. I tried to investigate the issue, but couldn't figure out the problem of the failing testJanusGraphServer test. The test passes both for Java 8 and Java 11 locally on my machine, but fails on GitHub actions.

The test fails when we are executing the line 155 (runTraversalAgainstServer(createGraphSONMessageSerializer());) of the AbstractJanusGraphAssemblyIT class.

https://github.com/JanusGraph/janusgraph/blob/029b4d2560c09cfc05393e7b7b9513dd92cc26da/janusgraph-dist/src/test/java/org/janusgraph/pkgtest/AbstractJanusGraphAssemblyIT.java#L155

Observations:

Any ideas or thoughts are very welcome. Thank you!

porunov commented 1 year ago

Issue which could be related: #1826

porunov commented 1 year ago

@farodin91 @FlorianHockmann looks like the tests are failing due to some environment changes (probably due to docker updates as noted here: https://github.com/JanusGraph/janusgraph/issues/1826#issuecomment-1435953116). If I revert 2 commits related to moving docker from its separate repository into the main repository the tests are passing.

You can see that dist tests are passing in the next branch where I reverted those 2 commits: https://github.com/porunov/janusgraph/commits/bugfix/dist-tests-docker

As I understand, the work of moving Docker builds into the main repository is still Work In Progress. As such, would you be OK if I revert those two commits to unblock other PRs, and instead create a separate branch with those commits? After the work of moving Docker builds into the main repo is finished and all tests are passing then we can merge those commits back into the “master” branch again. If you prefer, to fix the issue instead, I’m fully for that. I personally wasn’t following the Docker related work much, thus, fixing the issue myself will be more challenging. If you don’t have enough capacity on this issue I would prefer reverting those commits (they don’t fully work anyways) and use dedicated Docker repository instead as we used to have. Let me know what you think about it. Thank you!

farodin91 commented 1 year ago

@farodin91 I will later today look into this issue.

farodin91 commented 1 year ago

@porunov I will try get out a log output which would help to debug. Currently I'm thinking of out of memory or out of storage.

porunov commented 1 year ago

@porunov I will try get out a log output which would help to debug. Currently I'm thinking of out of memory or out of storage.

Make sense. It's just strange that with no any code changes these tests started to fail in master branch, even for those commits which were passing previously. First the tests started to fail for Java 11 only, but after several days those tests started to fail for Java 8 as well. I initially assumed it has to be related to Java updates which were going during that time for zulu distribution, but when tried to set Java version to previous versions in #3896 - nothing happened. First I confirmed that for Java 8.0.372+7 it was passing initially (when only Java 11 tests were failing), but after several days the same PR #3896 started to fail for Java 8.0.372+7 as well - which is strange. Thus, it feels like the issue could be related to something else (like docker updates, OS updates, maven updates, etc.). It's not fully clear yet what causes such behavior.

porunov commented 1 year ago

Not sure, but could also be related to the file janusgraph-dist/docker/Dockerfile I see it has base image and OS versions which means that they are using latest tag:

ARG BASE_IMAGE=eclipse-temurin:11-jre
FROM debian:buster-slim as builder

Potentially, something could be changed in the latest version which causes tests to fail. For example, default closed ports or some incompatible updates. I think those version should be explicitly defined instead of relying always on latest version. That said, I'm not sure if those latest versions are related to this issue or not.

farodin91 commented 1 year ago

@porunov I could deactivate the docker build process for now. It would be easy possible without reverting and testing the issue in my current open PR: https://github.com/JanusGraph/janusgraph/pull/3842

farodin91 commented 1 year ago

It looks like updating runs-on Ubuntu from 20.04 to 22.04 seems to work.

porunov commented 1 year ago

It looks like updating runs-on Ubuntu from 20.04 to 22.04 seems to work.

Interesting why suddenly JanusGraph Docker container stopped to work in Ubuntu 20.04 but works in Ubuntu 22.04. Do you know if we start Docker container eclipse-temurin:11-jre inside another Docker container ubuntu-22.04? If so, should we fix the version of that Docker container to be a concrete version like eclipse-temurin:11.0.20_8-jre instead of always using a the latest version eclipse-temurin:11-jre?

farodin91 commented 1 year ago

eclipse-temurin:11-jre is just used for the docker image. The image is used for the test. This is the last executed test.

porunov commented 1 year ago

This issue was fixed in #3842 by upgrading from Ubuntu 20 to Ubuntu 22. We don't know why it suddenly started to failing in Ubuntu 20, even so it was working before. I assume some dependencies were changed in Ubuntu 20 which resulted in the failures, but we didn't investigate what changed exactly and we don't know if this will be changed in Ubuntu 22 in the future or not. Thus, we are good for now, but JanusGraph builds might break later for Ubuntu 22. From the following comment I assume it's related to Docker version: https://github.com/JanusGraph/janusgraph/issues/1826#issuecomment-1435953116

I also think that this is the main problem for users commented in #1826 . Perhaps it will help investigating this issue in the future.

I don't think there is anyone working on this issue, thus, I'm removing milestone from this ticket because it doesn't block the builds anymore and all tests pass in master branch now.