Build failed in Jenkins: doxia-tools » JDK 1.7 (latest),Windows #87

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: doxia-tools » JDK 1.7 (latest),Windows #87

Apache Jenkins Server-2
See <https://builds.apache.org/job/doxia-tools/jdk=JDK%201.7%20(latest),label=Windows/87/display/redirect>

------------------------------------------
[...truncated 25.27 KB...]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ doxia-book-renderer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-renderer\target\test-classes
[INFO] /F:/jenkins/jenkins-slave/workspace/doxia-tools/jdk/JDK 1.7 (latest)/label/Windows/doxia-book-renderer/src/test/java/org/apache/maven/doxia/book/services/renderer/docbook/DocBookBookSinkTest.java: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-renderer\src\test\java\org\apache\maven\doxia\book\services\renderer\docbook\DocBookBookSinkTest.java uses or overrides a deprecated API.
[INFO] /F:/jenkins/jenkins-slave/workspace/doxia-tools/jdk/JDK 1.7 (latest)/label/Windows/doxia-book-renderer/src/test/java/org/apache/maven/doxia/book/services/renderer/docbook/DocBookBookSinkTest.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ doxia-book-renderer ---
[INFO] Surefire report directory: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-renderer\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.doxia.book.BookRendererTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.02 sec - in org.apache.maven.doxia.book.BookRendererTest
Running org.apache.maven.doxia.book.services.indexer.BookIndexerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.maven.doxia.book.services.indexer.BookIndexerTest
Running org.apache.maven.doxia.book.services.renderer.docbook.DocBookBookSinkTest
[WARNING] [Docbook Sink] Modified invalid comment: 'Simple comment with ----' to 'Simple comment with - - - -'
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.587 sec - in org.apache.maven.doxia.book.services.renderer.docbook.DocBookBookSinkTest

Results :

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

[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ doxia-book-renderer ---
[INFO] Building jar: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-renderer\target\doxia-book-renderer-1.3-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ doxia-book-renderer ---
[INFO]
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ doxia-book-renderer ---
[INFO] There are 27 errors reported by Checkstyle 6.1.1 with config/maven_checks.xml ruleset.
[INFO] Ignored 27 errors, 0 violation remaining.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ doxia-book-renderer ---
[INFO] Installing F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-renderer\target\doxia-book-renderer-1.3-SNAPSHOT.jar to F:\hudson\m2_repository\org\apache\maven\doxia\doxia-book-renderer\1.3-SNAPSHOT\doxia-book-renderer-1.3-SNAPSHOT.jar
[INFO] Installing F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-renderer\pom.xml to F:\hudson\m2_repository\org\apache\maven\doxia\doxia-book-renderer\1.3-SNAPSHOT\doxia-book-renderer-1.3-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Doxia Tools :: Book Maven Plugin 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ doxia-book-maven-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] 9 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 9 licence.
[INFO]
[INFO] --- maven-plugin-plugin:3.1:helpmojo (generated-helpmojo) @ doxia-book-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ doxia-book-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-maven-plugin\src\main\resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ doxia-book-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-maven-plugin\target\classes
[INFO]
[INFO] --- maven-plugin-plugin:3.1:descriptor (default-descriptor) @ doxia-book-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- plexus-component-metadata:1.6:generate-metadata (default) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-plugin-plugin:3.1:descriptor (mojo-descriptor) @ doxia-book-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java-annotations
[INFO] Mojo extractor for language: java-annotations found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 1 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ doxia-book-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-maven-plugin\src\test\resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ doxia-book-maven-plugin ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ doxia-book-maven-plugin ---
[INFO] Building jar: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-maven-plugin\target\doxia-book-maven-plugin-1.3-SNAPSHOT.jar
[INFO]
[INFO] --- maven-plugin-plugin:3.1:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ doxia-book-maven-plugin ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ doxia-book-maven-plugin ---
[INFO] Installing F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-maven-plugin\target\doxia-book-maven-plugin-1.3-SNAPSHOT.jar to F:\hudson\m2_repository\org\apache\maven\doxia\doxia-book-maven-plugin\1.3-SNAPSHOT\doxia-book-maven-plugin-1.3-SNAPSHOT.jar
[INFO] Installing F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-book-maven-plugin\pom.xml to F:\hudson\m2_repository\org\apache\maven\doxia\doxia-book-maven-plugin\1.3-SNAPSHOT\doxia-book-maven-plugin-1.3-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Doxia Tools :: Converter 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ doxia-converter ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ doxia-converter ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ doxia-converter ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ doxia-converter ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: src/test/resources/unit/*/test.*
[INFO] Exclude: src/test/resources/book-1/section-*.apt
[INFO] 24 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 23 licence.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Doxia Tools :: Linkcheck 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ doxia-linkcheck ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ doxia-linkcheck ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ doxia-linkcheck ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ doxia-linkcheck ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] 40 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 39 licence.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Doxia Tools :: Aggregator 1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ doxia-tools-aggregator ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ doxia-tools-aggregator ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ doxia-tools-aggregator ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ doxia-tools-aggregator ---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ doxia-tools-aggregator ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @ doxia-tools-aggregator ---
[INFO] Installing <https://builds.apache.org/job/doxia-tools/jdk=JDK%201.7%20(latest),label=Windows/ws/pom.xml> to F:\hudson\m2_repository\org\apache\maven\doxia\doxia-tools-aggregator\1-SNAPSHOT\doxia-tools-aggregator-1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Doxia Tools :: Book Renderer ....................... SUCCESS [ 26.632 s]
[INFO] Doxia Tools :: Book Maven Plugin ................... SUCCESS [  6.612 s]
[INFO] Doxia Tools :: Converter ........................... FAILURE [  4.558 s]
[INFO] Doxia Tools :: Linkcheck ........................... FAILURE [  0.140 s]
[INFO] Doxia Tools :: Aggregator .......................... SUCCESS [  1.338 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.839 s
[INFO] Finished at: 2017-11-04T13:05:54Z
[INFO] Final Memory: 42M/295M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-check) on project doxia-converter: Too many files with unapproved license: 1 See RAT report in: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-converter\target\rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-check) on project doxia-converter: Too many files with unapproved license: 1 See RAT report in: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-converter\target\rat.txt
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved license: 1 See RAT report in: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-converter\target\rat.txt
        at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:194)
        at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:182)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-check) on project doxia-linkcheck: Too many files with unapproved license: 1 See RAT report in: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-linkcheck\target\rat.txt -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (rat-check) on project doxia-linkcheck: Too many files with unapproved license: 1 See RAT report in: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-linkcheck\target\rat.txt
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved license: 1 See RAT report in: F:\jenkins\jenkins-slave\workspace\doxia-tools\jdk\JDK 1.7 (latest)\label\Windows\doxia-linkcheck\target\rat.txt
        at org.apache.rat.mp.RatCheckMojo.check(RatCheckMojo.java:194)
        at org.apache.rat.mp.RatCheckMojo.execute(RatCheckMojo.java:182)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :doxia-converter
Build step 'Invoke top-level Maven targets' marked build as failure
Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : doxia-tools » JDK 1.7 (latest),Windows #88

Apache Jenkins Server-2