I am building neo4j after getting the source from github but the build 
failed due to test failures

Below are the sequence of steps i followed 

#git clone https://github.com/neo4j/neo4j neo4j
#cd neo4j
#mvn clean install -DskipBrowser

Test failure results are below 

Running org.neo4j.kernel.impl.transaction.TestRWLock
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.108 sec 
<<< FAILURE! - in org.neo4j.kernel.impl.transaction.TestRWLock
testStressMultipleThreads(org.neo4j.kernel.impl.transaction.TestRWLock)  
Time elapsed: 20.092 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertFalse(Assert.java:64)
        at org.junit.Assert.assertFalse(Assert.java:74)
        at 
org.neo4j.kernel.impl.transaction.TestRWLock.testStressMultipleThreads(TestRWLock.java:366)
..
..
....
.....
....
....
.....

Results :

Failed tests:
  TestRWLock.testStressMultipleThreads:366 null

Tests run: 1606, Failures: 1, Errors: 0, Skipped: 19

[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Neo4j ............................................. SUCCESS [42.250s]
[INFO] Licensing configuration ........................... SUCCESS [4.384s]
[INFO] Neo4j - Graph Database Kernel ..................... FAILURE 
[10:26.721s]
[INFO] Neo4j - JMX support ............................... SKIPPED
[INFO] Neo4j - Usage Data Collection ..................... SKIPPED
[INFO] Neo4j - Graphviz generation ....................... SKIPPED
[INFO] Neo4j - Lucene Index .............................. SKIPPED
[INFO] Neo4j - Graph Algorithms .......................... SKIPPED
[INFO] Neo4j - Graph Matching ............................ SKIPPED
[INFO] Neo4j Community Cypher Build ...................... SKIPPED
[INFO] Neo4j - Cypher Commons ............................ SKIPPED
[INFO] Neo4j - Cypher Compiler 2.1 ....................... SKIPPED
[INFO] Neo4j - Cypher .................................... SKIPPED
[INFO] Neo4j Community ................................... SKIPPED
[INFO] Neo4j GraphGist ................................... SKIPPED
[INFO] Neo4j - Cypher Documentation ...................... SKIPPED
[INFO] Neo4j Community ................................... SKIPPED
[INFO] Neo4j - Generic shell ............................. SKIPPED
[INFO] Neo4j Examples .................................... SKIPPED
[INFO] Neo4j Server API .................................. SKIPPED
[INFO] Neo4j Browser ..................................... SKIPPED
[INFO] Neo4j Server ...................................... SKIPPED
[INFO] Neo4j - Server Plugin Tests ....................... SKIPPED
[INFO] Neo4j Server Examples ............................. SKIPPED
[INFO] Neo4j Community Build ............................. SKIPPED
[INFO] Neo4j - Graph DB Monitoring and Management tools .. SKIPPED
[INFO] Neo4j Advanced .................................... SKIPPED
[INFO] Neo4j Advanced Server ............................. SKIPPED
[INFO] Neo4j Advanced Build .............................. SKIPPED
[INFO] Neo4j - Communication Package ..................... SKIPPED
[INFO] Neo4j - Clustering Infrastructure ................. SKIPPED
[INFO] Neo4j - Consistency Checker ....................... SKIPPED
[INFO] Neo4j - Backup Tool ............................... SKIPPED
[INFO] Neo4j - High Availability ......................... SKIPPED
[INFO] Neo4j Enterprise .................................. SKIPPED
[INFO] Neo4j Enterprise Server ........................... SKIPPED
[INFO] Neo4j - Enterprise Performance Tests .............. SKIPPED
[INFO] Neo4j Enterprise Build ............................ SKIPPED
[INFO] Neo4j - Reference Manual .......................... SKIPPED
[INFO] Neo4j - Server Assembler .......................... SKIPPED
[INFO] Neo4j Community - Server Assembler ................ SKIPPED
[INFO] Neo4j Advanced - Server Assembler ................. SKIPPED
[INFO] Neo4j Enterprise - Server Assembler ............... SKIPPED
[INFO] Neo4j Desktop ..................................... SKIPPED
[INFO] Neo4j Packaging Build ............................. SKIPPED
[INFO] Neo4j Debian Installers ........................... SKIPPED
[INFO] Neo4j RPM Installers .............................. SKIPPED
[INFO] Neo4j Community RPM ............................... SKIPPED
[INFO] Neo4j Advanced RPM ................................ SKIPPED
[INFO] Neo4j Community RPM ............................... SKIPPED
[INFO] Neo4j Linux Installers ............................ SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 11:40.557s
[INFO] Finished at: Wed Mar 12 10:11:04 EDT 2014
[INFO] Final Memory: 81M/468M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on 
project neo4j-kernel: There are test failures.
[ERROR]
[ERROR] Please refer to 
/home/ayappan/neo4j/community/kernel/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 :neo4j-kernel


Please provide your inputs regarding this issue

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to