[
https://issues.apache.org/jira/browse/CAMEL-18972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-18972.
---------------------------------
Resolution: Cannot Reproduce
[INFO] --- failsafe:3.1.2:integration-test (integration-test) @ camel-minio ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.camel.component.minio.integration.MinioObjectRangeOperationIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.28 s
-- in org.apache.camel.component.minio.integration.MinioObjectRangeOperationIT
[INFO] Running org.apache.camel.component.minio.integration.MinioConsumerIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.394 s
-- in org.apache.camel.component.minio.integration.MinioConsumerIT
[INFO] Running
org.apache.camel.component.minio.integration.MinioListObjectsOperationIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.60 s
-- in org.apache.camel.component.minio.integration.MinioListObjectsOperationIT
[INFO] Running org.apache.camel.component.minio.integration.MinioComponentIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.563 s
-- in org.apache.camel.component.minio.integration.MinioComponentIT
[INFO] Running
org.apache.camel.component.minio.integration.MinioDeleteBucketOperationIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.348 s
-- in org.apache.camel.component.minio.integration.MinioDeleteBucketOperationIT
[INFO] Running
org.apache.camel.component.minio.integration.MinioCopyObjectOperationIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.024 s
-- in org.apache.camel.component.minio.integration.MinioCopyObjectOperationIT
[INFO] Running org.apache.camel.component.minio.integration.MinioPresignedUrlIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.03 s
-- in org.apache.camel.component.minio.integration.MinioPresignedUrlIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
> camel-minio - Unable to run integration tests on m1 max macbook pro
> -------------------------------------------------------------------
>
> Key: CAMEL-18972
> URL: https://issues.apache.org/jira/browse/CAMEL-18972
> Project: Camel
> Issue Type: Test
> Components: camel-minio
> Affects Versions: 3.18.0, 3.20.1, 4.0.0
> Environment: Macbook pro m1
> macOS 12.6.2
> Docker version 20.10.21
> java jdk 17 for camel 4.0 and java 8/11 for versions below that
>
> Reporter: Hitesh C
> Priority: Minor
>
> Hi,
> I am working on some customisation of camel-minio component. The integration
> tests written for it are failing due to some issue with connectivity with
> testcontainers on m1 Max mac book pro .
> log snippet:
> ```
> ErrorResponse(code = XMinioServerNotInitialized, message = Server not
> initialized, please try again., bucketName = mycamel, objectName = null,
> resource = /mycamel, requestId = 173D2C3AD8A1384E, hostId =
> e7662b13-45a2-4748-866b-0ee7a07cf096)
> request={method=GET, url=http://localhost:59988/mycamel?location=,
> headers=Host: localhost:59988
> Accept-Encoding: identity
> User-Agent: MinIO (Mac OS X; aarch64) minio-java/8.5.1
> Content-MD5: 1B2M2Y8AsgTpgAmY7PhCfg==
> x-amz-content-sha256:
> e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
> x-amz-date: 20230124T065427Z
> Authorization: ??
> }
> response={code=503, headers=Accept-Ranges: bytes
> Content-Length: 306
> Content-Security-Policy: block-all-mixed-content
> Content-Type: application/xml
> Retry-After: 120
> Server: MinIO
> Strict-Transport-Security: max-age=31536000; includeSubDomains
> Vary: Origin
> Vary: Accept-Encoding
> X-Amz-Request-Id: 173D2C3AD8A1384E
> X-Content-Type-Options: nosniff
> X-Xss-Protection: 1; mode=block
> Date: Tue, 24 Jan 2023 06:54:27 GMT
> }
> at io.minio.S3Base$1.onResponse(S3Base.java:690)
> at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:833)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]
> MinioComponentIT>CamelTestSupport.setUp:377->CamelTestSupport.doSetUp:539->CamelTestSupport.startCamelContext:763
> ? FailedToStartRoute
> [ERROR]
> MinioComponentIT>CamelTestSupport.setUp:377->CamelTestSupport.doSetUp:539->CamelTestSupport.startCamelContext:763
> ? FailedToStartRoute
> [ERROR]
> MinioConsumerIT>CamelTestSupport.setUp:377->CamelTestSupport.doSetUp:539->CamelTestSupport.startCamelContext:763
> ? FailedToStartRoute
> ```
>
> The same test cases run alright on x86 linux machines.
>
> I have tried a lot of solutions provided by forums including the following
> dependency
>
> <dependency>
> <groupId>net.java.dev.jna</groupId>
> <artifactId>jna</artifactId>
> <version></version>
> <scope>test</scope>
> </dependency>
>
> but none of them resolved the issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)