Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-7537

MongoDbReplicaSetAuthTest fails randomly

XMLWordPrintable

    • False
    • None
    • False

      Failed e.g. here. Failed with

      2024-02-20T16:07:03.8274686Z 2024-02-20 16:07:03,798 INFO   ||  {"ok":1,"$clusterTime":{"clusterTime":{"$timestamp":"7337716359792427012"},"signature":{"hash":"srZXddLd1zmsu8wqxzlOJ3TvpWw=","keyId":{"low":5,"high":1708445221,"unsigned":false}}},"operati
      onTime":{"$timestamp":"7337716359792427012"}}:   [io.debezium.testing.testcontainers.MongoDbContainer]
      2024-02-20T16:07:05.5288706Z 2024-02-20 16:07:05,501 ERROR  ||  An error occurred: MongoServerError: Command replSetGetStatus requires authentication
      2024-02-20T16:07:05.5290414Z    [io.debezium.testing.testcontainers.MongoDbContainer]
      2024-02-20T16:07:06.3296266Z 2024-02-20 16:07:06,306 ERROR  ||  An error occurred: MongoServerError: Command replSetGetStatus requires authentication
      2024-02-20T16:07:06.3297815Z    [io.debezium.testing.testcontainers.MongoDbContainer]
      2024-02-20T16:07:07.1303971Z 2024-02-20 16:07:07,105 ERROR  ||  An error occurred: MongoServerError: Command replSetGetStatus requires authentication
      2024-02-20T16:07:07.1305614Z    [io.debezium.testing.testcontainers.MongoDbContainer]
      
      [...]
      
      2024-02-20T16:08:03.6868316Z    [io.debezium.testing.testcontainers.MongoDbContainer]
      2024-02-20T16:08:04.4875317Z 2024-02-20 16:08:04,477 ERROR  ||  An error occurred: MongoServerError: Command replSetGetStatus requires authentication
      2024-02-20T16:08:04.4876637Z    [io.debezium.testing.testcontainers.MongoDbContainer]
      2024-02-20T16:08:04.4876637Z    [io.debezium.testing.testcontainers.MongoDbContainer]
      2024-02-20T16:08:04.8114986Z [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 86.53 s <<< FAILURE! -- in io.debezium.testing.testcontainers.MongoDbReplicaSetAuthTest
      2024-02-20T16:08:04.8117301Z [ERROR] io.debezium.testing.testcontainers.MongoDbReplicaSetAuthTest -- Time elapsed: 86.53 s <<< ERROR!
      2024-02-20T16:08:04.8119365Z org.awaitility.core.ConditionTimeoutException: Condition with io.debezium.testing.testcontainers.MongoDbReplicaSet was not fulfilled within 1 minutes.
      2024-02-20T16:08:04.8121185Z    at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:148)
      2024-02-20T16:08:04.8122405Z    at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
      2024-02-20T16:08:04.8123591Z    at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
      2024-02-20T16:08:04.8124830Z    at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:873)
      2024-02-20T16:08:04.8126054Z    at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:842)
      2024-02-20T16:08:04.8127604Z    at io.debezium.testing.testcontainers.MongoDbReplicaSet.awaitReplicaPrimary(MongoDbReplicaSet.java:348)
      2024-02-20T16:08:04.8129565Z    at io.debezium.testing.testcontainers.MongoDbReplicaSet.start(MongoDbReplicaSet.java:286)
      2024-02-20T16:08:04.8131261Z    at io.debezium.testing.testcontainers.MongoDbReplicaSetAuthTest.beforeAll(MongoDbReplicaSetAuthTest.java:47)
      2024-02-20T16:08:04.8132962Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2024-02-20T16:08:04.8134518Z    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      2024-02-20T16:08:04.8136332Z    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2024-02-20T16:08:04.8137746Z    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      2024-02-20T16:08:04.8138971Z    at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
      2024-02-20T16:08:04.8140496Z    at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
      2024-02-20T16:08:04.8142443Z    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
      2024-02-20T16:08:04.8144870Z    at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
      2024-02-20T16:08:04.8146617Z    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
      2024-02-20T16:08:04.8148838Z    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:70)
      2024-02-20T16:08:04.8151165Z    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
      2024-02-20T16:08:04.8153585Z    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
      2024-02-20T16:08:04.8155868Z    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
      2024-02-20T16:08:04.8158024Z    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
      2024-02-20T16:08:04.8160077Z    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
      2024-02-20T16:08:04.8162098Z    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
      2024-02-20T16:08:04.8164019Z    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
      2024-02-20T16:08:04.8166037Z    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
      2024-02-20T16:08:04.8168226Z    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$13(ClassBasedTestDescriptor.java:411)
      2024-02-20T16:08:04.8212207Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2024-02-20T16:08:04.8214392Z    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:409)
      2024-02-20T16:08:04.8216501Z    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:215)
      2024-02-20T16:08:04.8218399Z    at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:84)
      2024-02-20T16:08:04.8220368Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
      2024-02-20T16:08:04.8222308Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2024-02-20T16:08:04.8224225Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2024-02-20T16:08:04.8225881Z    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2024-02-20T16:08:04.8227511Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2024-02-20T16:08:04.8229408Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2024-02-20T16:08:04.8231315Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2024-02-20T16:08:04.8262896Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2024-02-20T16:08:04.8265651Z    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      2024-02-20T16:08:04.8267578Z    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
      2024-02-20T16:08:04.8269319Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
      2024-02-20T16:08:04.8270414Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2024-02-20T16:08:04.8271475Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
      2024-02-20T16:08:04.8272787Z    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
      2024-02-20T16:08:04.8273684Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
      2024-02-20T16:08:04.8274911Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
      2024-02-20T16:08:04.8275932Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
      2024-02-20T16:08:04.8276889Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
      2024-02-20T16:08:04.8278114Z    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
      2024-02-20T16:08:04.8279466Z    at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
      2024-02-20T16:08:04.8280833Z    at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
      2024-02-20T16:08:04.8282587Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
      2024-02-20T16:08:04.8284376Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
      2024-02-20T16:08:04.8286253Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
      2024-02-20T16:08:04.8288108Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
      2024-02-20T16:08:04.8290728Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
      2024-02-20T16:08:04.8292744Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
      2024-02-20T16:08:04.8294329Z    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
      2024-02-20T16:08:04.8295651Z    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
      2024-02-20T16:08:04.8297171Z    at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
      2024-02-20T16:08:04.8298666Z    at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
      2024-02-20T16:08:04.8300111Z    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
      2024-02-20T16:08:04.8301800Z    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
      2024-02-20T16:08:04.8303583Z    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
      2024-02-20T16:08:04.8305118Z    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
      2024-02-20T16:08:04.8306315Z    at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
      2024-02-20T16:08:04.8307351Z    at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
      2024-02-20T16:08:04.8308452Z    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
      2024-02-20T16:08:04.8309418Z Caused by: java.util.concurrent.TimeoutException
      2024-02-20T16:08:04.8310360Z    at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
      2024-02-20T16:08:04.8311514Z    at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
      2024-02-20T16:08:04.8312848Z    at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
      2024-02-20T16:08:04.8314031Z    at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:94)
      2024-02-20T16:08:04.8314822Z    ... 68 more
      

              Unassigned Unassigned
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: