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

Zhiguo Wu updated AMBARI-25869:
-------------------------------
    Fix Version/s: 2.8.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Upgrade TestContainers for fixing functional tests
> --------------------------------------------------
>
>                 Key: AMBARI-25869
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25869
>             Project: Ambari
>          Issue Type: Improvement
>          Components: test
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Major
>             Fix For: 2.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently, running functional tests fails with the following error:
> {code}
> $ mvn clean verify -f ambari-funtest/pom.xml
> ...
> [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.064 
> s <<< FAILURE! - in org.apache.ambari.funtest.server.tests.db.DDLCreateIT
> [ERROR] mysql(org.apache.ambari.funtest.server.tests.db.DDLCreateIT)  Time 
> elapsed: 0.842 s  <<< ERROR!
> com.github.dockerjava.api.exception.NotFoundException:
> {"message":"No such image: quay.io/testcontainers/ryuk:0.2.2"}
>         at 
> org.apache.ambari.funtest.server.tests.db.DDLCreateIT.lambda$mysql$0(DDLCreateIT.java:42)
>         at 
> org.apache.ambari.funtest.server.tests.db.DDLCreateIT.testSchemaCreate(DDLCreateIT.java:53)
>         at 
> org.apache.ambari.funtest.server.tests.db.DDLCreateIT.mysql(DDLCreateIT.java:42)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   DDLCreateIT.mysql:42->testSchemaCreate:53->lambda$mysql$0:42 ยป 
> NotFound {"mess...
> [INFO]
> [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 3
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.20:verify (run-verify) @ ambari-funtest ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  13.497 s
> [INFO] Finished at: 2023-02-25T20:14:53+09:00
> [INFO] 
> ------------------------------------------------------------------------
> {code}
> Upgrading TestContainers to recent version fixes this problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to