orpiske commented on issue #2357:
URL: https://github.com/apache/camel-k/issues/2357#issuecomment-854642784
That's strange. I couldn't reproduce it locally with Kind:
```
"camel.apache.org/v1","kind":"IntegrationKit","ns":"default","name":"kit-c2t0tc9l9vhc73cabvr0"}
{"level":"info","ts":1622806193.95723,"logger":"camel-k.controller.integrationkit","msg":"Build
running","request-namespace":"default","request-name":"kit-c2t0tc9l9vhc73cabvr0","api-version":"camel.apache.org/v1","kind":"IntegrationKit","ns":"default","name":"kit-c2t0tc9l9vhc73cabvr0"}
{"level":"info","ts":1622806194.7588568,"logger":"camel-k.maven.build","msg":"Scanning
for projects..."}
{"level":"info","ts":1622806194.882751,"logger":"camel-k.maven.build","msg":""}
{"level":"info","ts":1622806194.8841245,"logger":"camel-k.maven.build","msg":"---------<
org.apache.camel.k.integration:camel-k-integration >---------"}
{"level":"info","ts":1622806194.884275,"logger":"camel-k.maven.build","msg":"Building
camel-k-integration 1.5.0-SNAPSHOT"}
{"level":"info","ts":1622806194.8844318,"logger":"camel-k.maven.build","msg":"--------------------------------[
jar ]---------------------------------"}
{"level":"info","ts":1622806195.3380582,"logger":"camel-k.maven.build","msg":"Downloading
from central:
https://repo.maven.apache.org/maven2/non/esistent/1.0.0/esistent-1.0.0.pom"}
...
{"level":"info","ts":1622806209.392437,"logger":"camel-k.maven.build","msg":"Downloading
from repository-000:
http://server-reddacted.com:8081/artifactory/fuse-brno/non/esistent/1.0.0/esistent-1.0.0.jar"}
{"level":"info","ts":1622806215.2459319,"logger":"camel-k.maven.build","msg":"------------------------------------------------------------------------"}
{"level":"info","ts":1622806215.2460566,"logger":"camel-k.maven.build","msg":"BUILD
FAILURE"}
{"level":"info","ts":1622806215.2462444,"logger":"camel-k.maven.build","msg":"------------------------------------------------------------------------"}
{"level":"info","ts":1622806215.2476346,"logger":"camel-k.maven.build","msg":"Total
time: 20.503 s"}
{"level":"info","ts":1622806215.2479131,"logger":"camel-k.maven.build","msg":"Finished
at: 2021-06-04T11:30:15Z"}
{"level":"info","ts":1622806215.2480662,"logger":"camel-k.maven.build","msg":"------------------------------------------------------------------------"}
{"level":"error","ts":1622806215.2486935,"logger":"camel-k.maven.build","msg":"Failed
to execute goal on project camel-k-integration: Could not resolve dependencies
for project
org.apache.camel.k.integration:camel-k-integration:jar:1.5.0-SNAPSHOT: Could
not find artifact non:esistent:jar:1.0.0 in central
(https://repo.maven.apache.org/maven2) -> [Help
1]","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:146"}
{"level":"error","ts":1622806215.248822,"logger":"camel-k.maven.build","msg":"","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:146"}
{"level":"error","ts":1622806215.2489617,"logger":"camel-k.maven.build","msg":"To
see the full stack trace of the errors, re-run Maven with the -e
switch.","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/bui
ld/monitor_routine.go:146"}
{"level":"error","ts":1622806215.249089,"logger":"camel-k.maven.build","msg":"Re-run
Maven using the -X switch to enable full debug
logging.","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_rou
tine.go:146"}
{"level":"error","ts":1622806215.2493463,"logger":"camel-k.maven.build","msg":"","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:146"}
{"level":"error","ts":1622806215.2493834,"logger":"camel-k.maven.build","msg":"For
more information about the errors and possible solutions, please read the
following
articles:","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/came
l-k/pkg/controller/build/monitor_routine.go:146"}
{"level":"error","ts":1622806215.2494867,"logger":"camel-k.maven.build","msg":"[Help
1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException","stacktrace":"github.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:62\ngithub.com/apache/camel-k/pkg/util/maven.(*Command).Do\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_command.go:140\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.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/co
ntroller/build/monitor_routine.go:146"}
{"level":"info","ts":1622806215.2746847,"logger":"camel-k.builder","msg":"step
failed with error: failure while building project: exit status
1","step":"github.com/apache/camel-k/pkg/builder/BuildQuarkusRunner","phase":"20","task":"builder"}
{"level":"info","ts":1622806215.2747183,"logger":"camel-k.builder","msg":"dependencies:
[camel:core camel:log camel:timer mvn:non:esistent:1.0.0
mvn:org.apache.camel.k:camel-k-loader-yaml
mvn:org.apache.camel.k:camel-k-runtime]"}
{"level":"info","ts":1622806215.274724,"logger":"camel-k.builder","msg":"artifacts:
[]"}
{"level":"info","ts":1622806215.2747273,"logger":"camel-k.builder","msg":"artifacts
selected: []"}
{"level":"info","ts":1622806215.2747307,"logger":"camel-k.builder","msg":"base
image: "}
{"level":"info","ts":1622806215.2747333,"logger":"camel-k.builder","msg":"resolved
base image: "}
{"level":"error","ts":1622806215.275296,"logger":"camel-k.controller.build","msg":"Build
kit-c2t0tc9l9vhc73cabvr0 failed: failure while building project: exit status
1","request-namespace":"default","request-name":"kit-c2t0tc9l9vhc73cabvr0","api-version":"camel.apache.org/v1","kind":"Build","ns":"default","name":"kit-c2t0tc9l9vhc73cabvr0","stacktrace":"github.com/apache/camel-k/pkg/controller/build.(*monitorRoutineAction).updateBuildStatus\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:191\ngithub.com/apache/camel-k/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:175"}
```
It looks like as if the build has been cancelled before the messages could
be read and parsed.
@astefanutti do you think it could be an edge case of #2269 ?
--
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]