You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "zbendhiba (via GitHub)" <gi...@apache.org> on 2026/05/26 12:23:16 UTC
[I] Camel Quarkus 3.36.0 - FTP test failing in Quarkus platform [camel-quarkus]
zbendhiba opened a new issue, #8700:
URL: https://github.com/apache/camel-quarkus/issues/8700
### Bug description
Build - JDK 17
- Failing: Root module quarkus-camel/integration-tests/camel-quarkus-integration-test-ftp
📦 generated-platform-project/quarkus-camel/integration-tests/camel-quarkus-integration-test-ftp
# Tests: 9
+ Success: 8
- Failures: 1
- Errors: 0
! Skipped: 0
❌ org.apache.camel.quarkus.component.sftp.it.SftpTest.testCertificateAuthenticationWithFile line 113 -
Details
📦 quarkus-camel/integration-tests/camel-quarkus-integration-test-ftp
❌ Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project camel-quarkus-integration-test-ftp: There are test failures.
Details
```
java.lang.AssertionError:
1 expectation failed.
Expected status code <201> but was <500>.
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:516)
at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:714)
at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:139)
at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:147)
```
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Camel Quarkus 3.36.0 - FTP test failing in Quarkus platform [camel-quarkus]
Posted by "JiriOndrusek (via GitHub)" <gi...@apache.org>.
JiriOndrusek commented on issue #8700:
URL: https://github.com/apache/camel-quarkus/issues/8700#issuecomment-4991760734
Hi @gansheer , do you think it would be possible to backport the fix aldso to 3.33 branch? I encountered this in the quarkus-platform [3.33], see https://github.com/quarkusio/quarkus-platform/pull/2061#issuecomment-4991744472
--
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: [I] Camel Quarkus 3.36.0 - FTP test failing in Quarkus platform [camel-quarkus]
Posted by "zbendhiba (via GitHub)" <gi...@apache.org>.
zbendhiba commented on issue #8700:
URL: https://github.com/apache/camel-quarkus/issues/8700#issuecomment-4544079484
I guess it's one of those tests running on quarkus platform with a certificate
FYI @gansheer
--
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: [I] Camel Quarkus 3.36.0 - FTP test failing in Quarkus platform [camel-quarkus]
Posted by "zbendhiba (via GitHub)" <gi...@apache.org>.
zbendhiba commented on issue #8700:
URL: https://github.com/apache/camel-quarkus/issues/8700#issuecomment-4544059538
It fails also locally
```
[ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.867 s <<< FAILURE! - in org.apache.camel.quarkus.component.sftp.it.SftpTest
[ERROR] org.apache.camel.quarkus.component.sftp.it.SftpTest.testCertificateAuthenticationWithFile Time elapsed: 2.06 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <201> but was <500>.
at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:516)
at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:714)
at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:139)
at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:147)
at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
at org.apache.camel.quarkus.component.sftp.it.SftpTest.testCertificateAuthenticationWithFile(SftpTest.java:113)
Suppressed: org.jboss.resteasy.spi.UnhandledException: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[]
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:107)
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:344)
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:210)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:457)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invokePropagateNotFound$0(SynchronousDispatcher.java:280)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:159)
at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:162)
at org.jboss.resteasy.core.SynchronousDispatcher.invokePropagateNotFound(SynchronousDispatcher.java:265)
at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:86)
at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:151)
at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:97)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$15.runWith(VertxCoreRecorder.java:677)
at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2651)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2630)
at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1622)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1589)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:11)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:11)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[]
at org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45)
at org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:701)
at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:594)
at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:590)
at org.apache.camel.impl.engine.DefaultProducerTemplate.sendBodyAndHeader(DefaultProducerTemplate.java:220)
at org.apache.camel.impl.engine.DefaultProducerTemplate.sendBodyAndHeader(DefaultProducerTemplate.java:212)
at org.apache.camel.quarkus.component.sftp.it.SftpResource.createFileWithCertificateFile(SftpResource.java:128)
at org.apache.camel.quarkus.component.sftp.it.SftpResource_ClientProxy.createFileWithCertificateFile(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:154)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:118)
at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:560)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:452)
at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:413)
at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:415)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:378)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:356)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:70)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:434)
... 17 more
Caused by: org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://admin@localhost:59380
at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:146)
at org.apache.camel.component.file.remote.RemoteFileProducer.connectIfNecessary(RemoteFileProducer.java:209)
at org.apache.camel.component.file.remote.RemoteFileProducer.doPreWriteCheck(RemoteFileProducer.java:141)
at org.apache.camel.component.file.remote.RemoteFileProducer.preWriteCheck(RemoteFileProducer.java:112)
at org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:126)
at org.apache.camel.component.file.remote.RemoteFileProducer.doProcess(RemoteFileProducer.java:65)
at org.apache.camel.component.file.GenericFileProducer.process(GenericFileProducer.java:66)
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.processNonTransacted(SharedCamelInternalProcessor.java:156)
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:133)
at org.apache.camel.impl.engine.SharedCamelInternalProcessor$1.process(SharedCamelInternalProcessor.java:89)
at org.apache.camel.impl.engine.DefaultAsyncProcessorAwaitManager.process(DefaultAsyncProcessorAwaitManager.java:81)
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:86)
at org.apache.camel.support.cache.DefaultProducerCache.send(DefaultProducerCache.java:180)
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:175)
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:171)
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:152)
at org.apache.camel.impl.engine.DefaultProducerTemplate.sendBodyAndHeader(DefaultProducerTemplate.java:218)
... 32 more
Caused by: com.jcraft.jsch.JSchException: Cannot read certificate file: target/classes/certs/test-key-rsa-cert.pub
at org.apache.camel.component.file.remote.SftpOperations.resolveCertificateBytes(SftpOperations.java:505)
at org.apache.camel.component.file.remote.SftpOperations.createSession(SftpOperations.java:246)
at org.apache.camel.component.file.remote.SftpOperations.tryConnect(SftpOperations.java:168)
at org.apache.camel.support.task.BlockingTask.lambda$run$0(BlockingTask.java:45)
at org.apache.camel.support.task.ForegroundTask.doRun(ForegroundTask.java:143)
at org.apache.camel.support.task.ForegroundTask.run(ForegroundTask.java:108)
at org.apache.camel.support.task.BlockingTask.run(BlockingTask.java:45)
at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:144)
... 48 more
Caused by: java.io.FileNotFoundException: target/classes/certs/test-key-rsa-cert.pub does not exist
at org.apache.camel.impl.engine.DefaultResourceResolvers$FileResolver$1.getInputStream(DefaultResourceResolvers.java:76)
at org.apache.camel.support.ResourceHelper.resolveResourceAsInputStream(ResourceHelper.java:135)
at org.apache.camel.support.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:113)
at org.apache.camel.component.file.remote.SftpOperations.resolveCertificateBytes(SftpOperations.java:499)
... 55 more
2026-05-26 14:09:07,874 INFO [org.apache.camel.impl.engine.AbstractCamelContext] (main) Apache Camel 4.20.0 (camel-3) is shutting down (timeout:45s)
2026-05-26 14:09:07,874 INFO [org.apache.camel.impl.engine.AbstractCamelContext] (main) Routes stopped (total:0)
2026-05-26 14:09:07,874 INFO [org.apache.camel.impl.engine.AbstractCamelContext] (main) Apache Camel 4.20.0 (camel-3) shutdown in 0ms (uptime:5s)
2026-05-26 14:09:07,876 INFO [io.quarkus] (main) camel-quarkus-integration-test-ftp stopped in 0.004s
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] SftpTest.testCertificateAuthenticationWithFile:113 1 expectation failed.
Expected status code <201> but was <500>.
[INFO]
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
```
--
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: [I] Camel Quarkus 3.36.0 - FTP test failing in Quarkus platform [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #8700: Camel Quarkus 3.36.0 - FTP test failing in Quarkus platform
URL: https://github.com/apache/camel-quarkus/issues/8700
--
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