You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/06/07 21:30:02 UTC

Build failed in Jenkins: maven-plugins » Apache Maven Checkstyle Plugin #8991

See <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/8991/display/redirect>

------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Checkstyle Plugin 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ maven-checkstyle-plugin ---
[INFO] Deleting <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/target>
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9.1:parse-version (parse-version) @ maven-checkstyle-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ maven-checkstyle-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ maven-checkstyle-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ensure-no-container-api) @ maven-checkstyle-plugin ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-checkstyle-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: src/it/multi-modules-aggregate/child-b/src/test/java/org/apache/maven/plugins/checkstyle/its/AppTest.java
[INFO] Exclude: src/main/resources/config/maven-header.txt
[INFO] Exclude: src/it/MCHECKSTYLE-225-customHeader/build-tools/src/main/resources/test/custom-header.txt
[INFO] Exclude: src/it/MCHECKSTYLE-225-pluginManagement/build-tools/src/main/resources/test/custom-header.txt
[INFO] Exclude: src/it/MCHECKSTYLE-225-LICENSE.txt/build-tools/src/main/resources/LICENSE.txt
[INFO] 268 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 259 licence.
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:helpmojo (generate-helpmojo) @ maven-checkstyle-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-checkstyle-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ maven-checkstyle-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ maven-checkstyle-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/target/classes>
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java>: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ maven-checkstyle-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-annotations found 4 mojo descriptors.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.13:check (check-java-compatibility) @ maven-checkstyle-plugin ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[INFO] 
[INFO] --- plexus-component-metadata:1.6:generate-metadata (default) @ maven-checkstyle-plugin ---
[INFO] Discovered 3 component descriptors(s)
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ maven-checkstyle-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ maven-checkstyle-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ maven-checkstyle-plugin ---
[INFO] Surefire report directory: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.plugins.checkstyle.CheckstyleReportTest
[INFO] There are 5 errors reported by Checkstyle 6.18 with sun_checks.xml ruleset.
[INFO] There are 5 errors reported by Checkstyle 6.18 with sun_checks.xml ruleset.
[INFO] There are 5 errors reported by Checkstyle 6.18 with sun_checks.xml ruleset.
[INFO] There are 5 errors reported by Checkstyle 6.18 with sun_checks.xml ruleset.
org.apache.maven.plugin.MojoExecutionException: An error has occurred in Checkstyle report generation.
	at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:171)
	at org.apache.maven.plugins.checkstyle.CheckstyleReportTest.generateReport(CheckstyleReportTest.java:179)
	at org.apache.maven.plugins.checkstyle.CheckstyleReportTest.testDependencyResolutionException(CheckstyleReportTest.java:143)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Caused by: org.apache.maven.reporting.MavenReportException: Unable to create output stream: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/target/test-harness/checkstyle/dep-resolution/checkstyle-result.xml>
	at org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport.getOutputStream(AbstractCheckstyleReport.java:596)
	at org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport.getListener(AbstractCheckstyleReport.java:558)
	at org.apache.maven.plugins.checkstyle.CheckstyleReport.createRequest(CheckstyleReport.java:67)
	at org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport.executeReport(AbstractCheckstyleReport.java:459)
	at org.apache.maven.plugins.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:57)
	at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:255)
	at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:143)
	... 22 more
Caused by: java.io.FileNotFoundException: <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/ws/target/test-harness/checkstyle/dep-resolution/checkstyle-result.xml> (No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
	at org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport.getOutputStream(AbstractCheckstyleReport.java:592)
	... 28 more

Results :

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

[JENKINS] Recording test results

Jenkins build is back to normal : maven-plugins » Apache Maven Checkstyle Plugin #8992

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/maven-plugins/org.apache.maven.plugins$maven-checkstyle-plugin/8992/display/redirect>