hernanDatgDev commented on issue #5007:
URL: https://github.com/apache/camel-k/issues/5007#issuecomment-1867877343

   Install command camel-k v2.1.0:
   `kamel install --registry docker.io --organization hguardado 
--registry-secret dockerhub-cred --maven-settings 
configmap:aws-repo/settings.xml --build-publish-strategy Jib 
--max-running-pipelines 2`
   
   Integration Platform:
   
[ip-jib.yaml.txt](https://github.com/apache/camel-k/files/13754319/ip-jib.yaml.txt)
   
   Test integration (timer-log.groovy):
   ```
   from('timer:heartbeat?period=3000')
   .log('heartbeat: (${exchangeProperty.CamelTimerCounter})')
   ```
   Operator logs:
   ```
   
{"level":"info","ts":"2023-12-22T16:14:35Z","logger":"camel-k.controller.integrationkit","msg":"Build
 
running","request-namespace":"default","request-name":"kit-cm2rbqvrbkps73cbuidg","api-version":"camel.apache.org/v1","kind":"IntegrationKit","ns":"default","name":"kit-cm2rbqvrbkps73cbuidg"}
   
{"level":"info","ts":"2023-12-22T16:14:35Z","logger":"camel-k.maven","msg":"executing:
 ./mvnw -V --no-transfer-progress -Dstyle.color=never package 
-Dmaven.repo.local=/etc/maven/m2 --global-settings 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166/maven/settings.xml --settings 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166/maven/user-settings.xml 
-Dmaven.artifact.threads=6 -T 6","MAVEN_OPTS":""}
   
{"level":"info","ts":"2023-12-22T16:14:35Z","logger":"camel-k.maven.build","msg":"Executed
 command: ./mvnw -V --no-transfer-progress -Dstyle.color=never package 
-Dmaven.repo.local=/etc/maven/m2 --global-settings 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166/maven/settings.xml --settings 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166/maven/user-settings.xml 
-Dmaven.artifact.threads=6 -T 6"}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"SLF4J:
 Failed to load class \"org.slf4j.impl.StaticLoggerBinder\"."}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"SLF4J:
 Defaulting to no-operation (NOP) logger implementation"}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"SLF4J:
 See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details."}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"Apache
 Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)"}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"Maven
 home: 
/usr/share/maven/wrapper/dists/apache-maven-3.8.6-bin/5f1464e3/apache-maven-3.8.6"}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"Java
 version: 17.0.8.1, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk"}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"Default
 locale: en_US, platform encoding: UTF-8"}
   
{"level":"info","ts":"2023-12-22T16:14:36Z","logger":"camel-k.maven.build","msg":"OS
 name: \"linux\", version: \"5.15.49-linuxkit-pr\", arch: \"amd64\", family: 
\"unix\""}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.builder","msg":"running
 builder task package in context directory: 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"Executed
 command: ./mvnw jib:build -V --no-transfer-progress -Dstyle.color=never 
-Dmaven.repo.local=/etc/maven/m2 --global-settings 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166/maven/settings.xml --settings 
/tmp/kit-cm2rbqvrbkps73cbuidg-4244968166/maven/user-settings.xml 
-Dmaven.artifact.threads=6 -T 6 -P jib 
-Djib.to.image=docker.io/hguardado/camel-k-kit-cm2rbqvrbkps73cbuidg:2368668 
-Djib.from.image=eclipse-temurin:17"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"SLF4J:
 Failed to load class \"org.slf4j.impl.StaticLoggerBinder\"."}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"SLF4J:
 Defaulting to no-operation (NOP) logger implementation"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"SLF4J:
 See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details."}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"Apache
 Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"Maven
 home: 
/usr/share/maven/wrapper/dists/apache-maven-3.8.6-bin/5f1464e3/apache-maven-3.8.6"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"Java
 version: 17.0.8.1, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"Default
 locale: en_US, platform encoding: UTF-8"}
   
{"level":"info","ts":"2023-12-22T16:17:08Z","logger":"camel-k.maven.build","msg":"OS
 name: \"linux\", version: \"5.15.49-linuxkit-pr\", arch: \"amd64\", family: 
\"unix\""}
   {"level":"error","ts":"2023-12-22T16:17:49Z","logger":"camel-k","msg":"jib 
integration image containerization did not run successfully","error":": exit 
status 
1","stacktrace":"github.com/apache/camel-k/v2/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/v2/pkg/util/log.Errorf\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:227\ngithub.com/apache/camel-k/v2/pkg/builder.(*jibTask).Do\n\tgithub.com/apache/camel-k/v2/pkg/builder/jib.go:124\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:167"}
   
{"level":"info","ts":"2023-12-22T16:17:49Z","logger":"camel-k.controller.build","msg":"Build
 duration 
3m14.774239727s","request-namespace":"default","request-name":"timer-log","build-attempt":0,"build-result":"Failed","build-duration":194.774239727,"api-version":"camel.apache.org/v1","kind":"Build","ns":"default","name":"kit-cm2rbqvrbkps73cbuidg"}
   
{"level":"error","ts":"2023-12-22T16:17:49Z","logger":"camel-k.controller.build","msg":"Build
 kit-cm2rbqvrbkps73cbuidg failed: : exit status 
1","request-namespace":"default","request-name":"kit-cm2rbqvrbkps73cbuidg","api-version":"camel.apache.org/v1","kind":"Build","ns":"default","name":"kit-cm2rbqvrbkps73cbuidg","stacktrace":"github.com/apache/camel-k/v2/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).updateBuildStatus\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:216\ngithub.com/apache/camel-k/v2/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/v2/pkg/controller/build/monitor_routine.go:200"}
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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

Reply via email to