neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.71k stars 493 forks source link

cannot build the package by pulling the latest source #51

Closed cmkpl closed 8 years ago

cmkpl commented 8 years ago

Here is the log while executing maven


T E S T S

Running apoc.refactor.GraphRefactoringTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.579 sec Running apoc.convert.ConvertJsonTest root = {_id=0, _type=Movie, title=M, acted_in=[{_id=1, _type=Actor, name=A1, acted_in.role=R1}, {_id=2, _type=Actor, name=A2, acted_in.role=R2}]} Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.131 sec Running apoc.convert.ConvertTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.62 sec Running apoc.util.UtilsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.268 sec Running apoc.util.UtilTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec Running apoc.data.ExtractTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.249 sec Running apoc.path.ExpandPathTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.76 sec Running apoc.path.RelationshipTypeAndDirectionsTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.283 sec Running apoc.graph.GraphsTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 sec Running apoc.bitwise.BitwiseOperationsTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.361 sec Running apoc.example.ExamplesTest {relationships=250, file=movies.cypher, nodes=169, format=cypher, source=example movie database from themoviedb.org, time=2201, properties=558} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.495 sec Running apoc.es.ElasticSearchTest Ignoring Exception org.neo4j.graphdb.QueryExecutionException: Failed to invoke procedure apoc.es.stats: Caused by: java.lang.RuntimeException: Can't read url http://localhost:9200/_stats as json: Failed to invoke procedure apoc.es.stats: Caused by: java.lang.RuntimeException: Can't read url http://localhost:9200/_stats as json due to cause class java.net.ConnectException Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.671 sec Running apoc.help.HelpScannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.888 sec Running apoc.periodic.PeriodicTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.546 sec Running apoc.spatial.SpatialTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.354 sec Running apoc.spatial.GeocodeTest Fast google test took 2305ms Slow google test took 9973ms Fast osm test took 4374ms Slow osm test took 12007ms Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.074 sec Running apoc.spatial.DistanceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.566 sec Running apoc.meta.MetaTest {other=[Movie], count=1, existence=false, index=false, label=ACTED_IN, right=1, type=RELATIONSHIP, sample=null, rightCount=1, leftCount=1, array=false, left=1, unique=false, property=Actor} {other=[], count=0, existence=false, index=false, label=ACTED_IN, right=0, type=STRING, sample=null, rightCount=0, leftCount=0, array=false, left=0, unique=false, property=roles} {other=[], count=0, existence=false, index=true, label=Movie, right=0, type=STRING, sample=null, rightCount=0, leftCount=0, array=false, left=0, unique=false, property=title} {other=[Movie], count=1, existence=false, index=false, label=Actor, right=1, type=RELATIONSHIP, sample=null, rightCount=1, leftCount=1, array=false, left=1, unique=false, property=ACTED_IN} {other=[], count=0, existence=false, index=true, label=Actor, right=0, type=STRING, sample=null, rightCount=0, leftCount=0, array=false, left=0, unique=true, property=name} Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.779 sec Running apoc.index.SchemaIndexTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.745 sec Running apoc.index.FulltextIndexTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.528 sec Running apoc.index.FreeTextQueryParserTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec Running apoc.index.FreeTextSearchTest Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "neo4j.PauseMonitor" Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 47.495 sec <<< FAILURE! Running apoc.date.TTLTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.088 sec Running apoc.date.DateTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.576 sec Running apoc.schema.SchemasTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.083 sec Running apoc.cypher.CypherTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.998 sec Running apoc.algo.PathFindingTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.632 sec Running apoc.algo.CoverTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.272 sec Running apoc.algo.PageRankTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.48 sec Running apoc.algo.LabelPropagationTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.3 sec Running apoc.algo.CliquesTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.823 sec Running apoc.algo.CentralityTest Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.527 sec Running apoc.algo.pagerank.PageRankAlgoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.828 sec Running apoc.monitor.StoreInfoProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.47 sec Running apoc.monitor.IdsProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.39 sec Running apoc.monitor.KernelProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec Running apoc.monitor.LockProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.381 sec Running apoc.map.MapsTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.225 sec Running apoc.export.ExportTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.8 sec Running apoc.create.CreateTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.482 sec Running apoc.warmup.WarmupTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.767 sec Running apoc.gephi.GephiTest Ignoring Exception org.neo4j.graphdb.QueryExecutionException: Failed to invoke procedure apoc.gephi.add: Caused by: java.lang.RuntimeException: Can't read url http://localhost:8080/workspace1?operation=updateGraph as json: Failed to invoke procedure apoc.gephi.add: Caused by: java.lang.RuntimeException: Can't read url http://localhost:8080/workspace1?operation=updateGraph as json due to cause class java.net.ConnectException Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.76 sec Running apoc.coll.ArrayListTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running apoc.coll.SetBackedListTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec Running apoc.coll.CollTest contains sorted test on 1000000 elements took 7188 ms contains test on 1000000 elements took 950 ms Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.446 sec Running apoc.coll.EqualityTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.114 sec Running apoc.text.PhoneticTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.344 sec Running apoc.text.StringsTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.076 sec Running apoc.cache.StaticTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.058 sec Running apoc.load.JdbcTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.724 sec Running apoc.load.LoadCsvTest Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 279.35 sec <<< FAILURE! Running apoc.load.LoadJsonTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 42.764 sec <<< FAILURE! Running apoc.load.XmlTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 42.932 sec <<< FAILURE! Running apoc.search.ParallelNodeSearchTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 43.347 sec <<< FAILURE! Running apoc.get.GetTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 87.006 sec <<< FAILURE!

Results :

Tests in error: shouldPopulateIndexInBatches(apoc.index.FreeTextSearchTest): Java heap space testLoadCsvTabSeparator(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/ user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvTabSeparator(apoc.load.LoadCsvTest) testLoadCsvColonSeparator(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /hom e/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvColonSeparator(apoc.load.LoadCsvTest) testLoadCsvSkip(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo 4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvSkip(apoc.load.LoadCsvTest) testLoadCsv(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-a poc-procedures/target/test-data/impermanent-db testLoadCsv(apoc.load.LoadCsvTest) testMapping(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-a poc-procedures/target/test-data/impermanent-db testMapping(apoc.load.LoadCsvTest) testLoadCsvIgnoreFields(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/ user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvIgnoreFields(apoc.load.LoadCsvTest) testLoadCsvNoHeader(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user /neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvNoHeader(apoc.load.LoadCsvTest) testLoadJson(apoc.load.LoadJsonTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j -apoc-procedures/target/test-data/impermanent-db testLoadJson(apoc.load.LoadJsonTest) testLoadXml(apoc.load.XmlTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc- procedures/target/test-data/impermanent-db testLoadXml(apoc.load.XmlTest) apoc.search.ParallelNodeSearchTest: Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-a poc-procedures/target/test-data/impermanent-db apoc.search.ParallelNodeSearchTest testNodes(apoc.get.GetTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-pro cedures/target/test-data/impermanent-db testNodes(apoc.get.GetTest) testRels(apoc.get.GetTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-proc edures/target/test-data/impermanent-db testRels(apoc.get.GetTest)

Tests run: 293, Failures: 0, Errors: 25, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12:15.816s [INFO] Finished at: Mon Jun 13 13:05:06 HKT 2016 [INFO] Final Memory: 30M/103M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project ap oc: There are test failures. [ERROR] [ERROR] Please refer to /home/user/neo4j-apoc-procedures/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 user@ubuntu-server:~/neo4j-apoc-procedures$ mvn clean [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building neo4j-apoc-procedures 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apoc --- [INFO] Deleting /home/user/neo4j-apoc-procedures/target [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.232s [INFO] Finished at: Mon Jun 13 15:56:58 HKT 2016 [INFO] Final Memory: 6M/16M [INFO] ------------------------------------------------------------------------ user@ubuntu-server:~/neo4j-apoc-procedures$ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building neo4j-apoc-procedures 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apoc --- [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ apoc --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apoc --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 113 source files to /home/user/neo4j-apoc-procedures/target/classes [WARNING] /home/user/neo4j-apoc-procedures/src/main/java/apoc/meta/Meta.java: Some input files use unchecked or unsafe operations. [WARNING] /home/user/neo4j-apoc-procedures/src/main/java/apoc/meta/Meta.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ apoc --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 14 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apoc --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 58 source files to /home/user/neo4j-apoc-procedures/target/test-classes [WARNING] /home/user/neo4j-apoc-procedures/src/test/java/apoc/date/TTLTest.java: Some input files use or override a deprecated API. [WARNING] /home/user/neo4j-apoc-procedures/src/test/java/apoc/date/TTLTest.java: Recompile with -Xlint:deprecation for details. [WARNING] /home/user/neo4j-apoc-procedures/src/test/java/apoc/util/UtilTest.java: Some input files use unchecked or unsafe operations. [WARNING] /home/user/neo4j-apoc-procedures/src/test/java/apoc/util/UtilTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ apoc --- [INFO] Surefire report directory: /home/user/neo4j-apoc-procedures/target/surefire-reports

T E S T S

Running apoc.refactor.GraphRefactoringTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.202 sec Running apoc.convert.ConvertJsonTest root = {_id=0, _type=Movie, title=M, acted_in=[{_id=1, _type=Actor, name=A1, acted_in.role=R1}, {_id=2, _type=Actor, name=A2, acted_in.role=R2}]} Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.256 sec Running apoc.convert.ConvertTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.987 sec Running apoc.util.UtilsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.258 sec Running apoc.util.UtilTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 sec Running apoc.data.ExtractTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.441 sec Running apoc.path.ExpandPathTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.457 sec Running apoc.path.RelationshipTypeAndDirectionsTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec Running apoc.graph.GraphsTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.798 sec Running apoc.bitwise.BitwiseOperationsTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.269 sec Running apoc.example.ExamplesTest {relationships=250, file=movies.cypher, nodes=169, format=cypher, source=example movie database from themoviedb.org, time=2066, properties=558} Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.349 sec Running apoc.es.ElasticSearchTest Ignoring Exception org.neo4j.graphdb.QueryExecutionException: Failed to invoke procedure apoc.es.stats: Caused by: java.lang.RuntimeException: Can't read url http://localhost:9200/_stats as json: Failed to invoke procedure apoc.es.stats: Caused by: java.lang.RuntimeException: Can't read url http://localhost:9200/_stats as json due to cause class java.net.ConnectException Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.78 sec Running apoc.help.HelpScannerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec Running apoc.periodic.PeriodicTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.451 sec Running apoc.spatial.SpatialTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.344 sec Running apoc.spatial.GeocodeTest Fast google test took 4016ms Slow google test took 9965ms Fast osm test took 4158ms Slow osm test took 11984ms Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.51 sec Running apoc.spatial.DistanceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.458 sec Running apoc.meta.MetaTest {other=[Movie], count=1, existence=false, index=false, label=ACTED_IN, right=1, type=RELATIONSHIP, sample=null, rightCount=1, leftCount=1, array=false, left=1, unique=false, property=Actor} {other=[], count=0, existence=false, index=false, label=ACTED_IN, right=0, type=STRING, sample=null, rightCount=0, leftCount=0, array=false, left=0, unique=false, property=roles} {other=[], count=0, existence=false, index=true, label=Movie, right=0, type=STRING, sample=null, rightCount=0, leftCount=0, array=false, left=0, unique=false, property=title} {other=[Movie], count=1, existence=false, index=false, label=Actor, right=1, type=RELATIONSHIP, sample=null, rightCount=1, leftCount=1, array=false, left=1, unique=false, property=ACTED_IN} {other=[], count=0, existence=false, index=true, label=Actor, right=0, type=STRING, sample=null, rightCount=0, leftCount=0, array=false, left=0, unique=true, property=name} Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.345 sec Running apoc.index.SchemaIndexTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.625 sec Running apoc.index.FulltextIndexTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.757 sec Running apoc.index.FreeTextQueryParserTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec Running apoc.index.FreeTextSearchTest Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "neo4j.PauseMonitor" Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "neo4j.Scheduled-1" Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 44.497 sec <<< FAILURE! Running apoc.date.TTLTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.777 sec Running apoc.date.DateTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.43 sec Running apoc.schema.SchemasTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.597 sec Running apoc.cypher.CypherTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.649 sec Running apoc.algo.PathFindingTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.086 sec Running apoc.algo.CoverTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec Running apoc.algo.PageRankTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.06 sec Running apoc.algo.LabelPropagationTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 sec Running apoc.algo.CliquesTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.045 sec Running apoc.algo.CentralityTest Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.536 sec Running apoc.algo.pagerank.PageRankAlgoTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.871 sec Running apoc.monitor.StoreInfoProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec Running apoc.monitor.IdsProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.4 sec Running apoc.monitor.KernelProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 sec Running apoc.monitor.LockProcedureTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 sec Running apoc.map.MapsTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.914 sec Running apoc.export.ExportTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.166 sec Running apoc.create.CreateTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.266 sec Running apoc.warmup.WarmupTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 sec Running apoc.gephi.GephiTest Ignoring Exception org.neo4j.graphdb.QueryExecutionException: Failed to invoke procedure apoc.gephi.add: Caused by: java.lang.RuntimeException: Can't read url http://localhost:8080/workspace1?operation=updateGraph as json: Failed to invoke procedure apoc.gephi.add: Caused by: java.lang.RuntimeException: Can't read url http://localhost:8080/workspace1?operation=updateGraph as json due to cause class java.net.ConnectException Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.096 sec Running apoc.coll.ArrayListTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running apoc.coll.SetBackedListTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running apoc.coll.CollTest contains sorted test on 1000000 elements took 5220 ms contains test on 1000000 elements took 1135 ms Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.279 sec Running apoc.coll.EqualityTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.893 sec Running apoc.text.PhoneticTest Tests run: 8, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 65.517 sec <<< FAILURE! Running apoc.text.StringsTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.727 sec Running apoc.cache.StaticTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 33.433 sec <<< FAILURE! Running apoc.load.JdbcTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 25.611 sec <<< FAILURE! Running apoc.load.LoadCsvTest Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 290.3 sec <<< FAILURE! Running apoc.load.LoadJsonTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 41.88 sec <<< FAILURE! Running apoc.load.XmlTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 41.83 sec <<< FAILURE! Running apoc.search.ParallelNodeSearchTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 42.051 sec <<< FAILURE! Running apoc.get.GetTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 84.858 sec <<< FAILURE!

Results :

Tests in error: shouldPopulateIndexInBatches(apoc.index.FreeTextSearchTest): Java heap space shouldComputeEmptySoundexEncodingForTheEmptyString(apoc.text.PhoneticTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db shouldComputeEmptySoundexEncodingForTheEmptyString(apoc.text.PhoneticTest) apoc.cache.StaticTest: Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db apoc.cache.StaticTest apoc.load.JdbcTest: Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db apoc.load.JdbcTest testLoadCsvTabSeparator(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvTabSeparator(apoc.load.LoadCsvTest) testLoadCsvColonSeparator(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvColonSeparator(apoc.load.LoadCsvTest) testLoadCsvSkip(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvSkip(apoc.load.LoadCsvTest) testLoadCsv(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsv(apoc.load.LoadCsvTest) testMapping(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testMapping(apoc.load.LoadCsvTest) testLoadCsvIgnoreFields(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvIgnoreFields(apoc.load.LoadCsvTest) testLoadCsvNoHeader(apoc.load.LoadCsvTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadCsvNoHeader(apoc.load.LoadCsvTest) testLoadJson(apoc.load.LoadJsonTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadJson(apoc.load.LoadJsonTest) testLoadXml(apoc.load.XmlTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testLoadXml(apoc.load.XmlTest) apoc.search.ParallelNodeSearchTest: Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db apoc.search.ParallelNodeSearchTest testNodes(apoc.get.GetTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testNodes(apoc.get.GetTest) testRels(apoc.get.GetTest): Error starting org.neo4j.test.TestGraphDatabaseFactory$1$1, /home/user/neo4j-apoc-procedures/target/test-data/impermanent-db testRels(apoc.get.GetTest)

Tests run: 290, Failures: 0, Errors: 31, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14:09.913s [INFO] Finished at: Mon Jun 13 16:12:04 HKT 2016 [INFO] Final Memory: 31M/104M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project apoc: There are test failures. [ERROR] [ERROR] Please refer to /home/user/neo4j-apoc-procedures/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

jexp commented 8 years ago

Looks you have too little heap for your JVM, I've never seem memory issues while building APOC.

cmkpl commented 8 years ago

I try to compile it on a 512MB linux server. What parameters should be used in order to pass the test?

jexp commented 8 years ago

Just tried it:

MAVEN_OPTS="-Xmx512m" mvn clean install

[INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:04 min [INFO] Finished at: 2016-06-14T12:45:32+02:00 [INFO] Final Memory: 42M/262M

jexp commented 8 years ago

Worked also with 256M heap.

[INFO] Total time: 02:19 min [INFO] Finished at: 2016-06-14T13:22:57+02:00 [INFO] Final Memory: 33M/178M