siddhi-io / siddhi

Stream Processing and Complex Event Processing Engine
http://siddhi.io
Apache License 2.0
1.52k stars 529 forks source link

mvn package fails on fresh clone of Master #65

Closed ghost closed 8 years ago

ghost commented 9 years ago

I cloned the master branch and tried to create packages. Build stopped at failed tests...

Failed tests: testSnapshotOutputRateLimitQuery1(org.wso2.siddhi.core.query.ratelimit.SnapshotOutputRateLimitTestCase) testSnapshotOutputRateLimitQuery2(org.wso2.siddhi.core.query.ratelimit.SnapshotOutputRateLimitTestCase) testSnapshotOutputRateLimitQuery19(org.wso2.siddhi.core.query.ratelimit.SnapshotOutputRateLimitTestCase) testSnapshotOutputRateLimitQuery20(org.wso2.siddhi.core.query.ratelimit.SnapshotOutputRateLimitTestCase) MultiThreadedTest2(org.wso2.siddhi.core.stream.JunctionTestCase) MultiThreadedWithEventPoolTest(org.wso2.siddhi.core.stream.JunctionTestCase) FilterTest1(org.wso2.siddhi.core.query.FilterTestCase)

Tests run: 457, Failures: 7, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Siddhi ............................................. SUCCESS [02:50 min] [INFO] Siddhi Query API ................................... SUCCESS [ 59.150 s] [INFO] Siddhi Query Compiler .............................. SUCCESS [01:12 min] [INFO] Siddhi Core ........................................ FAILURE [08:57 min] [INFO] Siddhi Extensions .................................. SKIPPED [INFO] Siddhi Extension - Evaluate Scripts ................ SKIPPED [INFO] Siddhi Extension - String .......................... SKIPPED [INFO] Siddhi Extension - Geo ............................. SKIPPED [INFO] Siddhi Extension - Math ............................ SKIPPED [INFO] Siddhi Extension - Event Table ..................... SKIPPED [INFO] Siddhi Extension - RegEx ........................... SKIPPED [INFO] Siddhi Extension - Time ............................ SKIPPED [INFO] Siddhi Extension - Time Series ..................... SKIPPED [INFO] Siddhi Samples ..................................... SKIPPED [INFO] Siddhi Performance Samples ......................... SKIPPED [INFO] Siddhi Quick Start Samples ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15:26 min [INFO] Finished at: 2015-07-28T08:53:44-07:00 [INFO] Final Memory: 53M/226M [INFO] ------------------------------------------------------------------------

tishan89 commented 9 years ago

Hi,

Sorry for the delayed response. You may have solved the issue by now. But for your information you can find Siddhi daily build here[1]. You can even download build artifacts from there. Currently master branch is stable and building with tests. Let us know if you still have issues when building locally.

[1] https://wso2.org/jenkins/job/siddhi/ Thanks Tishan

ghost commented 9 years ago

I could do a build with -DskipTests.Just pulled from git and... siddhi-core $ mvn clean package

Results :

Failed tests:   testSnapshotOutputRateLimitQuery2(org.wso2.siddhi.core.query.ratelimit.SnapshotOutputRateLimitTestCase)   testSnapshotOutputRateLimitQuery21(org.wso2.siddhi.core.query.ratelimit.SnapshotOutputRateLimitTestCase)   MultiThreadedTest1(org.wso2.siddhi.core.stream.JunctionTestCase)

Tests run: 463, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:13 min [INFO] Finished at: 2015-09-11T11:56:47-07:00 [INFO] Final Memory: 33M/321M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project siddhi-core: There are test failures. [ERROR] [ERROR] Please refer to /Users/tshockley/ELabs/tools/code/siddhi/modules/siddhi-core/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

  From: Tishan Pubudu <notifications@github.com>

To: wso2/siddhi siddhi@noreply.github.com Cc: Tim Shockley tshock@yahoo.com Sent: Wednesday, September 9, 2015 2:08 AM Subject: Re: [siddhi] mvn package fails on fresh clone of Master (#65)

Hi,Sorry for the delayed response. You may have solved the issue by now. But for your information you can find Siddhi daily build here[1]. You can even download build artifacts from there. Currently master branch is stable and building with tests. Let us know if you still have issues when building locally.[1] https://wso2.org/jenkins/job/siddhi/ Thanks Tishan— Reply to this email directly or view it on GitHub.

tishan89 commented 9 years ago

Hi, We also experienced some intermittent test failures in our nightly build. We will fix this appropriately. Thanks for pointing it out. Meantime you can build omitting tests and continue your work.

Thanks Tishan

mohanvive commented 8 years ago

Closing issue since answer has provided and necessary steps taken to fix it..