You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/02/19 13:29:10 UTC
[GitHub] [camel-k] zregvart opened a new issue #1280: Error when trying
create Integration
zregvart opened a new issue #1280: Error when trying create Integration
URL: https://github.com/apache/camel-k/issues/1280
In Syndesis we have an option to run integrations with Camel K. Testing this with 1.0.0-RC1 gives me this error in the operator logs:
```
{"level":"error","ts":1582118138.2932637,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"integration-controller","request":"demo/i-t2l","error":"error during trait customization: exit status 1","errorVerbose":"exit status 1\nerror during trait customization\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k@/pkg/trait/trait.go:47\ngithub.com/apache/camel-k/pkg/controller/integration.(*platformSetupAction).Handle\n\tgithub.com/apache/camel-k@/pkg/controller/integration/platform_setup.go:49\ngithub.com/apache/camel-k/pkg/controller/integration.(*ReconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k@/pkg/controller/integration/integration_controller.go:257\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:256\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tsigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tk8s.io/apimachinery@v0.0.0/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tk8s.io/apimachinery@v0.0.0/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tk8s.io/apimachinery@v0.0.0/pkg/util/wait/wait.go:88\nruntime.goexit\n\truntime/asm_amd64.s:1357","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tgithub.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tsigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tk8s.io/apimachinery@v0.0.0/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tk8s.io/apimachinery@v0.0.0/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tk8s.io/apimachinery@v0.0.0/pkg/util/wait/wait.go:88"}
{"level":"info","ts":1582118148.5335565,"logger":"camel-k.controller.integration","msg":"Reconciling Integration","request-namespace":"demo","request-name":"i-t2l"}
{"level":"info","ts":1582118148.533654,"logger":"camel-k.controller.integration","msg":"Invoking action platform-setup","request-namespace":"demo","request-name":"i-t2l","api-version":"camel.apache.org/v1","kind":"Integration","ns":"demo","name":"i-t2l"}
{"level":"info","ts":1582118148.53388,"logger":"camel-k.trait","msg":"Apply trait: platform"}
{"level":"info","ts":1582118148.533935,"logger":"camel-k.trait","msg":"Apply trait: camel"}
{"level":"info","ts":1582118148.5346484,"logger":"camel-k.maven","msg":"executing: mvn --batch-mode -Dmaven.repo.local=/tmp/artifacts/m2 --settings /tmp/camel-catalog903806931/settings.xml -Dcatalog.path=/tmp/camel-catalog903806931 -Dcatalog.file=catalog.yaml","timeout":"3m45s"}
[INFO] Scanning for projects...
[INFO]
[INFO] ------< org.apache.camel.k.integration:camel-k-catalog-generator >------
[INFO] Building camel-k-catalog-generator 1.0.0-RC1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- camel-k-maven-plugin:1.0.9:generate-catalog (generate-catalog) @ camel-k-catalog-generator ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.620 s
[INFO] Finished at: 2020-02-19T13:15:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.camel.k:camel-k-maven-plugin:1.0.9:generate-catalog (generate-catalog) on project camel-k-catalog-generator: Execution generate-catalog of goal org.apache.camel.k:camel-k-maven-plugin:1.0.9:generate-catalog failed: A required class was missing while executing org.apache.camel.k:camel-k-maven-plugin:1.0.9:generate-catalog: org/apache/camel/catalog/JSonSchemaResolver
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.camel.k:camel-k-maven-plugin:1.0.9
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/tmp/artifacts/m2/org/apache/camel/k/camel-k-maven-plugin/1.0.9/camel-k-maven-plugin-1.0.9.jar
[ERROR] urls[1] = file:/tmp/artifacts/m2/org/apache/camel/camel-catalog/3.1.0-SNAPSHOT/camel-catalog-3.1.0-SNAPSHOT.jar
[ERROR] urls[2] = file:/tmp/artifacts/m2/org/apache/camel/camel-core-catalog/3.1.0-SNAPSHOT/camel-core-catalog-3.1.0-SNAPSHOT.jar
[ERROR] urls[3] = file:/tmp/artifacts/m2/org/apache/camel/camel-api/3.0.0/camel-api-3.0.0.jar
[ERROR] urls[4] = file:/tmp/artifacts/m2/org/apache/camel/camel-util/3.0.0/camel-util-3.0.0.jar
[ERROR] urls[5] = file:/tmp/artifacts/m2/org/apache/camel/camel-util-json/3.0.0/camel-util-json-3.0.0.jar
[ERROR] urls[6] = file:/tmp/artifacts/m2/org/apache/camel/camel-tooling-model/3.1.0-SNAPSHOT/camel-tooling-model-3.1.0-SNAPSHOT.jar
[ERROR] urls[7] = file:/tmp/artifacts/m2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.6.0/maven-plugin-annotations-3.6.0.jar
[ERROR] urls[8] = file:/tmp/artifacts/m2/org/apache/maven/shared/maven-common-artifact-filters/3.1.0/maven-common-artifact-filters-3.1.0.jar
[ERROR] urls[9] = file:/tmp/artifacts/m2/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
[ERROR] urls[10] = file:/tmp/artifacts/m2/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[11] = file:/tmp/artifacts/m2/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[12] = file:/tmp/artifacts/m2/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar
[ERROR] urls[13] = file:/tmp/artifacts/m2/commons-io/commons-io/2.5/commons-io-2.5.jar
[ERROR] urls[14] = file:/tmp/artifacts/m2/org/yaml/snakeyaml/1.25/snakeyaml-1.25.jar
[ERROR] urls[15] = file:/tmp/artifacts/m2/com/fasterxml/jackson/core/jackson-databind/2.10.1/jackson-databind-2.10.1.jar
[ERROR] urls[16] = file:/tmp/artifacts/m2/com/fasterxml/jackson/core/jackson-annotations/2.10.1/jackson-annotations-2.10.1.jar
[ERROR] urls[17] = file:/tmp/artifacts/m2/com/fasterxml/jackson/core/jackson-core/2.10.1/jackson-core-2.10.1.jar
[ERROR] urls[18] = file:/tmp/artifacts/m2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.10.1/jackson-datatype-jdk8-2.10.1.jar
[ERROR] urls[19] = file:/tmp/artifacts/m2/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.10.1/jackson-dataformat-yaml-2.10.1.jar
[ERROR] urls[20] = file:/tmp/artifacts/m2/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar
[ERROR] urls[21] = file:/tmp/artifacts/m2/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar
[ERROR] urls[22] = file:/tmp/artifacts/m2/org/apache/commons/commons-text/1.8/commons-text-1.8.jar
[ERROR] urls[23] = file:/tmp/artifacts/m2/com/vdurmont/semver4j/3.1.0/semver4j-3.1.0.jar
[ERROR] urls[24] = file:/tmp/artifacts/m2/com/google/guava/guava/20.0/guava-20.0.jar
[ERROR] urls[25] = file:/tmp/artifacts/m2/org/jboss/jandex/2.1.2.Final/jandex-2.1.2.Final.jar
[ERROR] urls[26] = file:/tmp/artifacts/m2/com/squareup/javapoet/1.11.1/javapoet-1.11.1.jar
[ERROR] urls[27] = file:/tmp/artifacts/m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.camel.catalog.JSonSchemaResolver
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [camel-k] zregvart commented on issue #1280: Error when trying
create Integration
Posted by GitBox <gi...@apache.org>.
zregvart commented on issue #1280: Error when trying create Integration
URL: https://github.com/apache/camel-k/issues/1280#issuecomment-588233043
Yes, we're tracking `3.1.0-SNAPSHOT` of Camel at the moment.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1280: Error when trying
create Integration
Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #1280: Error when trying create Integration
URL: https://github.com/apache/camel-k/issues/1280#issuecomment-588231138
Looks like it is using a mix of camel 3.1.0 and 3.0.0, the camel-k runtime does not yet support camel 3.1.0
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services