See <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/99/changes>
Changes: [angela] OAK-2641 : FilterImpl violates nullability contract [chetanm] OAK-2736 - Oak instance does not close the executors created upon ContentRepository creation [angela] OAK-2697 : Retire oak-mk-api and oak-mk (add issue reference to README files [chetanm] OAK-301- Document Oak Add note about potential issue when using large MVP [chetanm] OAK-301- Document Oak Add note about Observation queue growth and potential conversion of local change to external. Words by Stefan Egli! ------------------------------------------ [...truncated 7829 lines...] 954/1201 KB 958/1201 KB 962/1201 KB 966/1201 KB 970/1201 KB 974/1201 KB 978/1201 KB 982/1201 KB 986/1201 KB 990/1201 KB 994/1201 KB 998/1201 KB 1002/1201 KB 1006/1201 KB 1010/1201 KB 1014/1201 KB 1018/1201 KB 1022/1201 KB 1026/1201 KB 1028/1201 KB 1032/1201 KB 1036/1201 KB 1037/1201 KB 1041/1201 KB 1045/1201 KB 1048/1201 KB 1052/1201 KB 1054/1201 KB 1058/1201 KB 1062/1201 KB 1066/1201 KB 1070/1201 KB 1074/1201 KB 1078/1201 KB 1082/1201 KB 1086/1201 KB 1090/1201 KB 1094/1201 KB 1098/1201 KB 1102/1201 KB 1106/1201 KB 1110/1201 KB 1114/1201 KB 1118/1201 KB 1122/1201 KB 1126/1201 KB 1130/1201 KB 1134/1201 KB 1138/1201 KB 1142/1201 KB 1146/1201 KB 1150/1201 KB 1154/1201 KB 1158/1201 KB 1162/1201 KB 1166/1201 KB 1170/1201 KB 1174/1201 KB 1178/1201 KB 1182/1201 KB 1186/1201 KB 1190/1201 KB 1194/1201 KB 1198/1201 KB 1201/1201 KB Downloaded: http://repo.maven.apache.org/maven2/org/apache/jackrabbit/oak-tarmk-standby/1.2.0/oak-tarmk-standby-1.2.0.jar (1201 KB at 2817.1 KB/sec) [INFO] Baseline analisys complete, 0 error(s), 0 warning(s) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Oak Runnable Jar 1.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oak-run --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (pre-unit-test) @ oak-run --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] test.opts.coverage set to empty [INFO] [INFO] --- gmaven-plugin:1.4:generateStubs (default) @ oak-run --- [INFO] Generated 13 Java stubs [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ oak-run --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oak-run --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO] [INFO] --- build-helper-maven-plugin:1.7:reserve-network-port (reserve-network-port) @ oak-run --- [INFO] Reserved port 59127 for jetty.http.port [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-run --- [INFO] Compiling 135 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/ws/oak-run/target/classes> [INFO] [INFO] --- gmaven-plugin:1.4:compile (default) @ oak-run --- [INFO] Compiled 26 Groovy classes [INFO] [INFO] --- gmaven-plugin:1.4:generateTestStubs (default) @ oak-run --- [INFO] No sources found for Java stub generation [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-run --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/ws/oak-run/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ oak-run --- [INFO] Compiling 1 source file to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/ws/oak-run/target/test-classes> [INFO] [INFO] --- gmaven-plugin:1.4:testCompile (default) @ oak-run --- [INFO] No sources found to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-run --- [INFO] Surefire report directory: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/ws/oak-run/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.jackrabbit.oak.run.BasicServerTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.823 sec <<< FAILURE! testServerOk(org.apache.jackrabbit.oak.run.BasicServerTest) Time elapsed: 1.753 sec <<< ERROR! java.lang.IllegalStateException: Oak instance should be used only once to create the ContentRepository instance at com.google.common.base.Preconditions.checkState(Preconditions.java:150) at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:525) at org.apache.jackrabbit.oak.jcr.Jcr.createRepository(Jcr.java:202) at org.apache.jackrabbit.oak.run.Main$HttpServer.addServlets(Main.java:1133) at org.apache.jackrabbit.oak.run.Main$HttpServer.<init>(Main.java:1108) at org.apache.jackrabbit.oak.run.Main$HttpServer.<init>(Main.java:1094) at org.apache.jackrabbit.oak.run.BasicServerTest.startServer(BasicServerTest.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) testServerOk(org.apache.jackrabbit.oak.run.BasicServerTest) Time elapsed: 1.753 sec <<< ERROR! java.lang.NullPointerException at org.apache.jackrabbit.oak.run.BasicServerTest.stopServer(BasicServerTest.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Results : Tests in error: testServerOk(org.apache.jackrabbit.oak.run.BasicServerTest): Oak instance should be used only once to create the ContentRepository instance testServerOk(org.apache.jackrabbit.oak.run.BasicServerTest) Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Oak Parent POM .................................... SUCCESS [ 1.980 s] [INFO] Oak Commons ....................................... SUCCESS [ 12.034 s] [INFO] Oak Blob Store .................................... SUCCESS [ 7.826 s] [INFO] Oak Cloud Blob Store .............................. SUCCESS [ 3.702 s] [INFO] Oak Core .......................................... SUCCESS [07:02 min] [INFO] Oak JCR Binding ................................... SUCCESS [01:41 min] [INFO] Oak upgrade ....................................... SUCCESS [ 21.045 s] [INFO] Oak HTTP Binding .................................. SUCCESS [ 0.918 s] [INFO] Oak Lucene ........................................ SUCCESS [05:14 min] [INFO] Oak Solr core ..................................... SUCCESS [01:09 min] [INFO] Oak Solr OSGi ..................................... SUCCESS [ 17.721 s] [INFO] Oak External Authentication Support ............... SUCCESS [ 4.304 s] [INFO] Oak LDAP Authentication Support ................... SUCCESS [01:01 min] [INFO] Oak TarMK Standby ................................. SUCCESS [ 13.308 s] [INFO] Oak Runnable Jar .................................. FAILURE [ 9.265 s] [INFO] Oak Integration Tests for OSGi deployments ........ SKIPPED [INFO] Oak Integration Tests ............................. SKIPPED [INFO] Oak PojoSR ........................................ SKIPPED [INFO] Jackrabbit Oak .................................... SKIPPED [INFO] Oak CUG ........................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17:42 min [INFO] Finished at: 2015-04-14T03:54:35+00:00 [INFO] Final Memory: 135M/1000M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project oak-run: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=unittesting/ws/oak-run/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 :oak-run Build step 'Invoke top-level Maven targets' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE Recording test results