See
https://builds.apache.org/job/maven-box/job/maven-patch-plugin/job/master/25/
Changes:
* JDK 12 is now in the Release Candidate Phase
* [INFRA-17514] Jenkins invoker-plugin updated by INFRA
No tests ran.
Build log:
[...truncated 2268 lines...]
[Pipeline] dir
Running in
f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2\windows-jdk12-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-patch-plugin.git
> git init
> f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2\windows-jdk12-m3.5.x_build
> # timeout=10
Fetching upstream changes from
https://gitbox.apache.org/repos/asf/maven-patch-plugin.git
> git --version # timeout=10
> git fetch --no-tags --progress
> https://gitbox.apache.org/repos/asf/maven-patch-plugin.git
> +refs/heads/*:refs/remotes/origin/*
Fetching without tags
> git config remote.origin.url
> https://gitbox.apache.org/repos/asf/maven-patch-plugin.git # timeout=10
> 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-patch-plugin.git # timeout=10
Fetching upstream changes from
https://gitbox.apache.org/repos/asf/maven-patch-plugin.git
> git fetch --no-tags --progress
> https://gitbox.apache.org/repos/asf/maven-patch-plugin.git
> +refs/heads/*:refs/remotes/origin/*
Checking out Revision e464667f5e84af26bb226f3d5b2ae5144cfa3987 (master)
Commit message: "[MPOM-205] use sha512 checksums instead of sha1"
Cleaning workspace
[Pipeline] }
> git config core.sparsecheckout # timeout=10
> git checkout -f e464667f5e84af26bb226f3d5b2ae5144cfa3987
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[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\en-box_maven-patch-plugin_master@2\windows-jdk12-m3.5.x_build
[Pipeline] {
[Pipeline] isUnix
[Pipeline] bat
[INFO] run script verify.bsh
[INFO] ..SUCCESS (6.0 s)
[INFO] Building: skip-when-patch-tracking-file-present\pom.xml
f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@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 -----
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2@tmp\withMaven3566130d\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2@tmp\withMaven3566130d"
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-ea, 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\en-box_maven-patch-plugin_master@2@tmp\withMaven3566130d\maven-spy-20190214-022309-68810333390491926725636.log.tmp
...
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Maven Patch Plugin 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ maven-patch-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @
maven-patch-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @
maven-patch-plugin ---
[INFO] run script verify.bsh
[INFO] ..SUCCESS (4.9 s)
[INFO]
[INFO] --- maven-invoker-plugin:2.0.0:verify (integration-test) @
maven-patch-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 2, Failed: 0, Errors: 0, Skipped: 4
[INFO] -------------------------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @
maven-patch-plugin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @
maven-patch-plugin ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-patch-plugin ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude:
src/it/skip-when-patch-tracking-file-present/src/main/patches/patches-applied.txt
[INFO] Exclude: DEPENDENCIES
[INFO] 37 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0
approved: 37 licence.
[INFO]
[INFO] --- maven-plugin-plugin:3.4:helpmojo (generate-helpmojo) @
maven-patch-plugin ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.281 s
[INFO] Finished at: 2019-02-14T02:23:15Z
[INFO] Final Memory: 30M/107M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2@tmp\withMaven1f30c051\maven-spy-20190214-022247-498323964858253355928.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\pom.xml under
org\apache\maven\plugins\maven-patch-plugin\1.3-SNAPSHOT\maven-patch-plugin-1.3-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\target\maven-patch-plugin-1.3-SNAPSHOT.jar under
org\apache\maven\plugins\maven-patch-plugin\1.3-SNAPSHOT\maven-patch-plugin-1.3-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-patch-plugin:maven-plugin:1.3-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-patch-plugin:maven-plugin:1.3-SNAPSHOT in source
directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2' for
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 1 files to scan for tasks
[TASKS] Found 0 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #24
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-patch-plugin:maven-plugin:1.3-SNAPSHOT(version:
1.3-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:2.0.0@integration-test
integration-test}: windows-jdk11-m3.5.x_build\target\invoker-reports\*.xml
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @
maven-patch-plugin ---
[withMaven] Publishers: Generated Artifacts Publisher: 117 ms, Junit Publisher:
25 ms, Open Task Scanner Publisher: 59 ms, Invoker Publisher: 680 ms
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\target\it\skip-when-patch-enum-missing\pom.xml under
test\apply-single-patch\1.0-SNAPSHOT\apply-single-patch-1.0-SNAPSHOT.pom
[withMaven] Publishers: Generated Artifacts Publisher: 77 ms, Open Task Scanner
Publisher: 13 ms
[withMaven] artifactsPublisher - Archive artifact
windows-jdk11-m3.5.x_build\target\it\skip-when-patch-tracking-file-present\pom.xml
under
test\skip-when-patch-tracking-file-present\1.0-SNAPSHOT\skip-when-patch-tracking-file-present-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
maven-patch-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2\windows-jdk12-m3.5.x_build\src\main\resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @
maven-patch-plugin ---
[withMaven] Publishers: Generated Artifacts Publisher: 78 ms, Open Task Scanner
Publisher: 16 ms
[Pipeline] // withMaven
[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] }
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to
f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2\windows-jdk12-m3.5.x_build\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.124 s
[INFO] Finished at: 2019-02-14T02:23:18Z
[INFO] Final Memory: 20M/47M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2@tmp\withMaven3566130d\maven-spy-20190214-022309-68810333390491926725636.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
project maven-patch-plugin: Compilation failure: Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
project maven-patch-plugin: 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: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.compiler.CompilationFailureException:
Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute
(AbstractCompilerMojo.java:909)
at org.apache.maven.plugin.compiler.CompilerMojo.execute
(CompilerMojo.java:129)
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] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-patch-plugin:maven-plugin:1.3-SNAPSHOT in source
directory windows-jdk12-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-patch-plugin_master@2' for
files matching the pattern 'windows-jdk12-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 1 files to scan for tasks
[TASKS] Found 0 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #24
[withMaven] Publishers: Generated Artifacts Publisher: 28 ms, Open Task Scanner
Publisher: 47 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