Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
2
Description
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
[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