sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: sling-bundles-jcr-repoinit-1.8 #35
Date Thu, 09 Mar 2017 16:27:06 GMT
See <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/35/display/redirect?page=changes>

Changes:

[olli] SLING-6182 repoinit fails to set ACL on previously created principal

do not use AccessControlUtils for regular principals

[olli] improve readability and fix method name

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H23 (ubuntu) in workspace <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/>
Checking out a fresh workspace because there's no workspace at <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/>
Cleaning local Directory .
Checking out https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/repoinit at revision
'2017-03-09T16:24:34.668 +0000'
A         src
A         src/test
A         src/test/java
A         src/test/java/org
A         src/test/java/org/apache
A         src/test/java/org/apache/sling
A         src/test/java/org/apache/sling/jcr
A         src/test/java/org/apache/sling/jcr/repoinit
A         src/test/java/org/apache/sling/jcr/repoinit/ExecutionOrderTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/RegisterNodetypesTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/impl
A         src/test/java/org/apache/sling/jcr/repoinit/impl/ManyServiceUsersTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/impl/RepoinitReferenceTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/impl/AclUtilTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/impl/TestUtil.java
A         src/test/java/org/apache/sling/jcr/repoinit/CreatePathsTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/RepositoryInitializerTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/RegisterNamespacesTest.java
AU        src/test/java/org/apache/sling/jcr/repoinit/CreateUsersTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/CreateServiceUsersTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/NonExistentPathTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/EveryoneTest.java
A         src/test/java/org/apache/sling/jcr/repoinit/GeneralAclTest.java
A         src/main
A         src/main/java
A         src/main/java/org
A         src/main/java/org/apache
A         src/main/java/org/apache/sling
A         src/main/java/org/apache/sling/jcr
A         src/main/java/org/apache/sling/jcr/repoinit
A         src/main/java/org/apache/sling/jcr/repoinit/impl
AU        src/main/java/org/apache/sling/jcr/repoinit/impl/AclVisitor.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/NamespacesVisitor.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/RepositoryInitializer.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/DoNothingVisitor.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/RepoinitTextProvider.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/NodetypesVisitor.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/JcrRepoInitOpsProcessorImpl.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/UserUtil.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java
A         src/main/java/org/apache/sling/jcr/repoinit/impl/UserVisitor.java
A         src/main/java/org/apache/sling/jcr/repoinit/package-info.java
A         src/main/java/org/apache/sling/jcr/repoinit/JcrRepoInitOpsProcessor.java
A         pom.xml
 U        .
At revision 1786198

Parsing POMs
Established TCP socket on 42076
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-bundles-jcr-repoinit-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
42076
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-bundles-jcr-repoinit-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 JCR RepoInit module 1.1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.16/org.apache.sling.testing.jcr-mock-1.1.16.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.16/org.apache.sling.testing.jcr-mock-1.1.16.pom
(5 KB at 9.2 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/2.1.2/org.apache.sling.testing.sling-mock-2.1.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/2.1.2/org.apache.sling.testing.sling-mock-2.1.2.pom
(11 KB at 62.0 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock-oak/2.0.2/org.apache.sling.testing.sling-mock-oak-2.0.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock-oak/2.0.2/org.apache.sling.testing.sling-mock-oak-2.0.2.pom
(6 KB at 16.4 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/2.1.0/org.apache.sling.testing.sling-mock-2.1.0.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/2.1.0/org.apache.sling.testing.sling-mock-2.1.0.pom
(11 KB at 527.9 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.resourceresolver/1.4.4/org.apache.sling.resourceresolver-1.4.4.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.resourceresolver/1.4.4/org.apache.sling.resourceresolver-1.4.4.pom
(8 KB at 375.8 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.jcr.resource/2.7.0/org.apache.sling.jcr.resource-2.7.0.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.jcr.resource/2.7.0/org.apache.sling.jcr.resource-2.7.0.pom
(11 KB at 40.9 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-api/2.10.0/jackrabbit-api-2.10.0.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-api/2.10.0/jackrabbit-api-2.10.0.pom
(4 KB at 196.6 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-parent/2.10.0/jackrabbit-parent-2.10.0.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-parent/2.10.0/jackrabbit-parent-2.10.0.pom
(30 KB at 1220.3 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-jcr-commons/2.10.0/jackrabbit-jcr-commons-2.10.0.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-jcr-commons/2.10.0/jackrabbit-jcr-commons-2.10.0.pom
(5 KB at 264.6 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.16/org.apache.sling.testing.jcr-mock-1.1.16.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/2.1.2/org.apache.sling.testing.sling-mock-2.1.2.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-api/2.10.0/jackrabbit-api-2.10.0.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-jcr-commons/2.10.0/jackrabbit-jcr-commons-2.10.0.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-data/2.13.1/jackrabbit-data-2.13.1.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.jcr-mock/1.1.16/org.apache.sling.testing.jcr-mock-1.1.16.jar
(49 KB at 490.2 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-spi-commons/2.13.1/jackrabbit-spi-commons-2.13.1.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-api/2.10.0/jackrabbit-api-2.10.0.jar
(39 KB at 385.6 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-spi/2.13.1/jackrabbit-spi-2.13.1.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.sling-mock/2.1.2/org.apache.sling.testing.sling-mock-2.1.2.jar
(82 KB at 707.0 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-jcr-commons/2.10.0/jackrabbit-jcr-commons-2.10.0.jar
(389 KB at 3323.1 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-data/2.13.1/jackrabbit-data-2.13.1.jar
(163 KB at 629.4 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-spi/2.13.1/jackrabbit-spi-2.13.1.jar
(28 KB at 102.2 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-spi-commons/2.13.1/jackrabbit-spi-commons-2.13.1.jar
(782 KB at 1842.5 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.jcr.repoinit
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.jcr.repoinit
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.jcr.repoinit
---
[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.jcr.repoinit
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.jcr.repoinit
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.jcr.repoinit
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-bundles-jcr-repoinit-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.jcr.repoinit
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/target/classes>
[INFO] <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/RepositoryInitializer.java>:
<https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/RepositoryInitializer.java>
uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/RepositoryInitializer.java>:
Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java>:[38,56]
package org.apache.jackrabbit.oak.spi.security.principal does not exist
[ERROR] <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java>:[72,38]
package EveryonePrincipal does not exist
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2017-03-09T16:26:33+00:00

[INFO] Final Memory: 38M/560M
[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.jcr.repoinit: Compilation failure: Compilation
failure:
[ERROR] <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java>:[38,56]
package org.apache.jackrabbit.oak.spi.security.principal does not exist
[ERROR] <https://builds.apache.org/job/sling-bundles-jcr-repoinit-1.8/ws/src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java>:[72,38]
package EveryonePrincipal does not exist
[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

Mime
View raw message