You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/03/03 13:24:24 UTC
Build failed in Jenkins:
sling-bundles-extensions-validation-core-1.8 #38
See <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/38/display/redirect?page=changes>
Changes:
[kwin] SLING-6581 use PatriciaTrie from commons collections and get rid of our own implementation
------------------------------------------
[...truncated 6.19 KB...]
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.validation.core ---
[INFO] Deleting <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.validation.core ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.validation.core ---
[INFO] Executing tasks
main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.8 from sling.java.version=8
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.validation.core ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.validation.core ---
[INFO]
[INFO] --- depends-maven-plugin:1.3.1:generate-depends-file (default) @ org.apache.sling.validation.core ---
[INFO] Created: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/classes/META-INF/maven/dependencies.properties>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.validation.core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.sling.validation.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/classes>
[INFO] <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/src/main/java/org/apache/sling/validation/impl/ValidationServiceImpl.java>: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/src/main/java/org/apache/sling/validation/impl/ValidationServiceImpl.java> uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/src/main/java/org/apache/sling/validation/impl/ValidationServiceImpl.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.validation.core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ org.apache.sling.validation.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/test-classes>
[INFO] <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/src/test/java/org/apache/sling/validation/impl/model/MergedValidationModelTest.java>: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/src/test/java/org/apache/sling/validation/impl/model/MergedValidationModelTest.java> uses unchecked or unsafe operations.
[INFO] <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/src/test/java/org/apache/sling/validation/impl/model/MergedValidationModelTest.java>: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.validation.core ---
[INFO] Surefire report directory: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sling.validation.impl.ValidationServiceImplTest
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.848 sec - in org.apache.sling.validation.impl.ValidationServiceImplTest
Running org.apache.sling.validation.impl.resourcemodel.ResourceValidationModelProviderImplTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.401 sec - in org.apache.sling.validation.impl.resourcemodel.ResourceValidationModelProviderImplTest
Running org.apache.sling.validation.impl.model.MergedValidationModelTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.sling.validation.impl.model.MergedValidationModelTest
Running org.apache.sling.validation.impl.util.ValidatorTypeUtilTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.sling.validation.impl.util.ValidatorTypeUtilTest
Running org.apache.sling.validation.impl.ValidationModelRetrieverImplTest
[main] INFO org.apache.sling.validation.impl.ValidationModelRetrieverImpl - A Validator for the same id 'DateValidator' is already registered with class 'org.apache.sling.validation.impl.util.examplevalidators.DateValidator@82ea68c' from bundle 1 and has a higher service ranking
[main] INFO org.apache.sling.validation.impl.ValidationModelRetrieverImpl - Overwriting already existing validator org.apache.sling.validation.impl.util.examplevalidators.DateValidator@45a37759 from bundle 1 with validator org.apache.sling.validation.impl.util.examplevalidators.StringValidator@63611043 from bundle 1, because it has the same id 'DateValidator' and a higher service ranking
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec - in org.apache.sling.validation.impl.ValidationModelRetrieverImplTest
Results :
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ org.apache.sling.validation.core ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO]
[INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ org.apache.sling.validation.core ---
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.validation.core >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.validation.core ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.validation.core ---
[INFO] Executing tasks
main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.8 from sling.java.version=8
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ org.apache.sling.validation.core <<<
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.validation.core ---
[INFO] Building jar: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/org.apache.sling.validation.core-1.0.0-SNAPSHOT-sources.jar>
[INFO]
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.validation.core ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default) @ org.apache.sling.validation.core ---
[INFO] Failsafe report directory: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/failsafe-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sling.validation.core.it.tests.ValidationServiceIT
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 48.256 sec <<< FAILURE! - in org.apache.sling.validation.core.it.tests.ValidationServiceIT
testInvalidRequestModel1(org.apache.sling.validation.core.it.tests.ValidationServiceIT) Time elapsed: 17.483 sec <<< ERROR!
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.apache.sling.validation.ValidationService
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:199)
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:136)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField(ServiceInjector.java:89)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields(ServiceInjector.java:69)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields(ServiceInjector.java:61)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.createTest(ContainerTestRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChildWithRetry(ContainerTestRunner.java:84)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:75)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:44)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
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:498)
at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.invokeMethodOnService(RemoteFrameworkImpl.java:433)
at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.invokeMethodOnService(RemoteFrameworkImpl.java:406)
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:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
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)
testValidRequestModel1(org.apache.sling.validation.core.it.tests.ValidationServiceIT) Time elapsed: 15.008 sec <<< ERROR!
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.apache.sling.validation.ValidationService
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:199)
at org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:136)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectField(ServiceInjector.java:89)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectDeclaredFields(ServiceInjector.java:69)
at org.ops4j.pax.exam.inject.internal.ServiceInjector.injectFields(ServiceInjector.java:61)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.createTest(ContainerTestRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChildWithRetry(ContainerTestRunner.java:84)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:75)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:44)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
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:498)
at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.invokeMethodOnService(RemoteFrameworkImpl.java:433)
at org.ops4j.pax.swissbox.framework.RemoteFrameworkImpl.invokeMethodOnService(RemoteFrameworkImpl.java:406)
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:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
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)
Results :
Tests in error:
ValidationServiceIT.testInvalidRequestModel1 » ServiceLookup gave up waiting f...
ValidationServiceIT.testValidRequestModel1 » ServiceLookup gave up waiting for...
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
[JENKINS] Recording test results
[INFO]
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.validation.core ---
[INFO] Checking legal files in: org.apache.sling.validation.core-1.0.0-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.validation.core-1.0.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.validation.core ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] Exclude: hs_err_*.log
[INFO] 54 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 5 unknown: 5 generated: 0 approved: 39 licence.
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:14 min
[INFO] Finished at: 2017-03-03T13:24:21+00:00
[INFO] Final Memory: 55M/708M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project org.apache.sling.validation.core: Too many files with unapproved license: 5 See RAT report in: <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/ws/target/rat.txt> -> [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
channel stopped
Recording test results
Jenkins build is back to normal :
sling-bundles-extensions-validation-core-1.8 #39
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-bundles-extensions-validation-core-1.8/39/display/redirect?page=changes>