Aurélien Pupier created CAMEL-23209:
---------------------------------------
Summary: Regular failure of Smb* tests
Key: CAMEL-23209
URL: https://issues.apache.org/jira/browse/CAMEL-23209
Project: Camel
Issue Type: Test
Components: camel-smb
Affects Versions: 4.19.0
Reporter: Aurélien Pupier
it affects all OS on Ci
some of the failure stack:
{noformat}
org.opentest4j.AssertionFailedError: expected: <Good Bye> but was: <>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139)
at
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:201)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:184)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:179)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1188)
at
org.apache.camel.component.smb.SmbComponentConnectionIT.testOverride(SmbComponentConnectionIT.java:96){noformat}
{noformat}
com.github.dockerjava.api.exception.NotFoundException:
Status 404: {"message":"Could not find the file
data/rw/atomicRename/.done/atomicRenameScenario.txt in container
92a531c465939b1e95c56162476fd7a03428988214152df201104b8557d27dec"}
at
org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:241)
at
org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)
at
org.testcontainers.shaded.com.github.dockerjava.core.exec.CopyArchiveFromContainerCmdExec.execute(CopyArchiveFromContainerCmdExec.java:30)
at
org.testcontainers.shaded.com.github.dockerjava.core.exec.CopyArchiveFromContainerCmdExec.execute(CopyArchiveFromContainerCmdExec.java:13)
at
org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)
at
org.testcontainers.shaded.com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
at
org.testcontainers.shaded.com.github.dockerjava.core.command.CopyArchiveFromContainerCmdImpl.exec(CopyArchiveFromContainerCmdImpl.java:66)
at
org.testcontainers.containers.ContainerState.copyFileFromContainer(ContainerState.java:411)
at
org.apache.camel.test.infra.smb.services.SmbLocalContainerInfraService.smbFile(SmbLocalContainerInfraService.java:62)
at
org.apache.camel.test.infra.smb.services.SmbServiceFactory$SingletonSmbService.smbFile(SmbServiceFactory.java:51)
at
org.apache.camel.component.smb.AbstractSmbRenameIT.lambda$testCopyAndDeleteOnRenameFail$0(AbstractSmbRenameIT.java:83)
at
org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at
org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at
org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583) {noformat}
{noformat}
java.lang.NullPointerException: Cannot read the array length because "bytes" is
null
at java.base/java.lang.String.<init>(String.java:1475)
at
org.apache.camel.component.smb.SmbConsumerPartialReadIT.lambda$testMaxMessagesPerPoll$0(SmbConsumerPartialReadIT.java:53)
{noformat}
{noformat}
org.opentest4j.AssertionFailedError: expected: <Good Bye> but was: <>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139)
at
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:201)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:184)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:179)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1188)
at
org.apache.camel.component.smb.SmbComponentConnectionIT.testOverride(SmbComponentConnectionIT.java:96)
{noformat}
{noformat}
org.opentest4j.AssertionFailedError: expected: <Good Bye> but was: <>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139)
at
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:201)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:184)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:179)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1188)
at
org.apache.camel.component.smb.SmbComponentConnectionIT.testOverride(SmbComponentConnectionIT.java:96){noformat}
{noformat}
java.lang.NullPointerException: Cannot read the array length because "bytes"
is null
at java.base/java.lang.String.<init>(String.java:1475)
at
org.apache.camel.component.smb.SmbConsumerPartialReadIT.lambda$testMaxMessagesPerPoll$0(SmbConsumerPartialReadIT.java:53){noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)