You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/04/11 05:58:24 UTC

Build failed in Jenkins: Apache Jackrabbit Oak matrix » jdk1.8.0_11,Ubuntu,DOCUMENT_NS,unittesting #95

See <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/95/changes>

Changes:

[tommaso] OAK-2750 - indexing only the first 1024 chars for sorting

[tommaso] OAK-2750 - indexing only the first 1024 chars for sorting

[angela] OAK-2748 : Oak Implementation for JCR-3836 and JCR-3837 (getting authorizable by type)

[chetanm] OAK-2473 - Log time taken in couple of places in indexing

[thomasm] OAK-1944 - make table prefixes for RDBBlob/DocumentStore configurable (don't use an in-memory database for tests)

[chetanm] OAK-2743 - Log time taken in couple of places in indexing

------------------------------------------
[...truncated 3664 lines...]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ oak-solr-osgi ---
[INFO] No sources to compile
[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] 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 25 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.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] 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] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ oak-auth-external ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 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: 1.897 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] Baseline analisys complete, 0 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.DefaultLdapLoginModuleTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.153 sec
Running org.apache.jackrabbit.oak.security.authentication.ldap.TokenDefaultLdapLoginModuleTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.575 sec
Running org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest
Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 22.497 sec <<< FAILURE!
testAuthenticateFail(org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest)  Time elapsed: 0.805 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: 4.147 sec
Running org.apache.jackrabbit.oak.security.authentication.ldap.LdapDefaultLoginModuleTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.263 sec
Running org.apache.jackrabbit.oak.security.authentication.ldap.LdapLoginStandaloneTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.235 sec

Results :

Tests in error: 
  testAuthenticateFail(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 [  1.789 s]
[INFO] Oak MicroKernel API (Deprecated) .................. SUCCESS [  4.146 s]
[INFO] Oak Commons ....................................... SUCCESS [  9.075 s]
[INFO] Oak Blob Store .................................... SUCCESS [  7.172 s]
[INFO] Oak Cloud Blob Store .............................. SUCCESS [  3.418 s]
[INFO] Oak MicroKernel ................................... SUCCESS [  5.849 s]
[INFO] Oak Core .......................................... SUCCESS [06:58 min]
[INFO] Oak JCR Binding ................................... SUCCESS [03:11 min]
[INFO] Oak upgrade ....................................... SUCCESS [ 19.573 s]
[INFO] Oak HTTP Binding .................................. SUCCESS [  0.717 s]
[INFO] Oak Lucene ........................................ SUCCESS [05:41 min]
[INFO] Oak Solr core ..................................... SUCCESS [01:04 min]
[INFO] Oak Solr OSGi ..................................... SUCCESS [ 18.976 s]
[INFO] Oak External Authentication Support ............... SUCCESS [  3.194 s]
[INFO] Oak LDAP Authentication Support ................... FAILURE [ 51.174 s]
[INFO] Oak TarMK Standby ................................. SKIPPED
[INFO] Oak Runnable Jar .................................. SKIPPED
[INFO] Oak Integration Tests for MicroKernel implementations  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: 19:03 min
[INFO] Finished at: 2015-04-11T03:58:12+00:00
[INFO] Final Memory: 101M/1018M
[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

Jenkins build is back to normal : Apache Jackrabbit Oak matrix » jdk1.8.0_11,Ubuntu,DOCUMENT_NS,unittesting #96

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=jdk1.8.0_11,label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/96/changes>