weibin0516 created KYLIN-4078: --------------------------------- Summary: Fix DefaultSchedulerTest.testMetaStoreRecover unit test fail Key: KYLIN-4078 URL: https://issues.apache.org/jira/browse/KYLIN-4078 Project: Kylin Issue Type: Test Affects Versions: v3.0.0 Reporter: weibin0516 Assignee: weibin0516 Attachments: error.png
When run `mvn clean test` got error as follow: {code:java} [INFO] [ERROR] Errors: [ERROR] DefaultSchedulerTest.testMetaStoreRecover:189->BaseSchedulerTest.waitForJobFinish:107 ยป Runtime [INFO] [ERROR] Tests run: 28, Failures: 0, Errors: 1, Skipped: 2 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Kylin 3.0.0-SNAPSHOT ........................ SUCCESS [ 4.856 s] [INFO] Apache Kylin - Core Common ......................... SUCCESS [ 32.858 s] [INFO] Apache Kylin - Core Metadata ....................... SUCCESS [ 59.055 s] [INFO] Apache Kylin - Core Dictionary ..................... SUCCESS [03:55 min] [INFO] Apache Kylin - Core Cube ........................... SUCCESS [02:34 min] [INFO] Apache Kylin - Core Metrics ........................ SUCCESS [ 2.071 s] [INFO] Apache Kylin - Core Job ............................ FAILURE [02:33 min] [INFO] Apache Kylin - Core Storage ........................ SKIPPED [INFO] Apache Kylin - Stream Core ......................... SKIPPED [INFO] Apache Kylin - MapReduce Engine .................... SKIPPED [INFO] Apache Kylin - Spark Engine ........................ SKIPPED [INFO] Apache Kylin - Hive Source ......................... SKIPPED [INFO] Apache Kylin - DataSource SDK ...................... SKIPPED [INFO] Apache Kylin - Jdbc Source ......................... SKIPPED [INFO] Apache Kylin - Kafka Source ........................ SKIPPED [INFO] Apache Kylin - Cache ............................... SKIPPED [INFO] Apache Kylin - HBase Storage ....................... SKIPPED [INFO] Apache Kylin - Query ............................... SKIPPED [INFO] Apache Kylin - Metrics Reporter Hive ............... SKIPPED [INFO] Apache Kylin - Metrics Reporter Kafka .............. SKIPPED [INFO] Apache Kylin - Stream Source Kafka ................. SKIPPED [INFO] Apache Kylin - Stream Coordinator .................. SKIPPED [INFO] Apache Kylin - Stream Receiver ..................... SKIPPED [INFO] Apache Kylin - Stream Storage ...................... SKIPPED [INFO] Apache Kylin - REST Server Base .................... SKIPPED [INFO] Apache Kylin - REST Server ......................... SKIPPED [INFO] Apache Kylin - JDBC Driver ......................... SKIPPED [INFO] Apache Kylin - Assembly ............................ SKIPPED [INFO] Apache Kylin - Tool ................................ SKIPPED [INFO] Apache Kylin - Tool Assembly ....................... SKIPPED [INFO] Apache Kylin - Integration Test .................... SKIPPED [INFO] Apache Kylin - Tomcat Extension 3.0.0-SNAPSHOT ..... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:42 min [INFO] Finished at: 2019-07-12T08:59:26+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project kylin-core-job: There are test failures. [ERROR] [ERROR] Please refer to /Users/zhuweibin/ant_code/OpenSource/kylin/core-job/../target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [ERROR] -> [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 <goals> -rf :kylin-core-job {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016)