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 2016/03/17 21:00:01 UTC

Build failed in Jenkins: sling-samples-1.7 #231

See <https://builds.apache.org/job/sling-samples-1.7/231/>

------------------------------------------
[...truncated 514 lines...]
[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] 9 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 4 licence.
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:baseline (baseline) @ org.apache.sling.samples.post-servlet-extensions ---
[INFO] artifact org.apache.sling.samples:org.apache.sling.samples.post-servlet-extensions: checking for updates from Nexus
[INFO] artifact org.apache.sling.samples:org.apache.sling.samples.post-servlet-extensions: checking for updates from central
[INFO] Unable to find a previous version of the project in the repository
[INFO] Not generating Baseline report as there is no previous version of the library to compare against
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.apache.sling.samples.post-servlet-extensions ---
[INFO] Installing <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/post-servlet-extensions/target/org.apache.sling.samples.post-servlet-extensions-0.1.0-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/samples/org.apache.sling.samples.post-servlet-extensions/0.1.0-SNAPSHOT/org.apache.sling.samples.post-servlet-extensions-0.1.0-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/post-servlet-extensions/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/samples/org.apache.sling.samples.post-servlet-extensions/0.1.0-SNAPSHOT/org.apache.sling.samples.post-servlet-extensions-0.1.0-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/post-servlet-extensions/target/org.apache.sling.samples.post-servlet-extensions-0.1.0-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/samples/org.apache.sling.samples.post-servlet-extensions/0.1.0-SNAPSHOT/org.apache.sling.samples.post-servlet-extensions-0.1.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:install (default-install) @ org.apache.sling.samples.post-servlet-extensions ---
[INFO] Local OBR update disabled (enable with -DobrRepository)
[JENKINS] Archiving disabled
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling - Slingshot Demo 0.8.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.hamcrest/0.9.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.hamcrest/0.9.0-SNAPSHOT/maven-metadata.xml (2 KB at 1.2 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.hamcrest/0.9.0-SNAPSHOT/org.apache.sling.testing.hamcrest-0.9.0-20160317.183247-1057.pom
Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.hamcrest/0.9.0-SNAPSHOT/org.apache.sling.testing.hamcrest-0.9.0-20160317.183247-1057.pom (4 KB at 22.2 KB/sec)
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.hamcrest/0.9.0-SNAPSHOT/org.apache.sling.testing.hamcrest-0.9.0-20160317.183247-1057.jar
Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.testing.hamcrest/0.9.0-SNAPSHOT/org.apache.sling.testing.hamcrest-0.9.0-20160317.183247-1057.jar (13 KB at 106.4 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.sample.slingshot ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.sample.slingshot ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.sample.slingshot ---
[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.sample.slingshot ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.sample.slingshot ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 65 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (check-memory-task) @ org.apache.sling.sample.slingshot ---
[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-compiler-plugin:3.2:compile (default-compile) @ org.apache.sling.sample.slingshot ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/classes>
[INFO] <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/src/main/java/org/apache/sling/sample/slingshot/impl/SetupService.java>: <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/src/main/java/org/apache/sling/sample/slingshot/impl/SetupService.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/src/main/java/org/apache/sling/sample/slingshot/impl/SetupService.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-scr-plugin:1.21.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.sample.slingshot ---
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/classes/OSGI-INF/org.apache.sling.sample.slingshot.impl.SetupService.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/classes/OSGI-INF/org.apache.sling.sample.slingshot.comments.impl.CommentsServiceImpl.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/classes/OSGI-INF/org.apache.sling.sample.slingshot.comments.impl.CommentPostServlet.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/classes/OSGI-INF/org.apache.sling.sample.slingshot.ratings.impl.RatingPostServlet.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/classes/OSGI-INF/org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl.xml>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.sample.slingshot ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ org.apache.sling.sample.slingshot ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.sample.slingshot ---
[INFO] Surefire report directory: <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.sample.slingshot.impl.SetupServiceTest
1344 [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Found a new index node [reference]. Reindexing is requested
1345 [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Reindexing will be performed for following indexes: [/oak:index/slingVanityPath, /oak:index/slingResourceType, /oak:index/reference, /oak:index/nodetype, /oak:index/jcrLanguage, /oak:index/jcrLockOwner, /oak:index/uuid, /oak:index/slingAlias, /oak:index/slingResource]
1582 [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Indexing report
    - /oak:index/slingVanityPath*(0)
    - /oak:index/slingResourceType*(0)
    - /oak:index/reference*(0)
    - /oak:index/nodetype*(1210)
    - /oak:index/jcrLanguage*(0)
    - /oak:index/jcrLockOwner*(0)
    - /oak:index/uuid*(0)
    - /oak:index/slingAlias*(0)
    - /oak:index/slingResource*(0)

1824 [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Reindexing will be performed for following indexes: [/oak:index/principalName, /oak:index/acPrincipalName, /oak:index/authorizableId]
1877 [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Indexing report
    - /oak:index/principalName*(2)
    - /oak:index/acPrincipalName*(0)
    - /oak:index/authorizableId*(2)

3878 [main] INFO org.apache.sling.sample.slingshot.impl.SetupService - Setting up SlingShot...
3906 [main] INFO org.apache.sling.sample.slingshot.impl.SetupService - Creating user slingshot1
3923 [main] INFO org.apache.sling.sample.slingshot.impl.SetupService - Creating user slingshot2
3942 [main] INFO org.apache.sling.sample.slingshot.impl.SetupService - Creating service user slingshot-service
4061 [main] INFO org.apache.sling.sample.slingshot.impl.SetupService - Finished setting up SlingShot
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.14 sec - in org.apache.sling.sample.slingshot.impl.SetupServiceTest
Running org.apache.sling.sample.slingshot.impl.UtilTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.sling.sample.slingshot.impl.UtilTest
Running org.apache.sling.sample.slingshot.SlingshotUtilTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec - in org.apache.sling.sample.slingshot.SlingshotUtilTest
Running org.apache.sling.sample.slingshot.ratings.impl.RatingServiceImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in org.apache.sling.sample.slingshot.ratings.impl.RatingServiceImplTest
Running org.apache.sling.sample.slingshot.ratings.impl.RatingPostServletTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec - in org.apache.sling.sample.slingshot.ratings.impl.RatingPostServletTest

Results :

Tests run: 14, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ org.apache.sling.sample.slingshot ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:bundle (default-bundle) @ org.apache.sling.sample.slingshot ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.sample.slingshot ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.sample.slingshot ---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ org.apache.sling.sample.slingshot ---
[INFO] Building jar: <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/target/org.apache.sling.sample.slingshot-0.8.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ org.apache.sling.sample.slingshot ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default) @ org.apache.sling.sample.slingshot ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.sample.slingshot ---
[INFO] Checking legal files in: org.apache.sling.sample.slingshot-0.8.0-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.sample.slingshot-0.8.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:baseline (baseline) @ org.apache.sling.sample.slingshot ---
[INFO] artifact org.apache.sling:org.apache.sling.sample.slingshot: checking for updates from Nexus
[INFO] artifact org.apache.sling:org.apache.sling.sample.slingshot: checking for updates from central
[INFO] Unable to find a previous version of the project in the repository
[INFO] Not generating Baseline report as there is no previous version of the library to compare against
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.sample.slingshot ---
[INFO] 51 implicit excludes (use -debug for more details).
[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] Exclude: src/main/resources/SLING-INF/content/**/*.json
[INFO] Exclude: src/main/resources/SLING-INF/content/slingshot/resources/css/*.css
[INFO] Exclude: src/main/resources/SLING-INF/content/slingshot/resources/js/*.js
[INFO] Exclude: src/main/resources/SLING-INF/content/slingshot/resources/fonts/*.svg
[INFO] Exclude: src/test/resources/**.json
[INFO] 59 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 44 licence.
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Sling ESP blog sample ...................... SUCCESS [14.373s]
[INFO] Apache Sling Javashell sample ..................... SUCCESS [4.032s]
[INFO] Apache Sling Sample Path Based Resource Type Provider  SUCCESS [11.144s]
[INFO] Apache Sling Sample Post Servlet Extensions ....... SUCCESS [5.239s]
[INFO] Apache Sling - Slingshot Demo ..................... FAILURE [14.329s]
[INFO] Apache Sling Webloader Service .................... SKIPPED
[INFO] Apache Sling Webloader User Interface ............. SKIPPED
[INFO] Apache Sling Sample Custom Login Form ............. SKIPPED
[INFO] Apache Sling Slingbucks - sample coffee store management application  SKIPPED
[INFO] Dependency Install Sample ......................... SKIPPED
[INFO] Apache Sling Sample Framework Fragment Bundle ..... SKIPPED
[INFO] Apache Sling User Manager UI sample ............... SKIPPED
[INFO] Apache Sling Access Manager UI sample ............. SKIPPED
[INFO] Apache Sling Mail Archive Server - Apache James Wrapper  SKIPPED
[INFO] Apache Sling Mail Archive Server .................. SKIPPED
[INFO] Apache Sling Mail Archive Server UI ............... SKIPPED
[INFO] Apache Sling Mail Archive Server Stats ............ SKIPPED
[INFO] Apache Sling Archive Server Reactor ............... SKIPPED
[INFO] Apache Sling Samples (Builder) .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.101s
[INFO] Finished at: Thu Mar 17 20:00:03 UTC 2016
[INFO] Final Memory: 39M/460M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
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.sample.slingshot: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/sling-samples-1.7/ws/trunk/slingshot/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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.apache.sling.sample.slingshot
channel stopped

Re: Build failed in Jenkins: sling-samples-1.7 #231

Posted by Robert Munteanu <ro...@apache.org>.
On Thu, 2016-03-17 at 20:00 +0000, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/sling-samples-1.7/231/>
> 
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-
> plugin:0.11:check (default) on project
> org.apache.sling.sample.slingshot: Too many files with unapproved
> license: 1 See RAT report in: <https://builds.apache.org/job/sling-sa
> mples-1.7/ws/trunk/slingshot/target/rat.txt> -> [Help 1]

The rat check should not fail.

I filed https://issues.apache.org/jira/browse/RAT-215 and committed a
workaround in https://svn.apache.org/r1735545 .

Robert

Jenkins build is back to normal : sling-samples-1.7 #232

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/sling-samples-1.7/232/changes>