maven-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Maven TLP » maven-enforcer » MENFORCER-276 #20
Date Wed, 02 Jan 2019 13:04:21 GMT
See https://builds.apache.org/job/maven-box/job/maven-enforcer/job/MENFORCER-276/20/

Changes:

* use a special local repo to have a bit of caching
* add mavenLinkerPublisher

No tests ran.

Build log:
[...truncated 1611 lines...]
[INFO] Exclude: dependency-reduced-pom.xml
[INFO] Exclude: .java-version
[INFO] 14 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved:
14 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer-api
---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ enforcer-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-api/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-api/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ enforcer-api
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-api/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ enforcer-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ enforcer-api ---
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ enforcer-api ---
[INFO] Building jar: /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-api/target/enforcer-api-3.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ enforcer-api ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ enforcer-api ---
[INFO] 
[INFO] --------------< org.apache.maven.enforcer:enforcer-rules >--------------
[INFO] Building Apache Maven Enforcer Built-In Rules 3.0.0-SNAPSHOT       [3/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ enforcer-rules ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ enforcer-rules ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ enforcer-rules
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ enforcer-rules
---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ enforcer-rules ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: .repository/**
[INFO] Exclude: .maven/spy.log
[INFO] Exclude: dependency-reduced-pom.xml
[INFO] Exclude: .java-version
[INFO] 129 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved:
123 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ enforcer-rules
---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ enforcer-rules ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ enforcer-rules ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 43 source files to /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/target/classes
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
Some input files use or override a deprecated API.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java:
Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java
uses unchecked or unsafe operations.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequirePluginVersions.java:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ enforcer-rules
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ enforcer-rules
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 34 source files to /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/target/test-classes
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedRepositories.java:
Some input files use or override a deprecated API.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedRepositories.java:
Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java:
Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/MockProject.java:
Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[14,47]
cannot find symbol
  symbol:   class TestEnforcerRuleUtils
  location: package org.apache.maven.plugins.enforcer.utils
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[87,9]
cannot find symbol
  symbol:   variable TestEnforcerRuleUtils
  location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[97,9]
cannot find symbol
  symbol:   variable TestEnforcerRuleUtils
  location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[107,9]
cannot find symbol
  symbol:   variable TestEnforcerRuleUtils
  location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[118,9]
cannot find symbol
  symbol:   variable TestEnforcerRuleUtils
  location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[INFO] 5 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Maven Enforcer 3.0.0-SNAPSHOT ............... SUCCESS [  5.319 s]
[INFO] Apache Maven Enforcer API .......................... SUCCESS [  2.976 s]
[INFO] Apache Maven Enforcer Built-In Rules ............... FAILURE [  3.966 s]
[INFO] Apache Maven Enforcer Plugin 3.0.0-SNAPSHOT ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.626 s
[INFO] Finished at: 2019-01-01T17:48:18Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2@tmp/withMavenb439769a/maven-spy-20190101-174805-44316518338784381264255.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile
(default-testCompile) on project enforcer-rules: Compilation failure: Compilation failure:

[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[14,47]
cannot find symbol
[ERROR]   symbol:   class TestEnforcerRuleUtils
[ERROR]   location: package org.apache.maven.plugins.enforcer.utils
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[87,9]
cannot find symbol
[ERROR]   symbol:   variable TestEnforcerRuleUtils
[ERROR]   location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[97,9]
cannot find symbol
[ERROR]   symbol:   variable TestEnforcerRuleUtils
[ERROR]   location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[107,9]
cannot find symbol
[ERROR]   symbol:   variable TestEnforcerRuleUtils
[ERROR]   location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2/linux-jdk11-m3.5.x_build/enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestRequireUpperBoundDeps.java:[118,9]
cannot find symbol
[ERROR]   symbol:   variable TestEnforcerRuleUtils
[ERROR]   location: class org.apache.maven.plugins.enforcer.TestRequireUpperBoundDeps
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile
(default-testCompile) on project enforcer-rules: Compilation failure
    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:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    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.maven.plugin.compiler.CompilationFailureException: Compilation failure
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1161)
    at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:176)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    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:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    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)
[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 :enforcer-rules
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact linux-jdk11-m3.5.x_build/pom.xml under org/apache/maven/enforcer/enforcer/3.0.0-SNAPSHOT/enforcer-3.0.0-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact linux-jdk11-m3.5.x_build/target/enforcer-3.0.0-SNAPSHOT-site.xml
under org/apache/maven/enforcer/enforcer/3.0.0-SNAPSHOT/enforcer-3.0.0-SNAPSHOT-site.xml
[withMaven] artifactsPublisher - Archive artifact linux-jdk11-m3.5.x_build/enforcer-api/pom.xml
under org/apache/maven/enforcer/enforcer-api/3.0.0-SNAPSHOT/enforcer-api-3.0.0-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact linux-jdk11-m3.5.x_build/enforcer-api/target/enforcer-api-3.0.0-SNAPSHOT.jar
under org/apache/maven/enforcer/enforcer-api/3.0.0-SNAPSHOT/enforcer-api-3.0.0-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT
generated by maven-surefire-plugin:test (default-test): linux-jdk11-m3.5.x_build/enforcer-api/target/surefire-reports/*.xml
Recording test results
None of the test reports contained any result
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-api:jar:3.0.0-SNAPSHOT
in source directory linux-jdk11-m3.5.x_build/enforcer-api/src/main/java
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-SNAPSHOT
in source directory linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/box_maven-enforcer_MENFORCER-276@2'
for files matching the pattern 'linux-jdk11-m3.5.x_build/enforcer-api/src/main/java/**/*,linux-jdk11-m3.5.x_build/enforcer-rules/src/main/java/**/*'
- excludes: null
[TASKS] Found 48 files to scan for tasks
[TASKS] Found 5 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 1707 ms, Junit Publisher: 159 ms, Open
Task Scanner Publisher: 1318 ms, Dependencies Fingerprint Publisher: 321 ms, Pipeline Graph
Publisher: 1 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk11-m3.5.x_build
Aborted by eolivelli
[Pipeline] // node
[Pipeline] // node
[Pipeline] // node
[Pipeline] // node
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.2.x_build
[Pipeline] }
Failed in branch windows-jdk7-m3.3.x_build
[Pipeline] }
Failed in branch windows-jdk7-m3.5.x_build
[Pipeline] }
Failed in branch windows-jdk8-m3.5.x_build
[Pipeline] }
Failed in branch windows-jdk11-m3.5.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message