dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Travis CI build failure in dubbo-metadata-report-zookeeper

Open khanimteyaz opened this issue 7 years ago • 1 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Travis CI build environment

  • Dubbo version: xxx
  • Operating System version: xxx
  • Java version: xxx

Steps to reproduce this issue

Run build in travis CI from latest master branch

  1. xxx
  2. xxx
  3. xxx

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

Build should not failed because of dubbo-metadata-report-zookeeper UT. below are current error log while running UT on dubbo-metadata-report-zookeeper

Running org.apache.dubbo.metadata.store.zookeeper.ZookeeperMetadataReportTest log4j:WARN No appenders could be found for logger (org.apache.dubbo.common.logger.LoggerFactory). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.305 sec <<< FAILURE! - in org.apache.dubbo.metadata.store.zookeeper.ZookeeperMetadataReportTest testStoreProvider(org.apache.dubbo.metadata.store.zookeeper.ZookeeperMetadataReportTest) Time elapsed: 2.461 sec <<< FAILURE! java.lang.AssertionError at org.apache.dubbo.metadata.store.zookeeper.ZookeeperMetadataReportTest.testStoreProvider(ZookeeperMetadataReportTest.java:59)

Results :

Failed tests: ZookeeperMetadataReportTest.testStoreProvider:59

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project dubbo-metadata-report-zookeeper: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/travis/build/apache/incubator-dubbo/dubbo-metadata-report/dubbo-metadata-report-zookeeper/target/surefire-reports for the individual test results.
[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 :dubbo-metadata-report-zookeeper
/home/travis/.travis/job_stages: line 523:  4690 Terminated              travis_jigger "${!}" "${timeout}" "${cmd[@]}"

khanimteyaz avatar Dec 27 '18 10:12 khanimteyaz

Now ci succeed . close via https://github.com/apache/incubator-dubbo/commit/5ea4fa531f9ec5ae446d4cb1ef2417b53712bd46

lovepoem avatar Dec 27 '18 15:12 lovepoem