You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Croway (via GitHub)" <gi...@apache.org> on 2026/05/04 13:50:19 UTC

[PR] ci: fix JBang IT tests on main [camel]

Croway opened a new pull request, #22922:
URL: https://github.com/apache/camel/pull/22922

   ## Summary
   
   - Add missing `install` goal to the Maven build step in `Jenkinsfile.jbangtest` — without it, SNAPSHOT artifacts are never placed in the local Maven repository, causing the subsequent IT test steps to fail with unresolved dependencies on ephemeral EC2 agents
   - Make `jbang version --update` non-fatal in the Dockerfile (`|| true`) — when jbang is already at the latest version, the update command returns exit code 1 which aborts the Docker image build
   
   ## Root Cause
   
   The pipeline runs `./mvnw ... -Dquickly clean` but never `install`. On agents with a warm `.m2` cache (e.g. from a previous Snapshot Deploy), the IT tests can resolve `4.21.0-SNAPSHOT` artifacts. On fresh ephemeral agents, they fail immediately with:
   ```
   Could not find artifact org.apache.camel:camel-test-infra-common:jar:4.21.0-SNAPSHOT
   ```
   
   Build history confirms: 6 out of 7 recent builds failed in ~3 minutes (dependency resolution). The single success (build 445) landed on an agent with cached SNAPSHOTs.
   
   The same `install` fix was already applied to `camel-4.18.x` in commit dff1285a9ca.
   
   ## Test plan
   
   - [ ] Verify the next JBang IT Tests build on `main` passes the dependency resolution stage
   - [ ] Verify Docker image builds succeed (no `jbang version --update` exit code 1)


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] ci: fix JBang IT tests on main [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22922:
URL: https://github.com/apache/camel/pull/22922#issuecomment-4371710650

   <!-- ci-tested-modules -->
   :information_source: CI did not run targeted module tests (root project files changed).
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/25322860579)


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] ci: fix JBang IT tests on main [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #22922:
URL: https://github.com/apache/camel/pull/22922#issuecomment-4371617087

   A bit surprise on that exit 1 so I asking in jbang
   https://github.com/orgs/jbangdev/discussions/2457


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] ci: fix JBang IT tests on main [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22922:
URL: https://github.com/apache/camel/pull/22922#issuecomment-4371595392

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] ci: fix JBang IT tests on main [camel]

Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway merged PR #22922:
URL: https://github.com/apache/camel/pull/22922


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] ci: fix JBang IT tests on main [camel]

Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on PR #22922:
URL: https://github.com/apache/camel/pull/22922#issuecomment-4371609008

   @mcarlett 


-- 
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-unsubscribe@camel.apache.org

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