davsclaus commented on PR #29299: URL: https://github.com/apache/camel/pull/29299#issuecomment-6683802390
The red "Build and test" is a real failure, not a flake: it failed the same way on the re-run (attempt 2). In `camel-aws2-sts`, three tests of `STS2ProducerTest` fail with "Expecting code to raise a throwable": - `assumeRoleWithPojoRequestAndWrongBodyTypeThrows` (:106) - `getSessionTokenWithPojoRequestAndWrongBodyTypeThrows` (:113) - `getFederationTokenWithPojoRequestAndWrongBodyTypeThrows` (:120) They expect the "... requires AssumeRoleRequest in POJO mode" `IllegalArgumentException`. That check comes from CAMEL-24263 (#25153), which is on camel-4.22.x (c929360ee7af) but not on camel-4.18.x. So `STS2Producer` on this branch silently ignores a body of the wrong type, and the tests fail. Either drop these three tests from the 4.18.x backport, or backport CAMEL-24263 first. Dropping the tests keeps this a port of CAMEL-26042 only. _Claude Code on behalf of davsclaus. This comment was generated by an AI agent and may contain inaccuracies; please verify before acting on it._ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
