[ https://issues.apache.org/jira/browse/CAMEL-20782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske resolved CAMEL-20782. ------------------------------------------ Fix Version/s: 4.7.0 Assignee: Otavio Rodolfo Piske Resolution: Fixed Fixed by infra by enabling AVX nodes for Camel. > camel-test-infra-mongodb: MongoDB 5 requires hosts with AVX > ----------------------------------------------------------- > > Key: CAMEL-20782 > URL: https://issues.apache.org/jira/browse/CAMEL-20782 > Project: Camel > Issue Type: Task > Components: camel-mongodb, camel-mongodb-gridfs > Reporter: Otavio Rodolfo Piske > Assignee: Otavio Rodolfo Piske > Priority: Major > Fix For: 4.7.0 > > > Mongo 5+ needs AVX-capable hosts to run. Because many of the x86 nodes on the > ASF CI don't have that enabled, this causes all of MongoDB tests to fail. > > {code:java} > 2024-05-17 02:59:19,144 [main ] ERROR 9-jammy - Could not start container > java.lang.IllegalStateException: Wait strategy failed. Container exited with > code 132 at > org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:533) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:354) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) > ~[duct-tape-1.0.8.jar:?] at > org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:344) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.apache.camel.test.infra.mongodb.services.MongoDBLocalContainerService.initialize(MongoDBLocalContainerService.java:74) > ~[camel-test-infra-mongodb-4.7.0-SNAPSHOT-tests.jar:4.7.0-SNAPSHOT] at > org.apache.camel.test.infra.common.services.SingletonService.doInitializeService(SingletonService.java:54) > ~[camel-test-infra-common-4.7.0-SNAPSHOT-tests.jar:4.7.0-SNAPSHOT] at > org.junit.platform.engine.support.store.NamespacedHierarchicalStore.lambda$getOrComputeIfAbsent$5(NamespacedHierarchicalStore.java:147) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.store.NamespacedHierarchicalStore$MemoizingSupplier.computeValue(NamespacedHierarchicalStore.java:372) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.store.NamespacedHierarchicalStore$MemoizingSupplier.get(NamespacedHierarchicalStore.java:361) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.store.NamespacedHierarchicalStore$StoredValue.evaluate(NamespacedHierarchicalStore.java:308) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.store.NamespacedHierarchicalStore$StoredValue.access$200(NamespacedHierarchicalStore.java:287) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.store.NamespacedHierarchicalStore.getOrComputeIfAbsent(NamespacedHierarchicalStore.java:149) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.jupiter.engine.execution.NamespaceAwareStore.lambda$getOrComputeIfAbsent$2(NamespaceAwareStore.java:57) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.junit.jupiter.engine.execution.NamespaceAwareStore.accessStore(NamespaceAwareStore.java:90) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.junit.jupiter.engine.execution.NamespaceAwareStore.getOrComputeIfAbsent(NamespaceAwareStore.java:57) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.apache.camel.test.infra.common.services.SingletonService.addToStore(SingletonService.java:47) > ~[camel-test-infra-common-4.7.0-SNAPSHOT-tests.jar:4.7.0-SNAPSHOT] at > org.apache.camel.test.infra.common.services.SingletonService.beforeAll(SingletonService.java:60) > ~[camel-test-infra-common-4.7.0-SNAPSHOT-tests.jar:4.7.0-SNAPSHOT] at > org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$12(ClassBasedTestDescriptor.java:396) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:396) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:212) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:85) > ~[junit-jupiter-engine-5.10.2.jar:5.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > java.base/java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) > ~[junit-platform-engine-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) > ~[junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) > ~[junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) > ~[junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) > ~[junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) > [junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) > [junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) > [junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) > [junit-platform-launcher-1.10.2.jar:1.10.2] at > org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) > [junit-platform-launcher-1.10.2.jar:1.10.2] at > org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) > [surefire-junit-platform-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) > [surefire-junit-platform-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) > [surefire-junit-platform-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) > [surefire-junit-platform-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) > [surefire-booter-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) > [surefire-booter-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) > [surefire-booter-3.2.5.jar:3.2.5] at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) > [surefire-booter-3.2.5.jar:3.2.5] Caused by: > org.testcontainers.containers.ContainerLaunchException: Timed out waiting for > log output matching '(?i).*waiting for connections.*' at > org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:909) > ~[testcontainers-1.19.8.jar:1.19.8] at > org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:500) > ~[testcontainers-1.19.8.jar:1.19.8] ... 60 more 2024-05-17 02:59:19,195 > [main ] ERROR 9-jammy - Log output from the failed container: WARNING: > MongoDB 5.0+ requires a CPU with AVX support, and your current system does > not appear to have that! see https://jira.mongodb.org/browse/SERVER-54407 see > also > https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2 > see also > https://github.com/docker-library/mongo/issues/485#issuecomment-891991814{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)