See <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/58/display/redirect?page=changes>
Changes: [radu] SLING-7216 - [nice-to-have] Add a CODE_OF_CONDUCT file to every module [radu] SLING-7215 - [nice-to-have] Add a CONTRIBUTING file to every module ------------------------------------------ [...truncated 2.45 KB...] [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit/2.32/htmlunit-2.32.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit/2.32/htmlunit-2.32.pom (42 KB at 102.1 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-core-js/2.32/htmlunit-core-js-2.32.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-core-js/2.32/htmlunit-core-js-2.32.pom (2 KB at 89.2 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/neko-htmlunit/2.32/neko-htmlunit-2.32.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/neko-htmlunit/2.32/neko-htmlunit-2.32.pom (6 KB at 243.2 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-cssparser/1.1.0/htmlunit-cssparser-1.1.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-cssparser/1.1.0/htmlunit-cssparser-1.1.0.pom (14 KB at 555.0 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-cm/4.12.0/pax-exam-cm-4.12.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-cm/4.12.0/pax-exam-cm-4.12.0.pom (2 KB at 53.6 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-container-forked/4.12.0/pax-exam-container-forked-4.12.0.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-container-forked/4.12.0/pax-exam-container-forked-4.12.0.pom (7 KB at 362.4 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit/2.32/htmlunit-2.32.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-core-js/2.32/htmlunit-core-js-2.32.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/neko-htmlunit/2.32/neko-htmlunit-2.32.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-cssparser/1.1.0/htmlunit-cssparser-1.1.0.jar [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-cm/4.12.0/pax-exam-cm-4.12.0.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/neko-htmlunit/2.32/neko-htmlunit-2.32.jar (124 KB at 2565.3 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-container-forked/4.12.0/pax-exam-container-forked-4.12.0.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-cm/4.12.0/pax-exam-cm-4.12.0.jar (18 KB at 355.3 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ops4j/pax/exam/pax-exam-container-forked/4.12.0/pax-exam-container-forked-4.12.0.jar (32 KB at 428.6 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-cssparser/1.1.0/htmlunit-cssparser-1.1.0.jar (205 KB at 2526.9 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit-core-js/2.32/htmlunit-core-js-2.32.jar (1151 KB at 6650.1 KB/sec) [INFO] Downloaded: https://repo.maven.apache.org/maven2/net/sourceforge/htmlunit/htmlunit/2.32/htmlunit-2.32.jar (1976 KB at 8479.5 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ org.apache.sling.commons.metrics --- [INFO] Deleting <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (remote-resources-custom-notice) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- depends-maven-plugin:1.4.0:generate-depends-file (generate-depends-file) @ org.apache.sling.commons.metrics --- [INFO] Created: <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/target/classes/META-INF/maven/dependencies.properties> [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ org.apache.sling.commons.metrics --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/src/main/resources> [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ org.apache.sling.commons.metrics --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 23 source files to <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/target/classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/src/main/java/org/apache/sling/commons/metrics/MetricsServiceFactory.java>: <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/src/main/java/org/apache/sling/commons/metrics/MetricsServiceFactory.java> uses unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/src/main/java/org/apache/sling/commons/metrics/MetricsServiceFactory.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ org.apache.sling.commons.metrics --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0 [INFO] [INFO] --- bnd-maven-plugin:4.0.0:bnd-process (bnd-process) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ org.apache.sling.commons.metrics --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-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.metrics --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/target/test-classes> [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/src/test/java/org/apache/sling/commons/metrics/internal/InternalMetricsServiceFactoryTest.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/src/test/java/org/apache/sling/commons/metrics/internal/InternalMetricsServiceFactoryTest.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ org.apache.sling.commons.metrics --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.commons.metrics.internal.JmxUtilTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s - in org.apache.sling.commons.metrics.internal.JmxUtilTest [INFO] Running org.apache.sling.commons.metrics.internal.MetricServiceTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.641 s - in org.apache.sling.commons.metrics.internal.MetricServiceTest [INFO] Running org.apache.sling.commons.metrics.internal.InternalMetricsServiceFactoryTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 s - in org.apache.sling.commons.metrics.internal.InternalMetricsServiceFactoryTest [INFO] Running org.apache.sling.commons.metrics.internal.BundleMetricsMapperTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.apache.sling.commons.metrics.internal.BundleMetricsMapperTest [INFO] Running org.apache.sling.commons.metrics.internal.MetricWrapperTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.sling.commons.metrics.internal.MetricWrapperTest [INFO] Running org.apache.sling.commons.metrics.internal.MetricWebConsolePluginTest [main] WARN org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin - Duplicate Metric name found test2 java.lang.IllegalArgumentException: A metric named test2 already exists at com.codahale.metrics.MetricRegistry.register(MetricRegistry.java:91) at org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin.getConsolidatedRegistry(MetricWebConsolePlugin.java:437) at org.apache.sling.commons.metrics.internal.MetricWebConsolePluginTest.consolidatedRegistry(MetricWebConsolePluginTest.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:239) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:160) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [main] WARN org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin - Duplicate Metric name found test2 java.lang.IllegalArgumentException: A metric named test2 already exists at com.codahale.metrics.MetricRegistry.register(MetricRegistry.java:91) at org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin.getConsolidatedRegistry(MetricWebConsolePlugin.java:437) at org.apache.sling.commons.metrics.internal.MetricWebConsolePluginTest.consolidatedRegistry(MetricWebConsolePluginTest.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:239) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:160) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.022 s - in org.apache.sling.commons.metrics.internal.MetricWebConsolePluginTest [INFO] Running org.apache.sling.commons.metrics.internal.JSONReporterTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.sling.commons.metrics.internal.JSONReporterTest [INFO] Running org.apache.sling.commons.metrics.internal.LogReporterTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s - in org.apache.sling.commons.metrics.internal.LogReporterTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 36, 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.metrics --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/target/org.apache.sling.commons.metrics-1.2.7-SNAPSHOT.jar> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ org.apache.sling.commons.metrics >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-property-values) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ org.apache.sling.commons.metrics --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ org.apache.sling.commons.metrics --- [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.metrics <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ org.apache.sling.commons.metrics --- [INFO] Building jar: <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-1.8/ws/target/org.apache.sling.commons.metrics-1.2.7-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ org.apache.sling.commons.metrics --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-failsafe-plugin:2.20.1:integration-test (default) @ org.apache.sling.commons.metrics --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.sling.commons.metrics.test.MetricsServiceFactoryIT [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.784 s - in org.apache.sling.commons.metrics.test.MetricsServiceFactoryIT [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (verify-legal-files) @ org.apache.sling.commons.metrics --- [INFO] Checking legal files in: org.apache.sling.commons.metrics-1.2.7-SNAPSHOT.jar [INFO] Checking legal files in: org.apache.sling.commons.metrics-1.2.7-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ org.apache.sling.commons.metrics --- [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-metrics-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] 36 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 2, unknown: 2, generated: 0, approved: 33 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:33 min [INFO] Finished at: 2018-09-19T16:40:38+00:00 [INFO] Final Memory: 87M/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.metrics: Too many files with unapproved license: 2 See RAT report in: <https://builds.apache.org/job/sling-org-apache-sling-commons-metrics-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
