orpiske edited a comment on issue #2299:
URL: https://github.com/apache/camel-k/issues/2299#issuecomment-842315724


   > You should be able to see it by resetting the `Kit`s and building a new 
simple `Integration` (which will trigger a build). It happens with the snapshot 
operator version from `main`.
   
   I couldn't reproduce this problem on my local environment (with k3s or kind) 
with a clean install. 
   
   However, based on the messages you provided, I am suspicious of a few 
things. This would be caused if the operator container is outdated on the 
cluster. Would it be possible to rebuild and republish the operator you are 
using along with the `--operator-image-pull-policy Always` flag? 
   
   ```
   
{"level":"info","ts":1621247425.567752,"logger":"camel-k.controller.integrationkit","msg":"Build
 
running","request-namespace":"operator-test","request-name":"kit-c2h4bg9a6to9qcb2s580","api-version":"camel.apache.org/v1","kind":"IntegrationKit","ns":"operator-test","name":"kit-c2h4bg9a6to9qcb2s580"}
   
{"level":"error","ts":1621247426.6069756,"logger":"camel-k.maven","msg":"Unable 
to parse maven log","error":"invalid character 'I' looking for beginning of 
value","stacktrace":"github.com/apache/camel-k/pkg/util/maven.Run\n\tgithub.com/apache/camel-k/pkg/util/maven/maven.go:188\ngithub.com/apache/camel-k/pkg/builder.BuildQuarkusRunnerCommon\n\tgithub.com/apache/camel-k/pkg/builder/quarkus.go:186\ngithub.com/apache/camel-k/pkg/builder.buildQuarkusRunner\n\tgithub.com/apache/camel-k/pkg/builder/quarkus.go:160\ngithub.com/apache/camel-k/pkg/builder.(*builderStep).execute\n\tgithub.com/apache/camel-k/pkg/builder/steps.go:46\ngithub.com/apache/camel-k/pkg/builder.(*builderTask).Do\n\tgithub.com/apache/camel-k/pkg/builder/builder.go:125\ngithub.com/apache/camel-k/pkg/controller/build.(*scheduleRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/schedule_routine.go:152"}
   ```
   One reason for this would be if the base image is lacking the jar files that 
print in JSON format. Could you, please, run the command `docker run -it 
apache/camel-k:1.5.0-SNAPSHOT ls /usr/share/maven/lib` and check if you have 
the following jars: 
   
   * jcl-over-slf4j-1.7.29.jar
   * jackson-annotations-2.9.10.jar
   * jackson-core-2.9.10.jar
   * jackson-databind-2.9.10.8.jar
   * logback-classic-1.2.3.jar
   * logback-core-1.2.3.jar
   * logstash-logback-encoder-4.11.jar
   
   Lastly, can you also check if the file `maven-slf4j-provider-*` is absent on 
the jar list from the command above?
   
   
   
   
   
   
   
   


-- 
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:
[email protected]


Reply via email to