Croway opened a new pull request, #2139:
URL: https://github.com/apache/camel-spring-boot/pull/2139

   ## Summary
   
   Since #308 (2026-11-30), the Camel-Spring-Boot Daily 
`camel-spring-boot-4.18.x` job fails on six FTP consumer tests 
(`FromFtpFilterTest`, `FromFtpMoveFileRecursiveTest`, 
`FromFtpToBinaryFileTest`, `FtpAnonymousTest`, 
`FtpConsumerMaxMessagesPerPollTest`, 
`FtpSimpleConsumeStreamingStepwiseFalseTest`), all with `mock://result Received 
message count ... but was: <0>`. The test output shows:
   
   ```
   java.lang.NoSuchMethodError: 'boolean 
org.apache.camel.component.file.GenericFileHelper.isWithinRemoteDirectory(java.lang.String,
 java.lang.String)'
       at 
org.apache.camel.component.file.remote.RemoteFileConsumer.isWithinStartingDirectory(RemoteFileConsumer.java:72)
 ~[camel-ftp-4.18.7-SNAPSHOT.jar:4.18.7-SNAPSHOT]
       at 
org.apache.camel.component.file.GenericFileConsumer.isWithinStartingDirectory(GenericFileConsumer.java:720)
 ~[camel-file-4.18.6.jar:4.18.6]
   ```
   
   **Cause:** this is the same issue as #2135 on 4.22.x. After the 4.18.6 
release, `camel-version` moved to `4.18.7-SNAPSHOT`, but the generated 
`camel-spring-boot-dependencies` and `camel-spring-boot-bom` were not 
regenerated. They still pinned every Camel artifact to the released `4.18.6`. 
`camel-ftp-starter` declares `camel-ftp` with `${camel-version}` 
(4.18.7-SNAPSHOT) and gets `camel-file` through the BOM (4.18.6). The 
CAMEL-27453 backport on Camel `camel-4.18.x` added 
`GenericFileHelper.isWithinRemoteDirectory` to `camel-file` and calls it from 
`camel-ftp`, so the mixed jars fail at runtime.
   
   **Change:** this is the usual post-release regen, the same as #2059. It was 
produced by the BOM generators 
(`tooling/camel-spring-boot-dependencies-generator` and 
`tooling/camel-spring-boot-bom-generator`). The diff only changes versions, 
from `4.18.6` to `4.18.7-SNAPSHOT`: 514 `org.apache.camel` artifacts, 3 
`org.apache.camel.maven` plugins and the BOM's own entry. Nothing is added or 
removed.
   
   ## Test plan
   
   - [x] `mvn dependency:tree` on `camel-ftp-starter`: `camel-file` now 
resolves to 4.18.7-SNAPSHOT (it was 4.18.6)
   - [x] With the old BOMs, the six FTP tests fail locally with the same 
`NoSuchMethodError` (`camel-file-4.18.6.jar` on the classpath). With the 
regenerated BOMs, all seven test methods pass.
   
   Not covered here: `EarlyResolvedPropertiesTest` 
(camel-hashicorp-vault-starter) also failed in Daily #308, because 
mirror.gcr.io returned HTTP 429 (pull quota exceeded) for 
`hashicorp/vault:1.21.3`. It passed on its rerun in the same build.
   
   _Claude Code (Opus 5.5) on behalf of Federico Mariani_
   


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

Reply via email to