You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/01/26 17:27:00 UTC

[jira] [Updated] (CAMEL-18972) camel-minio - Unable to run integration tests on m1 max macbook pro

     [ https://issues.apache.org/jira/browse/CAMEL-18972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-18972:
--------------------------------
    Summary: camel-minio - Unable to run integration tests on m1 max macbook pro  (was: Unable to run integration tests on m1 max macbook pro)

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