See <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/139/changes>
Changes: [chetanm] OAK-2247 - CopyOnWriteDirectory implementation for Lucene for use in indexing [thomasm] OAK-2889 Ignore "order by jcr:score desc" in the query engine (for "union" queries) [mreutegg] OAK-2899: Update to Jackrabbit 2.10.1 [chetanm] OAK-2895 - Avoid accessing binary content if the mimeType is excluded from indexing Update the docs [chetanm] OAK-2895 - Avoid accessing binary content if the mimeType is excluded from indexing -- Use TypeDetector instead of DefaultDetector to avoid Tika sniffing the mimeType by reading the input stream -- Use a LazyInputStream to lazily load the stream if and when required [chetanm] OAK-2898 - DataStoreBlobStore should expose a buffer input stream for getInputStream call [alexparvulescu] OAK-2872 ExternalLoginModule should clear state when login was not successful - added another missing cleanup [tripod] Use correct copyright notice ------------------------------------------ [...truncated 6071 lines...] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ oak-upgrade --- [INFO] Compiling 9 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-upgrade/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-upgrade --- [INFO] Surefire report directory: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-upgrade/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.jackrabbit.oak.upgrade.RepositorySidegradeTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 5.522 sec Running org.apache.jackrabbit.oak.upgrade.PrivilegeUpgradeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.358 sec Running org.apache.jackrabbit.oak.upgrade.TickerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.apache.jackrabbit.oak.upgrade.RepositoryGroupMemberSplitUpgradeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.873 sec Running org.apache.jackrabbit.oak.upgrade.RepositoryGroupMemberUpgradeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.546 sec Running org.apache.jackrabbit.oak.upgrade.blob.LengthCachingDataStoreTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.037 sec Running org.apache.jackrabbit.oak.upgrade.RepositoryUpgradeTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.645 sec Running org.apache.jackrabbit.oak.upgrade.CopyNodeTypesUpgradeTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.576 sec Results : Tests run: 33, Failures: 0, Errors: 0, Skipped: 1 [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:report (post-unit-test) @ oak-upgrade --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ oak-upgrade --- [INFO] Building jar: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-upgrade/target/oak-upgrade-1.4-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ oak-upgrade --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Oak HTTP Binding 1.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oak-http --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (pre-unit-test) @ oak-http --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] test.opts.coverage set to empty [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ oak-http --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oak-http --- [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=DOCUMENT_NS,profile=unittesting/ws/oak-http/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-http --- [INFO] Compiling 9 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-http/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-http --- [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=DOCUMENT_NS,profile=unittesting/ws/oak-http/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ oak-http --- [INFO] Compiling 1 source file to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-http/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-http --- [INFO] Surefire report directory: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-http/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:report (post-unit-test) @ oak-http --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-bundle-plugin:2.5.0:bundle (default-bundle) @ oak-http --- [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ oak-http --- [INFO] [INFO] --- maven-bundle-plugin:2.5.0:baseline (baseline) @ oak-http --- [INFO] artifact org.apache.jackrabbit:oak-http: checking for updates from Nexus [INFO] artifact org.apache.jackrabbit:oak-http: checking for updates from central [INFO] Baseline analisys complete, 0 error(s), 0 warning(s) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Oak Lucene 1.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oak-lucene --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (pre-unit-test) @ oak-lucene --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] test.opts.coverage set to empty [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ oak-lucene --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oak-lucene --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-lucene --- [INFO] Compiling 45 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/target/classes> [INFO] [INFO] --- maven-scr-plugin:1.16.0:scr (generate-scr-scrdescriptor) @ oak-lucene --- [INFO] Generating 1 MetaType Descriptors in <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/target/classes/OSGI-INF/metatype/org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/target/classes/OSGI-INF/org.apache.jackrabbit.oak.plugins.index.lucene.score.impl.ScorerProviderFactoryImpl.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/target/classes/OSGI-INF/org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.xml> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-lucene --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ oak-lucene --- [INFO] Compiling 24 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-lucene --- [INFO] Surefire report directory: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexLookupTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.105 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditorTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.464 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexTest Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.573 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.OakDirectoryTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.276 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.NodeStateAnalyzerFactoryTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderServiceTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.202 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.IndexCopierTest Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinitionTest Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.407 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.AggregateTest Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LucenePropertyIndexTest Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.075 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.IndexPlannerTest Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexQueryTest Tests run: 20, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 16.408 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexAggregationTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.671 sec Running org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexExclusionQueryTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.509 sec Running org.apache.jackrabbit.oak.jcr.query.QueryJcrTest Tests run: 218, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 352.443 sec <<< FAILURE! testGetSize(org.apache.jackrabbit.core.query.QueryResultTest) Time elapsed: 4.2 sec <<< FAILURE! junit.framework.AssertionFailedError: Wrong size of NodeIterator in result expected:<51> but was:<-1> at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:134) at org.apache.jackrabbit.core.query.QueryResultTest.testGetSize(QueryResultTest.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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:464) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at junit.framework.TestSuite.runTest(TestSuite.java:243) at org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29) at org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Running org.apache.jackrabbit.oak.jcr.query.TextExtractionQueryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.69 sec Running org.apache.jackrabbit.oak.jcr.query.MultiSessionQueryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.258 sec Running org.apache.jackrabbit.oak.jcr.query.SuggestTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.294 sec Running org.apache.jackrabbit.oak.jcr.query.SpellcheckTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.681 sec Running org.apache.jackrabbit.oak.jcr.query.QueryFulltextTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.6 sec Results : Failed tests: testGetSize(org.apache.jackrabbit.core.query.QueryResultTest): Wrong size of NodeIterator in result expected:<51> but was:<-1> Tests run: 451, Failures: 1, Errors: 0, Skipped: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Oak Parent POM .................................... SUCCESS [ 4.616 s] [INFO] Oak Commons ....................................... SUCCESS [ 23.620 s] [INFO] Oak Blob Store .................................... SUCCESS [ 12.124 s] [INFO] Oak Cloud Blob Store .............................. SUCCESS [ 7.648 s] [INFO] Oak Core .......................................... SUCCESS [09:48 min] [INFO] Oak JCR Binding ................................... SUCCESS [05:23 min] [INFO] Oak upgrade ....................................... SUCCESS [02:55 min] [INFO] Oak HTTP Binding .................................. SUCCESS [ 1.279 s] [INFO] Oak Lucene ........................................ FAILURE [07:23 min] [INFO] Oak Solr core ..................................... SKIPPED [INFO] Oak Solr OSGi ..................................... SKIPPED [INFO] Oak External Authentication Support ............... SKIPPED [INFO] Oak LDAP Authentication Support ................... SKIPPED [INFO] Oak TarMK Standby ................................. SKIPPED [INFO] Oak Runnable Jar .................................. SKIPPED [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: 26:23 min [INFO] Finished at: 2015-05-22T04:06:10+00:00 [INFO] Final Memory: 119M/1463M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project oak-lucene: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-lucene/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-lucene Build step 'Invoke top-level Maven targets' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE Recording test results
