See <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/50/display/redirect>
------------------------------------------ Started by timer [EnvInject] - Loading node environment variables. Building remotely on H27 (ubuntu xenial) in workspace <https://builds.apache.org/job/sling-org-apache-sling-testing-email-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-testing-email.git # > timeout=10 Fetching upstream changes from https://github.com/apache/sling-org-apache-sling-testing-email.git > git --version # timeout=10 > git fetch --tags --progress > https://github.com/apache/sling-org-apache-sling-testing-email.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 6f44c9912e5838cf4009a88f77321d90c535dc02 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f44c9912e5838cf4009a88f77321d90c535dc02 Commit message: "SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module" > git rev-list --no-walk 6f44c9912e5838cf4009a88f77321d90c535dc02 # timeout=10 Parsing POMs Established TCP socket on 32787 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-testing-email-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 32787 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/sling-org-apache-sling-testing-email-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 Testing Email Support 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-wiser/1.2/subethasmtp-wiser-1.2.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-wiser/1.2/subethasmtp-wiser-1.2.pom (3 KB at 10.1 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-parent/1.1/subethasmtp-parent-1.1.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-parent/1.1/subethasmtp-parent-1.1.pom (3 KB at 129.5 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-smtp/1.2/subethasmtp-smtp-1.2.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-smtp/1.2/subethasmtp-smtp-1.2.pom (3 KB at 98.0 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/javax/mail/mail/1.4/mail-1.4.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/javax/mail/mail/1.4/mail-1.4.pom (993 B at 60.6 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.clients/1.1.0/org.apache.sling.testing.clients-1.1.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.clients/1.1.0/org.apache.sling.testing.clients-1.1.0.pom (6 KB at 197.0 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.pom (3 KB at 138.7 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-wiser/1.2/subethasmtp-wiser-1.2.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-smtp/1.2/subethasmtp-smtp-1.2.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/javax/mail/mail/1.4/mail-1.4.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.clients/1.1.0/org.apache.sling.testing.clients-1.1.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-api/2.11.3/jackrabbit-api-2.11.3.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-wiser/1.2/subethasmtp-wiser-1.2.jar (8 KB at 111.7 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/jackrabbit/jackrabbit-api/2.11.3/jackrabbit-api-2.11.3.jar (41 KB at 590.6 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/subethamail/subethasmtp-smtp/1.2/subethasmtp-smtp-1.2.jar (62 KB at 718.8 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.testing.clients/1.1.0/org.apache.sling.testing.clients-1.1.0.jar (95 KB at 1089.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar (118 KB at 1110.2 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/javax/mail/mail/1.4/mail-1.4.jar (380 KB at 3483.9 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar (52 KB at 490.4 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar (79 KB at 716.4 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar (203 KB at 1805.4 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.testing.email --- [INFO] Deleting <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.testing.email --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.testing.email --- [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.email --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.testing.email --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.testing.email --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-testing-email-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.email --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/ws/target/classes> [INFO] [INFO] --- maven-bundle-plugin:3.2.0:manifest (scr-metadata) @ org.apache.sling.testing.email --- [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.testing.email --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/ws/src/test/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ org.apache.sling.testing.email --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.testing.email --- [INFO] Surefire report directory: <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.testing.email.impl.SmtpServerWrapperTest 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. log4j:WARN No appenders could be found for logger (org.subethamail.smtp.server.CommandHandler). log4j:WARN Please initialize the log4j system properly. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.535 sec - in org.apache.sling.testing.email.impl.SmtpServerWrapperTest Running org.apache.sling.testing.email.impl.EmailServletTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.571 sec - in org.apache.sling.testing.email.impl.EmailServletTest Results : Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [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/ [INFO] [INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ org.apache.sling.testing.email --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ org.apache.sling.testing.email --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.testing.email >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.testing.email --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.testing.email --- [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.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ org.apache.sling.testing.email <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.testing.email --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-testing-email-1.8/ws/target/org.apache.sling.testing.email-1.0.1-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ org.apache.sling.testing.email --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.testing.email --- [INFO] Checking legal files in: org.apache.sling.testing.email-1.0.1-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.testing.email-1.0.1-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.testing.email --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: DEPENDENCIES [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] 8 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 approved: 5 licence. [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-20T06:16:44+00:00 [INFO] Final Memory: 60M/3925M [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.testing.email: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-testing-email-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
