Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camel-quarkus-master-integration-test failing after the upgrade to Camel 3.10.0 and Quarkus 2.0.0.Alpha3 #2660

Closed
ppalaga opened this issue May 25, 2021 · 0 comments
Assignees
Milestone

Comments

@ppalaga
Copy link
Contributor

ppalaga commented May 25, 2021

[INFO] Running org.apache.camel.quarkus.component.master.it.MasterTest
2021-05-24 23:23:49,339 WARN  [io.qua.config] (main) Unrecognized configuration key "quarkus.runner" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
2021-05-24 23:23:50,105 INFO  [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
2021-05-24 23:23:50,345 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup summary (total:1 started:1)
2021-05-24 23:23:50,346 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started leader (master:ns:timer:test)
2021-05-24 23:23:50,347 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.10.0 (camel-1) started in 105ms (build:0ms init:86ms start:19ms)
2021-05-24 23:23:50,507 INFO  [io.quarkus] (main) Quarkus 2.0.0.Alpha3 on JVM started in 4.117s. Listening on: http://localhost:40201
2021-05-24 23:23:50,509 INFO  [io.quarkus] (main) Profile test activated. 
2021-05-24 23:23:50,509 INFO  [io.quarkus] (main) Installed features: [camel-core, camel-file, camel-log, camel-master, camel-microprofile-health, camel-support-common, camel-timer, cdi, resteasy, smallrye-context-propagation, smallrye-health]
2021-05-24 23:23:51,238 INFO  [org.apa.cam.qua.tes.AvailablePortFinder] (main) getNextAvailable() -> 37285
2021-05-24 23:23:51,239 INFO  [org.apa.cam.qua.tes.AvailablePortFinder] (main) getNextAvailable() -> 36923
2021-05-24 23:23:51,240 INFO  [org.apa.cam.qua.tes.sup.pro.QuarkusProcessExecutor] (main) Executing process: /home/runner/work/camel-quarkus/camel-quarkus/integration-tests/master/target/camel-quarkus-integration-test-master-2.0.0-M1-SNAPSHOT-runner -Dapplication.id=follower -Dquarkus.http.port=37285 -Dquarkus.http.ssl-port=36923
2021-05-24 23:23:51,293 INFO  [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
2021-05-24 23:23:51,300 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup summary (total:1 started:1)
2021-05-24 23:23:51,300 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started leader (master:ns:timer:test)
2021-05-24 23:23:51,300 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.10.0 (camel-1) started in 2ms (build:0ms init:0ms start:2ms)
2021-05-24 23:23:51,311 INFO  [io.quarkus] (main) camel-quarkus-integration-test-master 2.0.0-M1-SNAPSHOT native (powered by Quarkus 2.0.0.Alpha3) started in 0.046s. Listening on: http://0.0.0.0:37285
2021-05-24 23:23:51,311 INFO  [io.quarkus] (main) Profile prod activated. 
2021-05-24 23:23:51,311 INFO  [io.quarkus] (main) Installed features: [camel-core, camel-file, camel-log, camel-master, camel-microprofile-health, camel-support-common, camel-timer, cdi, resteasy, smallrye-context-propagation, smallrye-health]
2021-05-24 23:23:51,343 INFO  [org.apa.cam.com.fil.clu.FileLockClusterView] (Camel (camel-1) thread #0 - FileLockClusterService-null) Lock on file target/cluster/ns acquired (lock=sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid])
2021-05-24 23:23:51,346 INFO  [org.apa.cam.com.mas.MasterConsumer] (Camel (camel-1) thread #0 - FileLockClusterService-null) Leadership taken. Consumer started: timer://test?period=100
Error:  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 20.983 s <<< FAILURE! - in org.apache.camel.quarkus.component.master.it.MasterTest
Error:  testFailover  Time elapsed: 10.899 s  <<< ERROR!
org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in org.apache.camel.quarkus.component.master.it.MasterTest was not fulfilled within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:166)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:939)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:908)
	at org.apache.camel.quarkus.component.master.it.MasterTest.awaitStartup(MasterTest.java:69)
	at org.apache.camel.quarkus.component.master.it.MasterTest.testFailover(MasterTest.java:43)
	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 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)

2021-05-24 23:24:01,446 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.10.0 (camel-1) shutting down
2021-05-24 23:24:01,470 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes shutdown summary (total:1 stopped:1)
2021-05-24 23:24:01,470 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Stopped leader (master:ns:timer:test)
2021-05-24 23:24:01,475 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.10.0 (camel-1) shutdown in 29ms (uptime:11s148ms)
2021-05-24 23:24:01,506 INFO  [io.quarkus] (main) Quarkus stopped in 0.079s
[INFO] 
[INFO] Results:
[INFO] 
Error:  Errors: 
Error:    MasterTest.testFailover:43->awaitStartup:69 » ConditionTimeout Condition with ...
@ppalaga ppalaga added this to the 2.0.0 milestone May 25, 2021
ppalaga added a commit to ppalaga/camel-quarkus that referenced this issue May 25, 2021
@jamesnetherton jamesnetherton self-assigned this May 25, 2021
@ppalaga ppalaga modified the milestones: 2.0.0, 2.0.0-M2 Jun 4, 2021
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants