You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2023/01/29 06:57:00 UTC
[jira] [Closed] (HUDI-5638) Cannot run tests in hudi-metaserver-server module
[ https://issues.apache.org/jira/browse/HUDI-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Xu closed HUDI-5638.
----------------------------
Resolution: Fixed
> Cannot run tests in hudi-metaserver-server module
> -------------------------------------------------
>
> Key: HUDI-5638
> URL: https://issues.apache.org/jira/browse/HUDI-5638
> Project: Apache Hudi
> Issue Type: Bug
> Components: tests-ci
> Reporter: Ethan Guo
> Assignee: Raymond Xu
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 0.13.0
>
>
> After adding metaserver module to the root pom, CI starts to fail complaining not able to run tests in hudi-metaserver-server module. Running this can reproduce the test failure: {{mvn test -Punit-tests -pl hudi-platform-service/hudi-metaserver/hudi-metaserver-server -am -DfailIfNoTests=false -DwildcardSuites="abc" -Dtest=TestHoodieMetaserver}}
> {code:java}
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Hudi 0.14.0-SNAPSHOT:
> [INFO]
> [INFO] Hudi ............................................... SUCCESS [ 2.028 s]
> [INFO] hudi-tests-common .................................. SUCCESS [ 0.862 s]
> [INFO] hudi-common ........................................ SUCCESS [ 6.333 s]
> [INFO] hudi-platform-service .............................. SUCCESS [ 0.124 s]
> [INFO] hudi-metaserver .................................... SUCCESS [ 1.468 s]
> [INFO] hudi-metaserver-server ............................. FAILURE [ 3.442 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 14.801 s
> [INFO] Finished at: 2023-01-28T11:43:08-08:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project hudi-metaserver-server: groups/excludedGroups require TestNG, JUnit48+ or JUnit 5 on project test classpath -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <args> -rf :hudi-metaserver-server {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)