See <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/44/display/redirect?page=changes>
Changes: [justin] SLING-5739 - pluggable @Via providers / SLING-6778 - supporting delegate models ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on ubuntu-1 (ubuntu trusty) in workspace <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/> Updating https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/integration-tests at revision '2017-04-20T15:16:57.397 +0000' A src/main/java/org/apache/sling/models/it/delegate A src/main/java/org/apache/sling/models/it/delegate/DelegateResourceTest.java A src/main/java/org/apache/sling/models/it/delegate/DelegateRequestTest.java A src/main/java/org/apache/sling/models/it/delegate/resource A src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java A src/main/java/org/apache/sling/models/it/delegate/resource/DelegateBaseModel.java A src/main/java/org/apache/sling/models/it/delegate/resource/DelegateInterface.java A src/main/java/org/apache/sling/models/it/delegate/request A src/main/java/org/apache/sling/models/it/delegate/request/DelegateBaseModel.java A src/main/java/org/apache/sling/models/it/delegate/request/DelegateInterface.java A src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java U src/main/java/org/apache/sling/models/it/rtbound/FakeRequest.java U pom.xml At revision 1792075 Parsing POMs Established TCP socket on 53426 maven33-agent.jar already up to date maven33-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [sling-bundles-extensions-models-integration-tests-1.7] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 53426 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean deploy [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Sling Models Integration Tests 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.models.api/1.3.3-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.models.api/1.3.3-SNAPSHOT/maven-metadata.xml (1007 B at 2.0 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.models.impl/1.3.9-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.models.impl/1.3.9-SNAPSHOT/maven-metadata.xml (1008 B at 2.7 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.models.jacksonexporter/1.0.7-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.models.jacksonexporter/1.0.7-SNAPSHOT/maven-metadata.xml (1019 B at 2.7 KB/sec) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.models.integration-tests --- [INFO] Deleting <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target> [INFO] Deleting <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/> (includes = [sling/**], excludes = []) [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.models.integration-tests --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.models.integration-tests --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.models.integration-tests --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.models.integration-tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.8:run (check-memory-task) @ org.apache.sling.models.integration-tests --- [INFO] Executing tasks main: [echo] **************** WARNING (SLING-443/SLING-1782) ****************************** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443 [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782 [echo] ****************************************************************************** [INFO] Executed tasks [INFO] [INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-runnable-jar) @ org.apache.sling.models.integration-tests --- [INFO] Copying org.apache.sling.launchpad-7-standalone.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/dependency/org.apache.sling.launchpad-7-standalone.jar> [INFO] [INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-additional-bundles) @ org.apache.sling.models.integration-tests --- [INFO] Copying org.osgi.core-4.1.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.osgi.core-4.1.0.jar> [INFO] Copying commons-io-1.4.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/commons-io-1.4.jar> [INFO] Copying org.apache.sling.engine-2.2.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.engine-2.2.0.jar> [INFO] Copying geronimo-atinject_1.0_spec-1.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/geronimo-atinject_1.0_spec-1.0.jar> [INFO] Copying org.apache.sling.testing.tools-1.0.12.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.testing.tools-1.0.12.jar> [INFO] Copying jackson-annotations-2.3.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/jackson-annotations-2.3.2.jar> [INFO] Copying slf4j-simple-1.5.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/slf4j-simple-1.5.2.jar> [INFO] Copying bndlib-1.50.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/bndlib-1.50.0.jar> [INFO] Copying httpcore-osgi-4.1.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/httpcore-osgi-4.1.2.jar> [INFO] Copying org.apache.felix.scr.annotations-1.9.12.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.felix.scr.annotations-1.9.12.jar> [INFO] Copying org.apache.sling.models.api-1.3.3-SNAPSHOT.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.models.api-1.3.3-SNAPSHOT.jar> [INFO] Copying org.apache.sling.models.jacksonexporter-1.0.7-SNAPSHOT.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.models.jacksonexporter-1.0.7-SNAPSHOT.jar> [INFO] Copying org.apache.sling.junit.remote-1.0.8.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.junit.remote-1.0.8.jar> [INFO] Copying jackson-databind-2.3.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/jackson-databind-2.3.2.jar> [INFO] Copying org.apache.sling.junit.core-1.0.8.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.junit.core-1.0.8.jar> [INFO] Copying org.apache.sling.models.impl-1.3.9-SNAPSHOT.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.models.impl-1.3.9-SNAPSHOT.jar> [INFO] Copying org.apache.sling.commons.json-2.0.6.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.commons.json-2.0.6.jar> [INFO] Copying jcr-1.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/jcr-1.0.jar> [INFO] Copying org.apache.sling.api-2.4.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.api-2.4.0.jar> [INFO] Copying commons-lang-2.5.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/commons-lang-2.5.jar> [INFO] Copying jackson-core-2.3.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/jackson-core-2.3.2.jar> [INFO] Copying slf4j-api-1.5.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/slf4j-api-1.5.2.jar> [INFO] Copying httpclient-osgi-4.1.2.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/httpclient-osgi-4.1.2.jar> [INFO] Copying org.osgi.compendium-4.1.0.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.osgi.compendium-4.1.0.jar> [INFO] Copying org.apache.sling.launchpad-7-standalone.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/org.apache.sling.launchpad-7-standalone.jar> [INFO] Copying servlet-api-2.4.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/servlet-api-2.4.jar> [INFO] Copying junit-4.12.jar to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/sling/additional-bundles/junit-4.12.jar> [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:reserve-network-port (reserve-server-port) @ org.apache.sling.models.integration-tests --- [INFO] Reserved port 52398 for http.port [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ org.apache.sling.models.integration-tests --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 55 source files to <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/target/classes> [INFO] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/exporter/FakeResponse.java>: Some input files use or override a deprecated API. [INFO] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/exporter/FakeResponse.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java>: <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java> uses unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/exporter/ExporterTest.java>: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[23,47] package org.apache.sling.models.annotations.via does not exist [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[23,47] package org.apache.sling.models.annotations.via does not exist [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[29,16] cannot find symbol symbol: method type() location: @interface org.apache.sling.models.annotations.Via [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[29,23] cannot find symbol symbol: class ResourceSuperType location: class org.apache.sling.models.it.delegate.request.DelegateExtendedModel [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[29,16] cannot find symbol symbol: method type() location: @interface org.apache.sling.models.annotations.Via [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[29,23] cannot find symbol symbol: class ResourceSuperType location: class org.apache.sling.models.it.delegate.resource.DelegateExtendedModel [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[29,11] annotation org.apache.sling.models.annotations.Via is missing value for the attribute value [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[29,11] annotation org.apache.sling.models.annotations.Via is missing value for the attribute value [INFO] 8 errors [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled [JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.964 s [INFO] Finished at: 2017-04-20T15:17:33+00:00 [INFO] Final Memory: 34M/388M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project org.apache.sling.models.integration-tests: Compilation failure: Compilation failure: [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[23,47] package org.apache.sling.models.annotations.via does not exist [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[23,47] package org.apache.sling.models.annotations.via does not exist [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[29,16] cannot find symbol [ERROR] symbol: method type() [ERROR] location: @interface org.apache.sling.models.annotations.Via [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[29,23] cannot find symbol [ERROR] symbol: class ResourceSuperType [ERROR] location: class org.apache.sling.models.it.delegate.request.DelegateExtendedModel [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[29,16] cannot find symbol [ERROR] symbol: method type() [ERROR] location: @interface org.apache.sling.models.annotations.Via [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[29,23] cannot find symbol [ERROR] symbol: class ResourceSuperType [ERROR] location: class org.apache.sling.models.it.delegate.resource.DelegateExtendedModel [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/request/DelegateExtendedModel.java>:[29,11] annotation org.apache.sling.models.annotations.Via is missing value for the attribute value [ERROR] <https://builds.apache.org/job/sling-bundles-extensions-models-integration-tests-1.7/ws/src/main/java/org/apache/sling/models/it/delegate/resource/DelegateExtendedModel.java>:[29,11] annotation org.apache.sling.models.annotations.Via is missing value for the attribute value [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 channel stopped Recording test results