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 » asfMavenTlpPlgnBuild #10
Date Tue, 01 Jan 2019 18:24:22 GMT
See https://builds.apache.org/job/maven-box/job/maven-scm-publish-plugin/job/asfMavenTlpPlgnBuild/10/

Changes:

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

No tests ran.

Build log:
[...truncated 3281 lines...]
[Pipeline] dir
Running in f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build
[Pipeline] {
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
 > git init f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build
# timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
 > git --version # timeout=10
 > git fetch --no-tags --progress https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
+refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
# timeout=10
Fetching without tags
Checking out Revision dad0ecdda37a944b2cf67469a25121bd2ba6a361 (asfMavenTlpPlgnBuild)
Commit message: "Use ant-1.10.2 for creation of symLinks via java.nio.file.Files api, though
still IT doesn't succeed on Windows"
Cleaning workspace
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
# timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
 > git fetch --no-tags --progress https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
+refs/heads/*:refs/remotes/origin/*
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dad0ecdda37a944b2cf67469a25121bd2ba6a361
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build windows-jdk11-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 11 (latest)
[withMaven] using Maven installation 'Maven 3.5.2 (Windows)'
 > git clean -fdx # timeout=10
[Pipeline] {
[Pipeline] dir
Running in f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build
[Pipeline] {
[Pipeline] isUnix
[Pipeline] bat

f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build>mvn
-P+run-its -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -e clean verify 
----- withMaven Wrapper script -----
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2@tmp\withMaven503651b6\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2@tmp\withMaven503651b6"

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: 11, vendor: Oracle Corporation
Java home: f:\jenkins\tools\java\latest11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2016", version: "10.0", arch: "amd64", family: "windows"
[INFO] [jenkins-event-spy] Generate F:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2@tmp\withMaven503651b6\maven-spy-20190101-182336-64110012036211721148678.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\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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] 50 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved:
47 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\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\pom.xml
to f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\target\maven-scm-publish-plugin-3.1.0-SNAPSHOT.jar
to f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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]           publish-scm\pom.xml .............................. SKIPPED due to OS
[INFO] Building: publish-scm-staged\pom.xml
[INFO] run pre-build script setup.bsh
[INFO]           publish-scm-staged\pom.xml ....................... FAILED (20.9 s)
[INFO]   The build exited with code 1. See f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-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]           site-deploy\pom.xml .............................. FAILED (4.8 s)
[INFO]   The build exited with code 1. See f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\target\it\site-deploy\build.log
for details.
[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: 2, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  publish-scm-staged\pom.xml
[ERROR] *  site-deploy\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.946 s
[INFO] Finished at: 2019-01-01T18:24:13Z
[INFO] Final Memory: 39M/134M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2@tmp\withMaven503651b6\maven-spy-20190101-182336-64110012036211721148678.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: 2 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: 2 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: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.MojoFailureException: 2 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: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
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[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.plugins:maven-scm-publish-plugin:maven-plugin:3.1.0-SNAPSHOT
generated by maven-surefire-plugin:test (default-test): windows-jdk11-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-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2'
for files matching the pattern 'windows-jdk11-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
[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-jdk11-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 103 ms, Junit Publisher: 131 ms, Open
Task Scanner Publisher: 337 ms, Invoker Publisher: 3989 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace :f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-publish-scm-staged.xml
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace :f:\jenkins\jenkins-slave\workspace\lish-plugin_asfMavenTlpPlgnBuild@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-publish-scm-staged.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[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