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-scm-publish-plugin » stabilize #3
Date Mon, 08 Apr 2019 18:09:21 GMT
See https://builds.apache.org/job/maven-box/job/maven-scm-publish-plugin/job/stabilize/3/

Changes:

* [INFRA-18014] Provide GPG on Jenkins Windows nodes
* Switch back to Windows label
* Shorten wsDir
* Fix groovy script
* rewrite groovy statement
* Keep original stageId
* Reduce stageDir
* More shortening of path
* maven-invoker keeps lock on jar (under investigation), so can't fully
* Add verify script
* Add verify script
* Add verify script
* Add verify script
* Add verify script
* Add verify script
* Add verify script
* Add verify script
* Add verify script

No tests ran.

Build log:
[...truncated 2874 lines...]
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[Pipeline] { (Build windows-jdk12-m3.5.x_build)
[Pipeline] withMaven
[withMaven] Options: [org.jenkinsci.plugins.pipeline.maven.publishers.GeneratedArtifactsPublisher[disabled=false],
JunitTestsPublisher[disabled=false,healthScaleFactor=,keepLongStdio=false,ignoreAttachments=false],
org.jenkinsci.plugins.pipeline.maven.publishers.FindbugsAnalysisPublisher[disabled='false',
healthy='', unHealthy='', thresholdLimit='low'], org.jenkinsci.plugins.pipeline.maven.publishers.TasksScannerPublisher[disabled='false',
healthy='', unHealthy='', thresholdLimit='low'], org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher[disabled=false,
scopes=[compile, provided, runtime], versions={snapshot:true, release:false}], org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher[disabled=false],
org.jenkinsci.plugins.pipeline.maven.publishers.PipelineGraphPublisher[disabled=false, scopes=[compile,
provided, runtime], versions={snapshot:true, release:false}, skipDownstreamTriggers=false,
lifecycleThreshold=deploy, ignoreUpstreamTriggers=false], org.jenkinsci.plugins.pipeline.maven.publishers.MavenLinkerPublisher2[disabled=false]]
[withMaven] Available options: 
[withMaven] using JDK installation JDK 12 (latest)
[withMaven] using Maven installation 'Maven 3.5.2 (Windows)'
[Pipeline] {
[Pipeline] dir
Running in f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build
[Pipeline] {
[Pipeline] isUnix
[WS-CLEANUP] done
[Pipeline] bat
[Pipeline] cleanWs
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 11fae15015c6840f778b5448d1a38bb57282da5a
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...

f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build>mvn
-P+run-its -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -e clean verify 
----- withMaven Wrapper script -----
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.5.x_build
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMaven73e2d418\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMaven73e2d418"

Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: F:\jenkins\tools\maven\apache-maven-3.5.2\bin\..
Java version: 12, vendor: Oracle Corporation
Java home: f:\jenkins\tools\java\latest12
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2012 r2", version: "6.3", arch: "amd64", family: "windows"
[INFO] [jenkins-event-spy] Generate F:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMaven73e2d418\maven-spy-20190408-180825-19213726751632943250770.log.tmp
...
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven SCM Publish Plugin 3.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ maven-scm-publish-plugin ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-scm-publish-plugin
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ maven-scm-publish-plugin
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ maven-scm-publish-plugin
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ensure-no-container-api) @ maven-scm-publish-plugin
---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ maven-scm-publish-plugin ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 71 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] 51 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved:
48 licenses.
[INFO] 
[INFO] --- maven-plugin-plugin:3.5.2:helpmojo (generate-helpmojo) @ maven-scm-publish-plugin
---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 1 mojo descriptor.
[INFO] java-annotations mojo extractor found 0 mojo descriptor.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-scm-publish-plugin
---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-scm-publish-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-scm-publish-plugin
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\target\classes
[INFO] 
[INFO] --- maven-plugin-plugin:3.5.2:descriptor (default-descriptor) @ maven-scm-publish-plugin
---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 1 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-scm-publish-plugin
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-scm-publish-plugin
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-scm-publish-plugin ---
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-scm-publish-plugin ---
[INFO] Building jar: f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\target\maven-scm-publish-plugin-3.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata)
@ maven-scm-publish-plugin ---
[INFO] 
[INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ maven-scm-publish-plugin
---
[INFO] Skipping because packaging 'maven-plugin' is not pom.
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ maven-scm-publish-plugin
---
[INFO] Installing f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\pom.xml
to f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-scm-publish-plugin\3.1.0-SNAPSHOT\maven-scm-publish-plugin-3.1.0-SNAPSHOT.pom
[INFO] Installing f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\target\maven-scm-publish-plugin-3.1.0-SNAPSHOT.jar
to f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-scm-publish-plugin\3.1.0-SNAPSHOT\maven-scm-publish-plugin-3.1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ maven-scm-publish-plugin
---
[INFO] Building: publish-scm\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           publish-scm\pom.xml .............................. FAILED (14.8 s)
[INFO]   The post-build script returned false.
[INFO] Building: publish-scm-staged\pom.xml
[INFO] run pre-build script setup.bsh
[INFO]           publish-scm-staged\pom.xml ....................... FAILED (7.8 s)
[INFO]   The build exited with code 1. See f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2\windows-jdk12-m3.5.x_build\target\it\publish-scm-staged\build.log
for details.
[INFO] Building: site-deploy\pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.groovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/f:/jenkins/jenkins-slave/workspace/.maven_repositories/null/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar)
to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access
operations
WARNING: All illegal access operations will be denied in a future release
[INFO]           site-deploy\pom.xml .............................. FAILED (9.0 s)
[INFO]   The post-build script did not succeed. Failed to create Script instance for class:
class Script1. Reason: java.lang.ClassCastException: class Script1 cannot be cast to class
groovy.lang.GroovyObject (Script1 is in unnamed module of loader groovy.lang.GroovyClassLoader$InnerLoader
@5fbd0979; groovy.lang.GroovyObject is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm
@6dd65379)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-scm-publish-plugin
---
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-scm-publish-plugin
---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 3, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  publish-scm-staged\pom.xml
[ERROR] *  publish-scm\pom.xml
[ERROR] *  site-deploy\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.392 s
[INFO] Finished at: 2019-04-08T18:09:19Z
[INFO] Final Memory: 43M/150M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2@tmp\withMaven73e2d418\maven-spy-20190408-180825-19213726751632943250770.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify
(integration-test) on project maven-scm-publish-plugin: 3 builds failed. See console output
above for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify
(integration-test) on project maven-scm-publish-plugin: 3 builds failed. See console output
above for details.
    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:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    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:567)
    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.MojoFailureException: 3 builds failed. See console output
above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:260)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
    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: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:955)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    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:567)
    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
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
generated by maven-surefire-plugin:test (default-test): windows-jdk12-m3.5.x_build\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.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
in source directory windows-jdk12-m3.5.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\ven-scm-publish-plugin_stabilize@2'
for files matching the pattern 'windows-jdk12-m3.5.x_build\src\main\java\**\*' - excludes:
null
[TASKS] Found 3 files to scan for tasks
[TASKS] Found 4 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #1
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT(version:
3.1.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
 integration-test}: windows-jdk12-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 62 ms, Junit Publisher: 22 ms, Open
Task Scanner Publisher: 79 ms, Invoker Publisher: 664 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 windows-jdk12-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