Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Cannot Reproduce
-
3.18.0, 3.20.1, 4.0.0
-
None
-
None
-
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
-
Unknown
Description
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=
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.