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

Fix 805 #806

Merged
merged 8 commits into from
Apr 5, 2022
Merged

Fix 805 #806

merged 8 commits into from
Apr 5, 2022

Conversation

oscerd
Copy link
Contributor

@oscerd oscerd commented Apr 4, 2022

Fixes #805

@oscerd oscerd marked this pull request as draft April 4, 2022 12:26
@oscerd
Copy link
Contributor Author

oscerd commented Apr 4, 2022

Draft because there is still a lot of work to do.

@oscerd
Copy link
Contributor Author

oscerd commented Apr 5, 2022

Going ahead:

[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ camel-k-itests-runtime-xml ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.camel.k.quarkus.it.RuntimeWithXmlTest
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-timer-deployment/2.8.0/camel-quarkus-timer-deployment-2.8.0.pom
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-timer-deployment/2.8.0/camel-quarkus-timer-deployment-2.8.0.pom
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-timer-deployment/2.8.0/camel-quarkus-timer-deployment-2.8.0.pom (2.8 kB at 9.0 kB/s)
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-rest-deployment/2.8.0/camel-quarkus-rest-deployment-2.8.0.pom
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-rest-deployment/2.8.0/camel-quarkus-rest-deployment-2.8.0.pom
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-rest-deployment/2.8.0/camel-quarkus-rest-deployment-2.8.0.pom (2.6 kB at 4.6 kB/s)
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-platform-http-deployment/2.8.0/camel-quarkus-platform-http-deployment-2.8.0.pom
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-platform-http-deployment/2.8.0/camel-quarkus-platform-http-deployment-2.8.0.pom
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-platform-http-deployment/2.8.0/camel-quarkus-platform-http-deployment-2.8.0.pom (2.8 kB at 8.5 kB/s)
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-attachments-deployment/2.8.0/camel-quarkus-attachments-deployment-2.8.0.pom
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-attachments-deployment/2.8.0/camel-quarkus-attachments-deployment-2.8.0.pom
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-attachments-deployment/2.8.0/camel-quarkus-attachments-deployment-2.8.0.pom (2.5 kB at 5.0 kB/s)
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-timer-deployment/2.8.0/camel-quarkus-timer-deployment-2.8.0.jar
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-attachments-deployment/2.8.0/camel-quarkus-attachments-deployment-2.8.0.jar
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-platform-http-deployment/2.8.0/camel-quarkus-platform-http-deployment-2.8.0.jar
Downloading from apache-public: https://repository.apache.org/content/groups/public/org/apache/camel/quarkus/camel-quarkus-rest-deployment/2.8.0/camel-quarkus-rest-deployment-2.8.0.jar
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-timer-deployment/2.8.0/camel-quarkus-timer-deployment-2.8.0.jar
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-attachments-deployment/2.8.0/camel-quarkus-attachments-deployment-2.8.0.jar
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-rest-deployment/2.8.0/camel-quarkus-rest-deployment-2.8.0.jar
Downloading from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-platform-http-deployment/2.8.0/camel-quarkus-platform-http-deployment-2.8.0.jar
Progress (4): camel-quarkus-attachments-deployment-2.8.0.jar (5.0 kB) | camel-quarkus-platform-http-deployment-2.8.0.jar (6.8 kB) | camel-quarkus-rest-deployment-2.8.0.jar (5.2 kB) | camel-quarkus-timer-deploymeProgress (4): camel-quarkus-attachments-deployment-2.8.0.jar (5.0 kB) | camel-quarkus-platform-http-deployment-2.8.0.jar (6.8 kB) | camel-quarkus-rest-deployment-2.8.0.jar (5.2 kB) | camel-quarkus-timer-deployme                                                                                                                                                                                                                   Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-attachments-deployment/2.8.0/camel-quarkus-attachments-deployment-2.8.0.jar (5.0 kB at 18 kB/s)
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-platform-http-deployment/2.8.0/camel-quarkus-platform-http-deployment-2.8.0.jar (6.8 kB at 18 kB/s)
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-timer-deployment/2.8.0/camel-quarkus-timer-deployment-2.8.0.jar (4.9 kB at 12 kB/s)
Downloaded from apache.staging.quarkus: https://repository.apache.org/content/repositories/orgapachecamel-1424/org/apache/camel/quarkus/camel-quarkus-rest-deployment/2.8.0/camel-quarkus-rest-deployment-2.8.0.jar (5.2 kB at 13 kB/s)
2022-04-05 07:18:19,055 INFO  [org.jbo.threads] (main) JBoss Threads version 3.4.2.Final
2022-04-05 07:18:19,182 INFO  [org.apa.cam.k.cor.qua.dep.dev.HotDeploymentProcessor] (build-21) Register conf for hot deployment: /home/oscerd/workspace/apache-camel/camel-k-runtime/itests/camel-k-itests-runtime-xml/src/test/resources/test.properties
{"timestamp":"2022-04-05T07:18:22.894+02:00","sequence":16,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"org.apache.camel.k.Runtime","level":"INFO","message":"Apache Camel K Runtime ","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979}
{"timestamp":"2022-04-05T07:18:22.903+02:00","sequence":17,"loggerClassName":"org.jboss.logging.Logger","loggerName":"org.apache.camel.quarkus.core.CamelBootstrapRecorder","level":"INFO","message":"Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979}
{"timestamp":"2022-04-05T07:18:22.904+02:00","sequence":18,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"org.apache.camel.main.MainSupport","level":"INFO","message":"Apache Camel (Main) 3.16.0 is starting","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979}
{"timestamp":"2022-04-05T07:18:22.986+02:00","sequence":19,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"org.apache.camel.k.listener.SourcesConfigurer","level":"INFO","message":"Loading routes from: SourceDefinition{type='source', location='file:/home/oscerd/workspace/apache-camel/camel-k-runtime/itests/camel-k-itests-runtime-xml/src/test/resources/routes.xml', }","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979}
{"timestamp":"2022-04-05T07:18:23.003+02:00","sequence":20,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"org.apache.camel.k.listener.SourcesConfigurer","level":"INFO","message":"Loading routes from: SourceDefinition{type='source', location='file:/home/oscerd/workspace/apache-camel/camel-k-runtime/itests/camel-k-itests-runtime-xml/src/test/resources/rests.xml', }","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979}
{"timestamp":"2022-04-05T07:18:23.004+02:00","sequence":21,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"org.apache.camel.k.listener.SourcesConfigurer","level":"INFO","message":"Loading routes from: SourceDefinition{type='source', location='file:/home/oscerd/workspace/apache-camel/camel-k-runtime/itests/camel-k-itests-runtime-xml/src/test/resources/routes-with-expression.xml', }","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979}
{"timestamp":"2022-04-05T07:18:23.187+02:00","sequence":22,"loggerClassName":"org.slf4j.impl.Slf4jLogger","loggerName":"org.apache.camel.quarkus.main.CamelMainRuntime","level":"ERROR","message":"Failed to start application","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"ghost","processName":"surefirebooter18410844027713959956.jar","processId":26979,"exception":{"refId":1,"exceptionType":"org.apache.camel.RuntimeCamelException","message":"org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'","frames":[{"class":"org.apache.camel.RuntimeCamelException","method":"wrapRuntimeException","line":66},{"class":"org.apache.camel.support.service.BaseService","method":"doFail","line":413},{"class":"org.apache.camel.support.service.BaseService","method":"fail","line":342},{"class":"org.apache.camel.support.service.BaseService","method":"init","line":88},{"class":"org.apache.camel.quarkus.main.CamelMain","method":"startEngine","line":137},{"class":"org.apache.camel.quarkus.main.CamelMainRuntime","method":"start","line":49},{"class":"org.apache.camel.quarkus.core.CamelBootstrapRecorder","method":"start","line":45},{"class":"io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958","method":"deploy_0"},{"class":"io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958","method":"deploy"},{"class":"io.quarkus.runner.ApplicationImpl","method":"doStart"},{"class":"io.quarkus.runtime.Application","method":"start","line":101},{"class":"jdk.internal.reflect.NativeMethodAccessorImpl","method":"invoke0"},{"class":"jdk.internal.reflect.NativeMethodAccessorImpl","method":"invoke","line":62},{"class":"jdk.internal.reflect.DelegatingMethodAccessorImpl","method":"invoke","line":43},{"class":"java.lang.reflect.Method","method":"invoke","line":566},{"class":"io.quarkus.runner.bootstrap.StartupActionImpl","method":"run","line":237},{"class":"io.quarkus.test.junit.QuarkusTestExtension","method":"doJavaStart","line":250},{"class":"io.quarkus.test.junit.QuarkusTestExtension","method":"ensureStarted","line":609},{"class":"io.quarkus.test.junit.QuarkusTestExtension","method":"beforeAll","line":647},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"lambda$invokeBeforeAllCallbacks$10","line":381},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"invokeBeforeAllCallbacks","line":381},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"before","line":205},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"before","line":80},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$6","line":148},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$8","line":141},{"class":"org.junit.platform.engine.support.hierarchical.Node","method":"around","line":137},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$9","line":139},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"executeRecursively","line":138},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"execute","line":95},{"class":"java.util.ArrayList","method":"forEach","line":1541},{"class":"org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService","method":"invokeAll","line":41},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$6","line":155},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$8","line":141},{"class":"org.junit.platform.engine.support.hierarchical.Node","method":"around","line":137},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$9","line":139},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"executeRecursively","line":138},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"execute","line":95},{"class":"org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService","method":"submit","line":35},{"class":"org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor","method":"execute","line":57},{"class":"org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine","method":"execute","line":54},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"execute","line":107},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"execute","line":88},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"lambda$execute$0","line":54},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"withInterceptedStreams","line":67},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"execute","line":52},{"class":"org.junit.platform.launcher.core.DefaultLauncher","method":"execute","line":114},{"class":"org.junit.platform.launcher.core.DefaultLauncher","method":"execute","line":86},{"class":"org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher","method":"execute","line":86},{"class":"org.junit.platform.launcher.core.SessionPerRequestLauncher","method":"execute","line":53},{"class":"org.apache.maven.surefire.junitplatform.JUnitPlatformProvider","method":"execute","line":188},{"class":"org.apache.maven.surefire.junitplatform.JUnitPlatformProvider","method":"invokeAllTests","line":154},{"class":"org.apache.maven.surefire.junitplatform.JUnitPlatformProvider","method":"invoke","line":128},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"runSuitesInProcess","line":428},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"execute","line":162},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"run","line":562},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"main","line":548}],"causedBy":{"exception":{"refId":2,"exceptionType":"org.apache.camel.xml.io.XmlPullParserException","message":"Unexpected attribute '{http://camel.apache.org/schema/spring}uri'","frames":[{"class":"org.apache.camel.xml.in.BaseParser","method":"handleUnexpectedAttribute","line":203},{"class":"org.apache.camel.xml.in.BaseParser","method":"doParse","line":110},{"class":"org.apache.camel.xml.in.ModelParser","method":"doParseGetDefinition","line":2938},{"class":"org.apache.camel.xml.in.ModelParser","method":"lambda$doParseRestDefinition$79","line":1100},{"class":"org.apache.camel.xml.in.BaseParser","method":"doParse","line":126},{"class":"org.apache.camel.xml.in.ModelParser","method":"doParseRestDefinition","line":1083},{"class":"org.apache.camel.xml.in.ModelParser","method":"lambda$doParseRestsDefinition$217","line":3099},{"class":"org.apache.camel.xml.in.BaseParser","method":"doParse","line":126},{"class":"org.apache.camel.xml.in.ModelParser","method":"doParseRestsDefinition","line":3096},{"class":"org.apache.camel.xml.in.ModelParser","method":"parseRestsDefinition","line":3077},{"class":"org.apache.camel.dsl.xml.io.XmlRoutesBuilderLoader$1","method":"configure","line":56},{"class":"org.apache.camel.builder.RouteBuilder","method":"checkInitialized","line":633},{"class":"org.apache.camel.builder.RouteBuilder","method":"configureRoutes","line":579},{"class":"org.apache.camel.builder.RouteBuilder","method":"addRoutesToCamelContext","line":515},{"class":"org.apache.camel.impl.engine.AbstractCamelContext","method":"addRoutes","line":1175},{"class":"org.apache.camel.main.RoutesConfigurer","method":"addDiscoveredRoutes","line":238},{"class":"org.apache.camel.main.RoutesConfigurer","method":"configureRoutes","line":213},{"class":"org.apache.camel.quarkus.main.CamelMain","method":"configureRoutes","line":70},{"class":"org.apache.camel.main.BaseMainSupport","method":"postProcessCamelContext","line":590},{"class":"org.apache.camel.quarkus.main.CamelMain","method":"initCamelContext","line":116},{"class":"org.apache.camel.quarkus.main.CamelMain","method":"doInit","line":86},{"class":"org.apache.camel.support.service.BaseService","method":"init","line":83},{"class":"org.apache.camel.quarkus.main.CamelMain","method":"startEngine","line":137},{"class":"org.apache.camel.quarkus.main.CamelMainRuntime","method":"start","line":49},{"class":"org.apache.camel.quarkus.core.CamelBootstrapRecorder","method":"start","line":45},{"class":"io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958","method":"deploy_0"},{"class":"io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958","method":"deploy"},{"class":"io.quarkus.runner.ApplicationImpl","method":"doStart"},{"class":"io.quarkus.runtime.Application","method":"start","line":101},{"class":"jdk.internal.reflect.NativeMethodAccessorImpl","method":"invoke0"},{"class":"jdk.internal.reflect.NativeMethodAccessorImpl","method":"invoke","line":62},{"class":"jdk.internal.reflect.DelegatingMethodAccessorImpl","method":"invoke","line":43},{"class":"java.lang.reflect.Method","method":"invoke","line":566},{"class":"io.quarkus.runner.bootstrap.StartupActionImpl","method":"run","line":237},{"class":"io.quarkus.test.junit.QuarkusTestExtension","method":"doJavaStart","line":250},{"class":"io.quarkus.test.junit.QuarkusTestExtension","method":"ensureStarted","line":609},{"class":"io.quarkus.test.junit.QuarkusTestExtension","method":"beforeAll","line":647},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"lambda$invokeBeforeAllCallbacks$10","line":381},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"invokeBeforeAllCallbacks","line":381},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"before","line":205},{"class":"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor","method":"before","line":80},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$6","line":148},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$8","line":141},{"class":"org.junit.platform.engine.support.hierarchical.Node","method":"around","line":137},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$9","line":139},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"executeRecursively","line":138},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"execute","line":95},{"class":"java.util.ArrayList","method":"forEach","line":1541},{"class":"org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService","method":"invokeAll","line":41},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$6","line":155},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$8","line":141},{"class":"org.junit.platform.engine.support.hierarchical.Node","method":"around","line":137},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"lambda$executeRecursively$9","line":139},{"class":"org.junit.platform.engine.support.hierarchical.ThrowableCollector","method":"execute","line":73},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"executeRecursively","line":138},{"class":"org.junit.platform.engine.support.hierarchical.NodeTestTask","method":"execute","line":95},{"class":"org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService","method":"submit","line":35},{"class":"org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor","method":"execute","line":57},{"class":"org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine","method":"execute","line":54},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"execute","line":107},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"execute","line":88},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"lambda$execute$0","line":54},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"withInterceptedStreams","line":67},{"class":"org.junit.platform.launcher.core.EngineExecutionOrchestrator","method":"execute","line":52},{"class":"org.junit.platform.launcher.core.DefaultLauncher","method":"execute","line":114},{"class":"org.junit.platform.launcher.core.DefaultLauncher","method":"execute","line":86},{"class":"org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher","method":"execute","line":86},{"class":"org.junit.platform.launcher.core.SessionPerRequestLauncher","method":"execute","line":53},{"class":"org.apache.maven.surefire.junitplatform.JUnitPlatformProvider","method":"execute","line":188},{"class":"org.apache.maven.surefire.junitplatform.JUnitPlatformProvider","method":"invokeAllTests","line":154},{"class":"org.apache.maven.surefire.junitplatform.JUnitPlatformProvider","method":"invoke","line":128},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"runSuitesInProcess","line":428},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"execute","line":162},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"run","line":562},{"class":"org.apache.maven.surefire.booter.ForkedBooter","method":"main","line":548}]}}}}
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.225 s <<< FAILURE! - in org.apache.camel.k.quarkus.it.RuntimeWithXmlTest
[ERROR] org.apache.camel.k.quarkus.it.RuntimeWithXmlTest.inspect  Time elapsed: 0.014 s  <<< ERROR!
java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:632)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:703)
	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.api.extension.InvocationInterceptor.interceptTestClassConstructor(InvocationInterceptor.java:73)
	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:77)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestClassConstructor(ClassBasedTestDescriptor.java:355)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:302)
	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateTestClass(ClassTestDescriptor.java:79)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:280)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272)
	at java.base/java.util.Optional.orElseGet(Optional.java:369)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271)
	at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
	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:107)
	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: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.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	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.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:237)
	at io.quarkus.test.junit.QuarkusTestExtension.doJavaStart(QuarkusTestExtension.java:250)
	at io.quarkus.test.junit.QuarkusTestExtension.ensureStarted(QuarkusTestExtension.java:609)
	at io.quarkus.test.junit.QuarkusTestExtension.beforeAll(QuarkusTestExtension.java:647)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$10(ClassBasedTestDescriptor.java:381)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:381)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:205)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:80)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
	... 36 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.camel.RuntimeCamelException: org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'
	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:47)
	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown Source)
	... 52 more
Caused by: java.lang.RuntimeException: org.apache.camel.RuntimeCamelException: org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'
	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:65)
	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
	... 54 more
Caused by: org.apache.camel.RuntimeCamelException: org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'
	at org.apache.camel.RuntimeCamelException.wrapRuntimeException(RuntimeCamelException.java:66)
	at org.apache.camel.support.service.BaseService.doFail(BaseService.java:413)
	at org.apache.camel.support.service.BaseService.fail(BaseService.java:342)
	at org.apache.camel.support.service.BaseService.init(BaseService.java:88)
	at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:137)
	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
	... 55 more
Caused by: org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'
	at org.apache.camel.xml.in.BaseParser.handleUnexpectedAttribute(BaseParser.java:203)
	at org.apache.camel.xml.in.BaseParser.doParse(BaseParser.java:110)
	at org.apache.camel.xml.in.ModelParser.doParseGetDefinition(ModelParser.java:2938)
	at org.apache.camel.xml.in.ModelParser.lambda$doParseRestDefinition$79(ModelParser.java:1100)
	at org.apache.camel.xml.in.BaseParser.doParse(BaseParser.java:126)
	at org.apache.camel.xml.in.ModelParser.doParseRestDefinition(ModelParser.java:1083)
	at org.apache.camel.xml.in.ModelParser.lambda$doParseRestsDefinition$217(ModelParser.java:3099)
	at org.apache.camel.xml.in.BaseParser.doParse(BaseParser.java:126)
	at org.apache.camel.xml.in.ModelParser.doParseRestsDefinition(ModelParser.java:3096)
	at org.apache.camel.xml.in.ModelParser.parseRestsDefinition(ModelParser.java:3077)
	at org.apache.camel.dsl.xml.io.XmlRoutesBuilderLoader$1.configure(XmlRoutesBuilderLoader.java:56)
	at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:633)
	at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:579)
	at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:515)
	at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:1175)
	at org.apache.camel.main.RoutesConfigurer.addDiscoveredRoutes(RoutesConfigurer.java:238)
	at org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:213)
	at org.apache.camel.quarkus.main.CamelMain.configureRoutes(CamelMain.java:70)
	at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:590)
	at org.apache.camel.quarkus.main.CamelMain.initCamelContext(CamelMain.java:116)
	at org.apache.camel.quarkus.main.CamelMain.doInit(CamelMain.java:86)
	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
	... 57 more

@oscerd oscerd marked this pull request as ready for review April 5, 2022 12:52
@oscerd oscerd merged commit 2420782 into main Apr 5, 2022
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

Successfully merging this pull request may close these issues.

Release 1.13.0: Update to use Camel 3.16.0
1 participant