ppalaga opened a new issue #2658:
URL: https://github.com/apache/camel-quarkus/issues/2658


   I have seen this once on the CI and once locally (1 in ~6 attempts). I guess 
there is a race in how we read and write to the results collection. Maybe 
synchronizing on the list could help. 
   
   ```
   [INFO] Running 
org.apache.camel.quarkus.component.mongodb.it.MongodbGridfsTest
   2021-05-24 15:50:14,342 INFO  
[org.apa.cam.qua.com.mon.it.MongoDbTestResource] (pool-4-thread-1) 
TestcontainersConfiguration(userProperties={docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy},
 classpathProperties={}, 
environment={RUNNER_WORKSPACE=/home/runner/work/camel-quarkus, 
PATH=/opt/hostedtoolcache/jdk-11-hotspot/1.0.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin,
 INVOCATION_ID=462f0679e9ad49cfa37af8c70349be4e, 
GITHUB_REPOSITORY_OWNER=apache, SWIFT_PATH=/usr/share/swift/usr/bin, 
CHROMEWEBDRIVER=/usr/local/share/chrome_driver, GITHUB_WORKFLOW=Camel Quarkus 
CI, CONDA=/usr/share/miniconda, 
SELENIUM_JAR_PATH=/usr/share/java/selenium-server-standalone.jar, R
 UNNER_USER=runner, GITHUB_RUN_NUMBER=2374, 
ANDROID_HOME=/usr/local/lib/android/sdk, GITHUB_BASE_REF=main, 
PIPX_HOME=/opt/pipx, 
GITHUB_WORKSPACE=/home/runner/work/camel-quarkus/camel-quarkus, 
GITHUB_RETENTION_DAYS=90, JOURNAL_STREAM=9:19376, 
GITHUB_API_URL=https://api.github.com, 
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_344a156e-71b7-4d6b-a822-eb5f6af5dfcb,
 GITHUB_EVENT_NAME=pull_request, *** GITHUB_JOB=native-tests, 
GITHUB_ACTIONS=true, CHROME_BIN=/usr/bin/google-chrome, 
DOTNET_MULTILEVEL_LOOKUP=0, HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650, 
AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache, 
ANDROID_NDK_HOME=/usr/local/lib/android/sdk/ndk-bundle, 
ANDROID_NDK_ROOT=/usr/local/lib/android/sdk/ndk-bundle, 
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg, 
GITHUB_GRAPHQL_URL=https://api.github.com/graphql, 
HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar", 
OLDPWD=/home/runner/work/camel-quarkus/camel-quarkus/integration-tests/mongodb, 
MAVEN_ARGS=-V -ntp -Dhttp.keepAlive=fa
 lse -e, 
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_344a156e-71b7-4d6b-a822-eb5f6af5dfcb,
 GRAALVM_11_ROOT=/usr/local/graalvm/graalvm-ce-java11-21.1.0, RUNNER_OS=Linux, 
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json, 
DOTNET_NOLOGO=1, DEBIAN_FRONTEND=noninteractive, GITHUB_ACTION=run5, 
POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-ubuntu20, GITHUB_ACTOR=ppalaga, 
RUNNER_TOOL_CACHE=/opt/hostedtoolcache, SHLVL=1, LEIN_HOME=/usr/local/lib/lein, 
PIPX_BIN_DIR=/opt/pipx_bin, GITHUB_SERVER_URL=https://github.com, 
JAVA_HOME=/opt/hostedtoolcache/jdk-11-hotspot/1.0.0/x64, 
GITHUB_REF=refs/pull/2643/merge, GECKOWEBDRIVER=/usr/local/share/gecko_driver, 
BOOTSTRAP_HASKELL_NONINTERACTIVE=1, 
GOROOT_1_14_X64=/opt/hostedtoolcache/go/1.14.15/x64, 
JAVA_HOME_8_X64=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64, LANG=en_US.UTF-8, 
HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew", 
GRADLE_HOME=/usr/share/gradle-7.0.2, MAVEN_OPTS= -Xmx3000m, 
ANT_HOME=/usr/share/ant, GITHUB_REP
 OSITORY=apache/camel-quarkus, GITHUB_ACTION_REF=, 
HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew", 
TESTCONTAINERS_RYUK_DISABLED=true, MAVEN_CMD_LINE_ARGS= -V -ntp 
-Dhttp.keepAlive=false -e clean verify -Dformatter.skip -Dimpsort.skip 
-Denforcer.skip -Pnative,docker,ci 
-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-native-image:20.3.2-java11
 -pl 
integration-tests/arangodb,integration-tests/debezium,integration-tests/cassandraql,integration-tests/couchdb,integration-tests/influxdb,integration-tests/jdbc,integration-tests/jpa,integration-tests/kudu,integration-tests/leveldb,integration-tests/minio,integration-tests/mongodb,
 _=./mvnw, AZURE_EXTENSION_DIR=/opt/az/azcliextensions, 
NVM_DIR=/home/runner/.nvm, 
ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/22.1.7171670, 
DEPLOYMENT_BASEPATH=/opt/runner, CI=true, HOMEBREW_NO_AUTO_UPDATE=1, 
GITHUB_ACTION_REPOSITORY=, DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1, 
LEIN_JAR=/usr/local/lib/lein/self-installs/leiningen-2.9.6-sta
 ndalone.jar, 
MAVEN_PROJECTBASEDIR=/home/runner/work/camel-quarkus/camel-quarkus, 
ANDROID_SDK_ROOT=/usr/local/lib/android/sdk, GITHUB_RUN_ID=871616263, 
GOROOT_1_16_X64=/opt/hostedtoolcache/go/1.16.4/x64, USER=runner, 
XDG_CONFIG_HOME=/home/runner/.config, 
GITHUB_SHA=dcc63c312850ee9eb276548c3052fa1790ccc97f, ImageOS=ubuntu20, 
ImageVersion=20210517.1, ACCEPT_EULA=Y, RUNNER_TEMP=/home/runner/work/_temp, 
GITHUB_HEAD_REF=210521-camel-main, RUNNER_PERFLOG=/home/runner/perflog, 
GOROOT_1_15_X64=/opt/hostedtoolcache/go/1.15.12/x64, 
JAVA_HOME_11_X64=/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64, 
PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG, 
RUNNER_TRACKING_ID=github_6db3cdaf-960c-4d7a-baf4-5111afc9798a, 
HOME=/home/runner})
   2021-05-24 15:50:14,370 INFO  [org.tes.doc.DockerClientProviderStrategy] 
(pool-4-thread-1) Loaded 
org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from 
~/.testcontainers.properties, will try it first
   2021-05-24 15:50:15,228 INFO  [org.tes.doc.DockerClientProviderStrategy] 
(pool-4-thread-1) Found Docker environment with local Unix socket 
(unix:///var/run/docker.sock)
   2021-05-24 15:50:15,229 INFO  [org.tes.DockerClientFactory] 
(pool-4-thread-1) Docker host IP address is localhost
   2021-05-24 15:50:15,282 INFO  [org.tes.DockerClientFactory] 
(pool-4-thread-1) Connected to docker: 
     Server Version: 20.10.6+azure
     API Version: 1.41
     Operating System: Ubuntu 20.04.2 LTS
     Total Memory: 6954 MB
   2021-05-24 15:50:15,282 INFO  [org.tes.DockerClientFactory] 
(pool-4-thread-1) Checking the system...
   2021-05-24 15:50:15,283 INFO  [org.tes.DockerClientFactory] 
(pool-4-thread-1) ✔︎ Docker server version should be at least 1.6.0
   2021-05-24 15:50:15,284 INFO  [org.tes.uti.ImageNameSubstitutor] 
(pool-4-thread-1) Image name substitution will be performed by: 
DefaultImageNameSubstitutor (composite of 
'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
   2021-05-24 15:50:15,966 INFO  [org.tes.DockerClientFactory] 
(pool-4-thread-1) ✔︎ Docker environment should have more than 2GB free disk 
space
   2021-05-24 15:50:16,152 INFO  [🐳 .0]] (pool-4-thread-1) Pulling docker 
image: mongo:4.0. Please be patient; this may take some time but only needs to 
be done once.
   2021-05-24 15:50:16,433 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Starting to pull image
   2021-05-24 15:50:16,455 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 bytes/0 bytes)
   2021-05-24 15:50:16,682 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers: 12 pending,  1 downloaded,  0 extracted, (609 bytes/? MB)
   2021-05-24 15:50:16,734 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers: 11 pending,  2 downloaded,  0 extracted, (44 KB/? MB)
   2021-05-24 15:50:16,752 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers: 10 pending,  3 downloaded,  0 extracted, (44 KB/? MB)
   2021-05-24 15:50:16,768 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  9 pending,  4 downloaded,  0 extracted, (44 KB/? MB)
   2021-05-24 15:50:16,831 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  8 pending,  5 downloaded,  0 extracted, (46 KB/? MB)
   2021-05-24 15:50:16,848 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  7 pending,  6 downloaded,  0 extracted, (46 KB/? MB)
   2021-05-24 15:50:16,872 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  7 pending,  6 downloaded,  1 extracted, (46 KB/? MB)
   2021-05-24 15:50:16,935 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  6 pending,  7 downloaded,  1 extracted, (565 KB/? MB)
   2021-05-24 15:50:16,964 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  5 pending,  8 downloaded,  1 extracted, (569 KB/? MB)
   2021-05-24 15:50:17,337 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  5 pending,  8 downloaded,  2 extracted, (16 MB/? MB)
   2021-05-24 15:50:17,720 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  5 pending,  8 downloaded,  3 extracted, (48 MB/? MB)
   2021-05-24 15:50:17,880 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  5 pending,  8 downloaded,  4 extracted, (60 MB/? MB)
   2021-05-24 15:50:18,028 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  5 pending,  8 downloaded,  5 extracted, (67 MB/? MB)
   2021-05-24 15:50:18,183 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  5 pending,  8 downloaded,  6 extracted, (86 MB/? MB)
   2021-05-24 15:50:18,293 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  4 pending,  9 downloaded,  6 extracted, (95 MB/? MB)
   2021-05-24 15:50:22,321 INFO  [🐳 .0]] (docker-java-stream--1320945667) 
Pulling image layers:  4 pending,  9 downloaded,  7 extracted, (105 MB/? MB)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:992)
        at 
io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:869)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
        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.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
        at 
org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
        at 
org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
        at 
org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
        at 
org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
        at 
org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
        at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
        at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
        at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
        at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
        at 
org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
        at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
        at 
org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
        at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
        at 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to