You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2023/02/25 11:32:00 UTC

[jira] [Created] (AMBARI-25869) Upgrade TestContainers for fixing functional tests

Kengo Seki created AMBARI-25869:
-----------------------------------

             Summary: 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


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: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org