See <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/123/changes>
Changes: [chetanm] OAK-2599 - Allow excluding certain paths from getting indexed for particular index [chetanm] OAK-2809 - Save Lucene directory listing as array property -- Save the listing upon save -- Make use of saved listing to handle OakDirectory operations -- Feature is disabled by default. Enabled for LucenePropertyTest -- It can be enabled via setting `saveDirectoryListing` to true in index definition [chetanm] OAK-2814 - Refactor the optimize logic regarding path include and exclude to avoid duplication Use the method from PathUtils [chetanm] OAK-2814 - Refactor the optimize logic regarding path include and exclude to avoid duplication ------------------------------------------ [...truncated 4557 lines...] [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-solr-osgi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-solr-osgi/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ oak-solr-osgi --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-solr-osgi --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:report (post-unit-test) @ oak-solr-osgi --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-bundle-plugin:2.5.0:bundle (default-bundle) @ oak-solr-osgi --- [WARNING] Bundle org.apache.jackrabbit:oak-solr-osgi:bundle:1.4-SNAPSHOT : Unused Private-Package instructions, no such package(s) on the class path: [!*] [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ oak-solr-osgi --- [INFO] [INFO] --- maven-bundle-plugin:2.5.0:baseline (baseline) @ oak-solr-osgi --- [INFO] artifact org.apache.jackrabbit:oak-solr-osgi: checking for updates from Nexus [INFO] artifact org.apache.jackrabbit:oak-solr-osgi: checking for updates from central [INFO] Baseline analisys complete, 0 error(s), 0 warning(s) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Oak External Authentication Support 1.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oak-auth-external --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (pre-unit-test) @ oak-auth-external --- [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-auth-external --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oak-auth-external --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-auth-external --- [INFO] Compiling 24 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes> [INFO] [INFO] --- maven-scr-plugin:1.16.0:scr (generate-scr-scrdescriptor) @ oak-auth-external --- [INFO] Generating 1 MetaType Descriptors in <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes/OSGI-INF/metatype/org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncConfig.xml> [INFO] Generating 1 MetaType Descriptors in <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes/OSGI-INF/metatype/org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModuleFactory.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes/OSGI-INF/org.apache.jackrabbit.oak.spi.security.authentication.external.impl.SyncManagerImpl.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes/OSGI-INF/org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncHandler.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes/OSGI-INF/org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalIDPManagerImpl.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/classes/OSGI-INF/org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModuleFactory.xml> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-auth-external --- [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:testCompile (default-testCompile) @ oak-auth-external --- [INFO] Compiling 3 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-auth-external --- [INFO] Surefire report directory: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalLoginModuleTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.341 sec Results : Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:report (post-unit-test) @ oak-auth-external --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-bundle-plugin:2.5.0:bundle (default-bundle) @ oak-auth-external --- [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ oak-auth-external --- [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ oak-auth-external --- [INFO] Building jar: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-external/target/oak-auth-external-1.4-SNAPSHOT-tests.jar> [INFO] [INFO] --- maven-bundle-plugin:2.5.0:baseline (baseline) @ oak-auth-external --- [INFO] artifact org.apache.jackrabbit:oak-auth-external: checking for updates from Nexus [INFO] artifact org.apache.jackrabbit:oak-auth-external: checking for updates from central [ERROR] org.apache.jackrabbit.oak.spi.security.authentication.external: Version increase required; detected 1.0.0, suggested 1.0.1 [INFO] Baseline analisys complete, 1 error(s), 0 warning(s) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Oak LDAP Authentication Support 1.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oak-auth-ldap --- [INFO] [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (pre-unit-test) @ oak-auth-ldap --- [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-auth-ldap --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ oak-auth-ldap --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-auth-ldap --- [INFO] Compiling 10 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/target/classes> [INFO] [INFO] --- maven-scr-plugin:1.16.0:scr (generate-scr-scrdescriptor) @ oak-auth-ldap --- [INFO] Generating 1 MetaType Descriptors in <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/target/classes/OSGI-INF/metatype/org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapProviderConfig.xml> [INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/target/classes/OSGI-INF/org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider.xml> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-auth-ldap --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ oak-auth-ldap --- [INFO] Compiling 8 source files to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ oak-auth-ldap --- [INFO] Surefire report directory: <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.jackrabbit.oak.security.authentication.ldap.LdapDefaultLoginModuleTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.416 sec Running org.apache.jackrabbit.oak.security.authentication.ldap.DefaultLdapLoginModuleTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.095 sec Running org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 69.17 sec <<< FAILURE! testGetUserByForeignRef(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest) Time elapsed: 4.088 sec <<< ERROR! org.apache.directory.shared.ldap.exception.LdapConfigurationException: Failed to bind an LDAP service (1024) to the service registry. [Root exception is java.net.BindException: Address already in use] at org.apache.directory.server.ldap.LdapServer.startNetwork(LdapServer.java:528) at org.apache.directory.server.ldap.LdapServer.start(LdapServer.java:394) at org.apache.directory.server.unit.AbstractServerTest.setUp(AbstractServerTest.java:273) at org.apache.jackrabbit.oak.security.authentication.ldap.InternalLdapServer.setUp(InternalLdapServer.java:37) at org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest.before(LdapProviderTest.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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) Caused by: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:414) at sun.nio.ch.Net.bind(Net.java:406) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:198) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:51) at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:547) at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$400(AbstractPollingIoAcceptor.java:68) at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:422) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Running org.apache.jackrabbit.oak.security.authentication.ldap.GuestTokenDefaultLdapLoginModuleTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.029 sec Running org.apache.jackrabbit.oak.security.authentication.ldap.TokenDefaultLdapLoginModuleTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.824 sec Running org.apache.jackrabbit.oak.security.authentication.ldap.LdapLoginStandaloneTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.451 sec Results : Tests in error: testGetUserByForeignRef(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest): Failed to bind an LDAP service (1024) to the service registry. Tests run: 76, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Oak Parent POM .................................... SUCCESS [ 2.587 s] [INFO] Oak Commons ....................................... SUCCESS [ 14.147 s] [INFO] Oak Blob Store .................................... SUCCESS [ 13.844 s] [INFO] Oak Cloud Blob Store .............................. SUCCESS [ 9.010 s] [INFO] Oak Core .......................................... SUCCESS [07:26 min] [INFO] Oak JCR Binding ................................... SUCCESS [03:46 min] [INFO] Oak upgrade ....................................... SUCCESS [02:09 min] [INFO] Oak HTTP Binding .................................. SUCCESS [ 1.312 s] [INFO] Oak Lucene ........................................ SUCCESS [05:36 min] [INFO] Oak Solr core ..................................... SUCCESS [05:18 min] [INFO] Oak Solr OSGi ..................................... SUCCESS [ 19.592 s] [INFO] Oak External Authentication Support ............... SUCCESS [ 3.829 s] [INFO] Oak LDAP Authentication Support ................... FAILURE [01:53 min] [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: 27:16 min [INFO] Finished at: 2015-05-05T04:06:27+00:00 [INFO] Final Memory: 99M/401M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project oak-auth-ldap: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/ws/oak-auth-ldap/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-auth-ldap Build step 'Invoke top-level Maven targets' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE Recording test results
