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-org-apache-sling-dynamic-include-1.8 #27
Date Thu, 03 May 2018 10:20:49 GMT
See <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/27/display/redirect?page=changes>

Changes:

[marek.krokosinski] Changed path matching to regex matching

[marek.krokosinski] Added unit tests

[marek.krokosinski] updated vesion and README.md

[marek.krokosinski] Added new line to tests

[marek.krokosinski] SLING-7621 introduced PathMatcher

[marek.krokosinski] SLIGN-7621 changed static to private

[marek.krokosinski] SLING-7621 Updated docs

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H25 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/>
Cloning the remote Git repository
Cloning repository https://github.com/apache/sling-org-apache-sling-dynamic-include.git
 > git init <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/>
# timeout=10
Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-dynamic-include.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/apache/sling-org-apache-sling-dynamic-include.git
+refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/apache/sling-org-apache-sling-dynamic-include.git
# timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/apache/sling-org-apache-sling-dynamic-include.git
# timeout=10
Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-dynamic-include.git
 > git fetch --tags --progress https://github.com/apache/sling-org-apache-sling-dynamic-include.git
+refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision c07d0dd88bc95e6047505059d070217be296759f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c07d0dd88bc95e6047505059d070217be296759f
Commit message: "Merge pull request #3 from mkrokosinski/master"
 > git rev-list --no-walk c7ce65a73d3fa0d3fb2f18306248f06b7ecf440c # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 44433
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-org-apache-sling-dynamic-include-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
44433
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/pom.xml>
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -U clean deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Dynamic Include 3.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.dynamic-include
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.dynamic-include
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.dynamic-include
---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.dynamic-include
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.dynamic-include
---
[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.dynamic-include
---
[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.dynamic-include
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes>
[INFO] 
[INFO] --- maven-scr-plugin:1.21.0:scr (generate-scr-scrdescriptor) @ org.apache.sling.dynamic-include
---
[INFO] Generating 1 MetaType Descriptors in <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/metatype/org.apache.sling.dynamicinclude.Configuration.xml>
[INFO] Generating 1 MetaType Descriptors in <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/metatype/org.apache.sling.dynamicinclude.SyntheticResourceFilter.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.CacheControlFilter.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.Configuration.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.SyntheticResourceFilter.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.ConfigurationWhiteboard.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.IncludeTagFilter.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.generator.types.EsiGenerator.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.generator.types.JsiGenerator.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.generator.types.SsiGenerator.xml>
[INFO] Writing 1 Service Component Descriptors to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/classes/OSGI-INF/org.apache.sling.dynamicinclude.generator.IncludeGeneratorWhiteboard.xml>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.dynamic-include
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ org.apache.sling.dynamic-include
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.dynamic-include
---
[INFO] Surefire report directory: <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.sling.dynamicinclude.ConfigurationTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.sling.dynamicinclude.ConfigurationTest
Running org.apache.sling.dynamicinclude.ConfigurationWhiteboardTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.64 sec - in org.apache.sling.dynamicinclude.ConfigurationWhiteboardTest

Results :

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

[JENKINS] Recording test results
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ org.apache.sling.dynamic-include
---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:bundle (default-bundle) @ org.apache.sling.dynamic-include
---
[INFO] 
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ org.apache.sling.dynamic-include
>>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.dynamic-include
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.dynamic-include
---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ org.apache.sling.dynamic-include
<<<
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ org.apache.sling.dynamic-include
---
[INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-1.8/ws/target/org.apache.sling.dynamic-include-3.1.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ org.apache.sling.dynamic-include
---
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.dynamic-include
---
[INFO] Checking legal files in: org.apache.sling.dynamic-include-3.1.0-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.dynamic-include-3.1.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.dynamic-include ---
[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] 19 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 5 unknown: 5 generated: 0 approved: 12 licence.
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:29 min
[INFO] Finished at: 2018-05-03T10:20:47+00:00
[INFO] Final Memory: 39M/371M
[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.dynamic-include: Too many files with unapproved license: 5 See RAT report
in: <https://builds.apache.org/job/sling-org-apache-sling-dynamic-include-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
Not sending mail to unregistered user marek.krokosinski@cognifide.com

Mime
View raw message