phantomjinx opened a new issue, #3708:
URL: https://github.com/apache/camel-k/issues/3708

   See example failure log 
[here](https://github.com/openshift-integration/camel-k-testing-ocp4/actions/runs/3153692479/jobs/5130450616).
   
   Running the test locally, I can repeat the failure and found it is the 
integration kit that generates an error. This is due to the github dependency 
not being found:
   ```
   
{"level":"error","ts":1664568016.4109485,"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.11.0-SNAPSHOT: 
org.apache.camel.example:sample:jar:1.0 was not found in 
https://repository.apache.org/content/repositories/snapshots during a previous 
attempt. This failure was cached in the local repository and resolution is not 
reattempted until the update interval of apache-snapshots has elapsed or 
updates are forced -> [Help 
1]","stacktrace":"github.com/apache/camel-k/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k/pkg/util/log/log.go:60\ngithub.com/apache/camel-k/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:75\ngithub.com/apache/camel-k/pkg/util/maven.mavenLogHandler\n\tgithub.com/apache/camel-k/pkg/util/maven/maven_log.go:53\ngithub.com/apache/camel-k/pkg/util.RunAndLog.func1\n\tgithub.com/apache/c
 
amel-k/pkg/util/command.go:58\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20220601150217-0de741cfad7f/errgroup/errgroup.go:75"}
   ```
   
   I can confirm using verbose logging and adding some print statements that 
the process of downloading the jar dependency and uploading it as an image to 
the OCP4 registry is executed:
   ```
   Artifact http path  
test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom
   spectrum - 2022/10/01 00:04:03 Pulling base image  (insecure=true)...
   spectrum - 2022/10/01 00:04:03 Composing layers...
   spectrum - 2022/10/01 00:04:03 Pushing image 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom:1.0
 (insecure=true)...
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:ad1c053ef0b4e353c44cd805a8d4c25ecfd13f30ef669ed4aad66bf44d39f33b
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:c600cb2a3f711bc95794a9f76b0eb8b25baa358d27a47fe389b65fbf121f6315
   spectrum - 2022/10/01 00:04:03 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom:1.0:
 digest: 
sha256:28c31355187fbce117e23eb2c3d94487b4f48b210f051d564846fd6cf9205e5d size: 
423
   Uploaded: /tmp/camel-k1004906173/pom.xml to 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom:1.0
 
   spectrum - 2022/10/01 00:04:03 Pulling base image  (insecure=true)...
   spectrum - 2022/10/01 00:04:03 Composing layers...
   spectrum - 2022/10/01 00:04:03 Pushing image 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom_md5:1.0
 (insecure=true)...
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:2c6704a8e294cf1506837f859b4041d4ff6b6cd2b568c63fbb348eeac2cbb963
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:8e80a3fca699e3536dfd74d1b3d109d5883a583038b46147c0991d8810315cba
   spectrum - 2022/10/01 00:04:03 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom_md5:1.0:
 digest: 
sha256:a9eb77988bd626841a6bc032056bef147dc81f824b8c06115c18cda599d63e01 size: 
423
   spectrum - 2022/10/01 00:04:03 Pulling base image  (insecure=true)...
   spectrum - 2022/10/01 00:04:03 Composing layers...
   spectrum - 2022/10/01 00:04:03 Pushing image 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom_sha1:1.0
 (insecure=true)...
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:488f58133fe9651f30b5e5079b014659caf28fdd3c7691d2ccc54382eb7abdf5
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:1e0e60be433e1f2acbc9b0334453d19098cfc4be7d4398d652185fa2b5bbdb8c
   spectrum - 2022/10/01 00:04:03 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_pom_sha1:1.0:
 digest: 
sha256:a8a66c149d0356a326660ce5631295214eeba47a5a60bed898ad72966710de77 size: 
423
   Added mvn:org.apache.camel.example:sample:jar:1.0 to the Integration's 
dependency list 
   Added mvn:org.apache.camel.example:sample:jar:1.0 to the Integration's 
dependency list 
   Artifact http path  
test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar
   spectrum - 2022/10/01 00:04:03 Pulling base image  (insecure=true)...
   spectrum - 2022/10/01 00:04:03 Composing layers...
   spectrum - 2022/10/01 00:04:03 Pushing image 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar:1.0
 (insecure=true)...
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:d55fb5a992a3f1fe245a210a2dbdcaac8a2799af3defee43772f40c63f1e3be9
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:83270fb874bd7790c08692dccac22f6f8da9068f0f2822a7fa4949e78d44f377
   spectrum - 2022/10/01 00:04:03 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar:1.0:
 digest: 
sha256:b4839e4e30fa1823e5813d88764c42fc2c433011bea74e100ed310c1ab5c84ec size: 
424
   Uploaded: /tmp/832819540.sample-1.0.jar to 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar:1.0
 
   spectrum - 2022/10/01 00:04:03 Pulling base image  (insecure=true)...
   spectrum - 2022/10/01 00:04:03 Composing layers...
   spectrum - 2022/10/01 00:04:03 Pushing image 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar_md5:1.0
 (insecure=true)...
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:f630d69619d32d17ab4fd9a0f0c59e61d6d10eb65798d6d1cb1983da116aee7f
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:9ccd1eb5bac15371c39ba63c140fc372fb262910b2f1d60fc849ccf773dd7b8d
   spectrum - 2022/10/01 00:04:03 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar_md5:1.0:
 digest: 
sha256:280be2df8f59721e3c3400c684719d86a431780df15a3f83246f7fc4ef60c24c size: 
423
   spectrum - 2022/10/01 00:04:03 Pulling base image  (insecure=true)...
   spectrum - 2022/10/01 00:04:03 Composing layers...
   spectrum - 2022/10/01 00:04:03 Pushing image 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar_sha1:1.0
 (insecure=true)...
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:0397347ccf687166570ae10c129035f4234259e42e377330a099c26c17c82cf7
   spectrum - 2022/10/01 00:04:03 pushed blob: 
sha256:9a9ee632789b493c99ac5063559e4331b26189cf24bb706ca4f533f0aa60be12
   spectrum - 2022/10/01 00:04:03 
image-registry.openshift-image-registry.svc:5000/test-72890e77-18e5-4691-ade9-766d603dd3e0/maven_org_apache_camel_example_sample_1_0_sample-1_0_jar_sha1:1.0:
 digest: 
sha256:269e5ebf5ca0d6d420ee06f6ca7d1c426a073c533ea100d2a8a271e17d0915af size: 
423
   Integration "classpath" created
   ```
   
   This test succeeds on `kind`, although the type of registry being used is 
different (external v internal). Can we confirm that this logging looks 
correct? Any paths or hostnames that may be incorrect?
   
   Any thoughts, please comment. Thanks.
   


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

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

Reply via email to