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/17 21:09:14 UTC

Build failed in Jenkins: sling-testing-mocks-sling-mock-1.8 #49

See <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/49/display/redirect>

------------------------------------------
Started by upstream project "sling-bundles-jcr-contentparser-1.7" build number 2
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu3 (ubuntu) in workspace <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/>
Updating https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock at revision '2017-03-17T21:08:15.560 +0000'
U         src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
At revision 1787502

No changes for https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock since the previous build
Parsing POMs
Established TCP socket on 36127
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-testing-mocks-sling-mock-1.8] $ /home/jenkins/tools/java/latest1.8/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 36127
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean verify
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Testing Sling Mock 2.2.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.osgi-mock/2.2.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.osgi-mock/2.2.3-SNAPSHOT/maven-metadata.xml (1014 B at 2.1 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.osgi-mock/2.2.3-SNAPSHOT/org.apache.sling.testing.osgi-mock-2.2.3-20170315.163206-9.pom
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.osgi-mock/2.2.3-SNAPSHOT/org.apache.sling.testing.osgi-mock-2.2.3-20170315.163206-9.pom (8 KB at 21.2 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.jcr.contentparser/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.jcr.contentparser/1.0.0-SNAPSHOT/maven-metadata.xml (1014 B at 2.6 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.jcr.contentparser/1.0.0-SNAPSHOT/org.apache.sling.jcr.contentparser-1.0.0-20170317.210747-4.pom
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.jcr.contentparser/1.0.0-SNAPSHOT/org.apache.sling.jcr.contentparser-1.0.0-20170317.210747-4.pom (5 KB at 13.0 KB/sec)
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.osgi-mock/2.2.3-SNAPSHOT/org.apache.sling.testing.osgi-mock-2.2.3-20170315.163206-9.jar
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.jcr.contentparser/1.0.0-SNAPSHOT/org.apache.sling.jcr.contentparser-1.0.0-20170317.210747-4.jar
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.jcr.contentparser/1.0.0-SNAPSHOT/org.apache.sling.jcr.contentparser-1.0.0-20170317.210747-4.jar (27 KB at 57.1 KB/sec)
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.osgi-mock/2.2.3-SNAPSHOT/org.apache.sling.testing.osgi-mock-2.2.3-20170315.163206-9.jar (465 KB at 552.3 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.testing.sling-mock ---
[INFO] Deleting <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.testing.sling-mock ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.testing.sling-mock ---
[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 (process-resource-bundles) @ org.apache.sling.testing.sling-mock ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.testing.sling-mock ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.testing.sling-mock ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.sling.testing.sling-mock ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 39 source files to <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/target/classes>
[INFO] <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/src/main/java/org/apache/sling/testing/mock/sling/MockJcrSlingRepository.java>: Some input files use or override a deprecated API.
[INFO] <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/src/main/java/org/apache/sling/testing/mock/sling/MockJcrSlingRepository.java>: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java>:[180,53] method parse in interface org.apache.sling.jcr.contentparser.ContentParser cannot be applied to given types;
  required: org.apache.sling.jcr.contentparser.ContentHandler,java.io.InputStream
  found: java.io.InputStream
  reason: actual and formal argument lists differ in length
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.004 s
[INFO] Finished at: 2017-03-17T21:09:06+00:00

[INFO] Final Memory: 36M/565M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project org.apache.sling.testing.sling-mock: Compilation failure
[ERROR] <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/ws/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java>:[180,53] method parse in interface org.apache.sling.jcr.contentparser.ContentParser cannot be applied to given types;
[ERROR] required: org.apache.sling.jcr.contentparser.ContentHandler,java.io.InputStream
[ERROR] found: java.io.InputStream
[ERROR] reason: actual and formal argument lists differ in length
[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

Jenkins build is back to normal : sling-testing-mocks-sling-mock-1.8 #50

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-testing-mocks-sling-mock-1.8/50/display/redirect?page=changes>