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/04/02 09:25:35 UTC

[PR] ci: backport JBang logging file appender and --java flag fix [camel]

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

   ## Summary
   Backport of a5a68ff6dc4 from main. Fixes 8 of 9 JBang IT test failures on 4.18.x:
   
   - **log4j2-no-color.properties**: Add missing file appender. Non-TTY environments (Docker/CI) use this config which only had a console appender. Tests calling `checkLogContains()` read `~/.camel/<pid>.log` which was never written, causing timeout failures in CmdStartStopITCase (3 tests) and RunCommandOnMqttITCase (2 tests)
   - **Run.java / ExportBaseCommand.java / KubernetesRun.java**: Add `--java` alias for `--java-version` and use `--java=` when invoking jbang. The `--java-version` flag is not recognized by jbang, causing failures in RunCommandITCase (2 tests) and VersionCommandITCase (1 test)
   
   ## Test plan
   - [ ] CmdStartStopITCase.testCmdStopByPID passes
   - [ ] CmdStartStopITCase.testCmdStartByPID passes
   - [ ] CmdStartStopITCase.testCamelWatch passes
   - [ ] RunCommandITCase.runSpecificVersionTest passes
   - [ ] VersionCommandITCase.executeAfterVersionSetTest passes
   - [ ] RunCommandOnMqttITCase.testStub passes
   - [ ] RunCommandOnMqttITCase.sendMessageWithoutEndpoint passes


-- 
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: backport JBang logging file appender and --java flag fix [camel]

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


-- 
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: backport JBang logging file appender and --java flag fix [camel]

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

   failures are not related


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