See <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/55/display/redirect?page=changes>
Changes: [radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module ------------------------------------------ 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-org-apache-sling-commons-mime-1.8/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://github.com/apache/sling-org-apache-sling-commons-mime.git # > timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-commons-mime.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-commons-mime.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision c11ccdd136d081c2485fc41d57de0f8fc307c05d (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f c11ccdd136d081c2485fc41d57de0f8fc307c05d Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module" > git rev-list --no-walk ca1f1a4ca067f2141fa0145e4b7201c7a293a29e # timeout=10 Parsing POMs Established TCP socket on 52173 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-commons-mime-1.8] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx4g -Xms4g -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 52173 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/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 Commons MIME type mapping support 2.2.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.apache.sling.commons.mime --- [INFO] Deleting <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (remote-resources-custom-notice) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ org.apache.sling.commons.mime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ org.apache.sling.commons.mime --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/target/classes> [INFO] [INFO] --- bnd-maven-plugin:4.0.0:bnd-process (bnd-process) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ org.apache.sling.commons.mime --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0 [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ org.apache.sling.commons.mime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/src/test/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ org.apache.sling.commons.mime --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ org.apache.sling.commons.mime --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.commons.mime.internal.MimeTypeServiceImplTest 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. [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 s - in org.apache.sling.commons.mime.internal.MimeTypeServiceImplTest [INFO] Running org.apache.sling.commons.mime.internal.TikaMimeTypeProviderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 s - in org.apache.sling.commons.mime.internal.TikaMimeTypeProviderTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.BuildInfoRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ org.apache.sling.commons.mime --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/target/org.apache.sling.commons.mime-2.2.1-SNAPSHOT.jar> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.commons.mime >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.commons.mime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.commons.mime --- [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ org.apache.sling.commons.mime <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.commons.mime --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/target/org.apache.sling.commons.mime-2.2.1-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ org.apache.sling.commons.mime --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (verify-legal-files) @ org.apache.sling.commons.mime --- [INFO] Checking legal files in: org.apache.sling.commons.mime-2.2.1-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.commons.mime-2.2.1-SNAPSHOT-sources.jar [INFO] [INFO] --- bnd-baseline-maven-plugin:4.0.0:baseline (bnd-baseline) @ org.apache.sling.commons.mime --- [INFO] Determining the baseline version for org.apache.sling:org.apache.sling.commons.mime:jar:(,2.2.1-SNAPSHOT) using repositories [apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2, default, releases+snapshots), Nexus (http://repository.apache.org/snapshots, default, snapshots), central (https://repo.maven.apache.org/maven2, default, releases)] [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.mime/maven-metadata.xml [INFO] Downloading: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.commons.mime/maven-metadata.xml [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.mime/maven-metadata.xml [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.mime/maven-metadata.xml (631 B at 2.0 KB/sec) [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.mime/maven-metadata.xml (563 B at 1.4 KB/sec) [WARNING] Could not transfer metadata org.apache.sling:org.apache.sling.commons.mime/maven-metadata.xml from/to apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2): Not authorized , ReasonPhrase:Unauthorized. [INFO] The baseline version was found to be 2.2.0 [INFO] Downloading: https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/sling/org.apache.sling.commons.mime/2.2.0/org.apache.sling.commons.mime-2.2.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.mime/2.2.0/org.apache.sling.commons.mime-2.2.0.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.mime/2.2.0/org.apache.sling.commons.mime-2.2.0.jar (39 KB at 914.1 KB/sec) [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Activate applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Deactivate applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Reference applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Component applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.metatype.annotations.Designate applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Activate applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Deactivate applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Reference applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.component.annotations.Component applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Unable to determine whether the meta annotation org.osgi.service.metatype.annotations.Designate applied to type org.apache.sling.commons.mime.internal.MimeTypeServiceImpl provides bundle annotations as it is not on the project build path. If this annotation does provide bundle annotations then it must be present on the build path in order to be processed [INFO] Baselining check succeeded checking org.apache.sling:org.apache.sling.commons.mime:jar:2.2.1-SNAPSHOT against org.apache.sling:org.apache.sling.commons.mime:jar:2.2.0 [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ org.apache.sling.commons.mime --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Parsing exclusions from <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-1.8/ws/.gitignore> [INFO] Finished adding exclusions from SCM ignore files. [INFO] 73 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: **/repository/index/*/index-details.txt [INFO] Exclude: bnd.bnd [INFO] Exclude: src/main/resources/res/jquery.treeTable.css [INFO] Exclude: src/main/resources/res/jquery.treeTable.min.js [INFO] 14 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 2, unknown: 2, generated: 0, approved: 11 licenses. [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [JENKINS] Archiving disabled [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:20 min [INFO] Finished at: 2018-09-19T17:33:07+00:00 [INFO] Final Memory: 75M/3925M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project org.apache.sling.commons.mime: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-commons-mime-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
