See
https://builds.apache.org/job/maven-box/job/maven-checkstyle-plugin/job/MCHECKSTYLE-54/2/
Changes:
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
* Ensure EOL of OS is used during checkout
All tests passed
Build log:
[...truncated 5525 lines...]
[INFO] Ignored 1 error, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-checkstyle-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 43, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * MCHECKSTYLE-54\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:46 min
[INFO] Finished at: 2019-06-08T10:30:25Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\checkstyle-plugin_MCHECKSTYLE-54@3@tmp\withMavenbb13a3c0\maven-spy-20190608-102338-81316369978114031091163.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-checkstyle-plugin: 1 build 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-checkstyle-plugin: 1 build failed. See console output above
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
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:956)
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:564)
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: 1 build 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:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
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:956)
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:564)
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-checkstyle-plugin:maven-plugin:3.1.1-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk10-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:3.1.1-SNAPSHOT in
source directory windows-jdk10-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\checkstyle-plugin_MCHECKSTYLE-54@3' for
files matching the pattern 'windows-jdk10-m3.6.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 20 files to scan for tasks
[TASKS] Found 5 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-checkstyle-plugin:maven-plugin:3.1.1-SNAPSHOT(version:
3.1.1-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: windows-jdk10-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-338\pom.xml .......................... SUCCESS
(9.8 s)
[INFO] Building: MCHECKSTYLE-347\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 17 ms, Junit Publisher:
423 ms, Open Task Scanner Publisher: 184 ms, Invoker Publisher: 12290 ms
[Pipeline] // withMaven
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-347\pom.xml .......................... SUCCESS
(4.9 s)
[INFO] Building: MCHECKSTYLE-357\pom.xml
[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-jdk10-m3.6.x_build
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-357\pom.xml .......................... SUCCESS
(8.6 s)
[INFO] Building: MCHECKSTYLE-357-with-header-override\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-357-with-header-override\pom.xml ..... SUCCESS
(9.7 s)
[INFO] Building: MCHECKSTYLE-365\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-365\pom.xml .......................... SUCCESS
(7.1 s)
[INFO] Building: MCHECKSTYLE-54\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-54\pom.xml ........................... FAILED (4.7
s)
[INFO] The post-build script did not succeed. assert matcher[0][0].bytes ==
eol
| | | | | |
| | | [10] | [13, 10]
| | | false
| [
| ,
| ]
java.util.regex.Matcher[pattern=(\r\n|\r|\n) region=0,1255 lastmatch=
]
[INFO] Building: MCHECKSTYLE-70-multi-sourcefolder\pom.xml
[INFO] run post-build script verify.groovy
[INFO] MCHECKSTYLE-70-multi-sourcefolder\pom.xml ........ SUCCESS
(7.2 s)
[INFO] Building: minimal-pom\pom.xml
[INFO] run post-build script verify.bsh
[INFO] minimal-pom\pom.xml .............................. SUCCESS
(7.9 s)
[INFO] Building: multi-modules\pom.xml
[INFO] multi-modules\pom.xml ............................ SUCCESS
(6.4 s)
[INFO] Building: multi-modules-aggregate\pom.xml
[INFO] run post-build script verify.groovy
[INFO] multi-modules-aggregate\pom.xml .................. SUCCESS
(6.5 s)
[INFO] Building: multimoduleproject\pom.xml
[INFO] multimoduleproject\pom.xml ....................... SUCCESS
(5.6 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-checkstyle-plugin ---
[INFO] There is 1 error reported by Checkstyle 6.18 with
config/maven_checks.xml ruleset.
[INFO] Ignored 1 error, 0 violation remaining.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @
maven-checkstyle-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 43, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * MCHECKSTYLE-54\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:40 min
[INFO] Finished at: 2019-06-08T10:31:45Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\checkstyle-plugin_MCHECKSTYLE-54@2@2@tmp\withMavenfae69b93\maven-spy-20190608-102403-9825091794642084936068.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test)
on project maven-checkstyle-plugin: 1 build 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-checkstyle-plugin: 1 build failed. See console output above
for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
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:956)
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.MojoFailureException: 1 build 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:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:148)
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:956)
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
[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-checkstyle-plugin:maven-plugin:3.1.1-SNAPSHOT
generated by maven-surefire-plugin:test (default-test):
windows-jdk11-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:3.1.1-SNAPSHOT in
source directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\checkstyle-plugin_MCHECKSTYLE-54@2@2' for
files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 20 files to scan for tasks
[TASKS] Found 5 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-checkstyle-plugin:maven-plugin:3.1.1-SNAPSHOT(version:
3.1.1-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 16 ms, Junit Publisher:
361 ms, Open Task Scanner Publisher: 170 ms, Invoker Publisher: 10526 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-jdk11-m3.6.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext