See
<https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_RDB,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 6397 lines...]
947/1201 KB
951/1201 KB
955/1201 KB
959/1201 KB
963/1201 KB
967/1201 KB
971/1201 KB
975/1201 KB
979/1201 KB
983/1201 KB
987/1201 KB
991/1201 KB
995/1201 KB
999/1201 KB
1003/1201 KB
1007/1201 KB
1011/1201 KB
1015/1201 KB
1019/1201 KB
1023/1201 KB
1027/1201 KB
1031/1201 KB
1035/1201 KB
1039/1201 KB
1043/1201 KB
1047/1201 KB
1051/1201 KB
1055/1201 KB
1059/1201 KB
1063/1201 KB
1067/1201 KB
1071/1201 KB
1073/1201 KB
1077/1201 KB
1081/1201 KB
1085/1201 KB
1089/1201 KB
1093/1201 KB
1097/1201 KB
1101/1201 KB
1105/1201 KB
1109/1201 KB
1113/1201 KB
1117/1201 KB
1121/1201 KB
1125/1201 KB
1129/1201 KB
1133/1201 KB
1137/1201 KB
1141/1201 KB
1145/1201 KB
1149/1201 KB
1153/1201 KB
1157/1201 KB
1161/1201 KB
1165/1201 KB
1169/1201 KB
1173/1201 KB
1177/1201 KB
1181/1201 KB
1185/1201 KB
1189/1201 KB
1193/1201 KB
1197/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 2500.2 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 42670 for jetty.http.port
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-run ---
[INFO] Compiling 135 source files to /x1/jenkins/jenkins-slave/workspace/Apache
Jackrabbit Oak
matrix/jdk/latest1.7/label/Ubuntu/nsfixtures/DOCUMENT_RDB/profile/unittesting/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
/x1/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak
matrix/jdk/latest1.7/label/Ubuntu/nsfixtures/DOCUMENT_RDB/profile/unittesting/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 /x1/jenkins/jenkins-slave/workspace/Apache
Jackrabbit Oak
matrix/jdk/latest1.7/label/Ubuntu/nsfixtures/DOCUMENT_RDB/profile/unittesting/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: /x1/jenkins/jenkins-slave/workspace/Apache
Jackrabbit Oak
matrix/jdk/latest1.7/label/Ubuntu/nsfixtures/DOCUMENT_RDB/profile/unittesting/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.659 sec <<<
FAILURE!
testServerOk(org.apache.jackrabbit.oak.run.BasicServerTest) Time elapsed:
1.597 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.598 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 [ 4.312 s]
[INFO] Oak Commons ....................................... SUCCESS [ 20.190 s]
[INFO] Oak Blob Store .................................... SUCCESS [ 10.314 s]
[INFO] Oak Cloud Blob Store .............................. SUCCESS [ 4.929 s]
[INFO] Oak Core .......................................... SUCCESS [06:40 min]
[INFO] Oak JCR Binding ................................... SUCCESS [06:10 min]
[INFO] Oak upgrade ....................................... SUCCESS [01:39 min]
[INFO] Oak HTTP Binding .................................. SUCCESS [ 0.709 s]
[INFO] Oak Lucene ........................................ SUCCESS [04:31 min]
[INFO] Oak Solr core ..................................... SUCCESS [05:21 min]
[INFO] Oak Solr OSGi ..................................... SUCCESS [ 17.694 s]
[INFO] Oak External Authentication Support ............... SUCCESS [ 4.351 s]
[INFO] Oak LDAP Authentication Support ................... SUCCESS [02:30 min]
[INFO] Oak TarMK Standby ................................. SUCCESS [ 13.643 s]
[INFO] Oak Runnable Jar .................................. FAILURE [ 10.440 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: 28:22 min
[INFO] Finished at: 2015-04-14T04:07:22+00:00
[INFO] Final Memory: 133M/1221M
[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 /x1/jenkins/jenkins-slave/workspace/Apache Jackrabbit
Oak
matrix/jdk/latest1.7/label/Ubuntu/nsfixtures/DOCUMENT_RDB/profile/unittesting/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