See https://builds.apache.org/job/maven-box/job/maven-surefire/job/SUREFIRE-1585-tibor/4/
Changes: * Disable cleanWs() due to issues with file handles on Windows * added a link to asf-gitpubsub-jenkins-plugin * fixed markup (asciidoc, not markdown...) All tests passed Build log: [...truncated 28020 lines...] [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.pom (1.2 kB at 47 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.1.1/junit-platform-engine-1.1.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.1.1/junit-platform-engine-1.1.1.pom (2.4 kB at 78 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.1.1/junit-platform-commons-1.1.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.1.1/junit-platform-commons-1.1.1.pom (2.0 kB at 73 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.pom (1.7 kB at 65 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.0.0/junit-jupiter-engine-5.0.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.0.0/junit-jupiter-engine-5.0.0.pom (2.4 kB at 93 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.0.0/junit-platform-engine-1.0.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.0.0/junit-platform-engine-1.0.0.pom (2.4 kB at 96 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.0.0/junit-platform-commons-1.0.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.0.0/junit-platform-commons-1.0.0.pom (2.0 kB at 82 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.0.0/junit-jupiter-api-5.0.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.0.0/junit-jupiter-api-5.0.0.pom (2.4 kB at 96 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/3.9.1/assertj-core-3.9.1.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/3.9.1/assertj-core-3.9.1.pom (10 kB at 341 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-parent-pom/2.1.9/assertj-parent-pom-2.1.9.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-parent-pom/2.1.9/assertj-parent-pom-2.1.9.pom (15 kB at 469 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.1.1/junit-platform-launcher-1.1.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.1.1/junit-platform-engine-1.1.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.1.1/junit-platform-commons-1.1.1.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar (2.2 kB at 72 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.0.0/junit-jupiter-engine-5.0.0.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar (6.6 kB at 194 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.0.0/junit-jupiter-api-5.0.0.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.1.1/junit-platform-commons-1.1.1.jar (77 kB at 1.9 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/3.9.1/assertj-core-3.9.1.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.1.1/junit-platform-engine-1.1.1.jar (90 kB at 2.1 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-launcher/1.1.1/junit-platform-launcher-1.1.1.jar (80 kB at 1.6 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.0.0/junit-jupiter-engine-5.0.0.jar (118 kB at 1.7 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.0.0/junit-jupiter-api-5.0.0.jar (76 kB at 1.1 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-core/3.9.1/assertj-core-3.9.1.jar (3.9 MB at 9.0 MB/s) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ surefire-junit-platform --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ surefire-junit-platform --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-bytecode-version) @ surefire-junit-platform --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (ban-known-bad-maven-versions) @ surefire-junit-platform --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java) @ surefire-junit-platform --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven) @ surefire-junit-platform --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ surefire-junit-platform --- [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] Exclude: Jenkinsfile [INFO] Exclude: README.md [INFO] Exclude: .gitignore [INFO] Exclude: .git/**/* [INFO] Exclude: **/.idea [INFO] Exclude: **/.svn/**/* [INFO] Exclude: **/*.iml [INFO] Exclude: **/*.ipr [INFO] Exclude: **/*.iws [INFO] Exclude: **/*.versionsBackup [INFO] Exclude: **/dependency-reduced-pom.xml [INFO] Exclude: .repository/** [INFO] Exclude: src/test/resources/**/* [INFO] Exclude: src/test/resources/**/*.css [INFO] Exclude: **/*.jj [INFO] Exclude: src/main/resources/META-INF/services/org.apache.maven.surefire.providerapi.SurefireProvider [INFO] Exclude: DEPENDENCIES [INFO] Exclude: .m2/** [INFO] Exclude: .m2 [INFO] Exclude: .travis.yml [INFO] 10 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 10 licenses. [INFO] [INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (jacoco-agent) @ surefire-junit-platform --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] jacoco.agent set to empty [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (compile-generated) @ surefire-junit-platform --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ surefire-junit-platform --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ surefire-junit-platform --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ surefire-junit-platform --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\target\classes [INFO] [INFO] --- animal-sniffer-maven-plugin:1.17:check (signature-check) @ surefire-junit-platform --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/signature/java18/1.0/java18-1.0.signature [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/signature/java18/1.0/java18-1.0.signature (2.0 MB at 9.6 MB/s) [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ surefire-junit-platform --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\src\test\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ surefire-junit-platform --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\target\test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\src\test\java\org\apache\maven\surefire\junitplatform\RunListenerAdapterTest.java:[450,106] error: incompatible types: Class<MyTestClass> cannot be converted to Function<Class<?>,String> [ERROR] C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\src\test\java\org\apache\maven\surefire\junitplatform\TestMethodFilterTest.java:[96,59] error: incompatible types: Class<TestClass> cannot be converted to Function<Class<?>,String> [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Maven Surefire .............................. SUCCESS [ 34.380 s] [INFO] SureFire Logger API ................................ SUCCESS [ 7.125 s] [INFO] SureFire API ....................................... SUCCESS [ 15.385 s] [INFO] SureFire Booter .................................... SUCCESS [ 16.695 s] [INFO] Maven Surefire Test-Grouping Support ............... SUCCESS [ 8.792 s] [INFO] SureFire Providers ................................. SUCCESS [ 1.555 s] [INFO] Shared JUnit3 Provider Code ........................ SUCCESS [ 6.344 s] [INFO] Shared Java 5 Provider Base ........................ SUCCESS [ 7.460 s] [INFO] Shared JUnit4 Provider Code ........................ SUCCESS [ 7.524 s] [INFO] Shared JUnit48 Provider Code ....................... SUCCESS [ 7.740 s] [INFO] SureFire JUnit Runner .............................. SUCCESS [ 6.494 s] [INFO] SureFire JUnit4 Runner ............................. SUCCESS [ 6.637 s] [INFO] Maven Surefire Common .............................. SUCCESS [ 33.388 s] [INFO] SureFire JUnitCore Runner .......................... SUCCESS [02:17 min] [INFO] SureFire JUnit Platform Runner ..................... FAILURE [ 7.510 s] [INFO] SureFire TestNG Utils .............................. SKIPPED [INFO] SureFire TestNG Runner ............................. SKIPPED [INFO] ShadeFire JUnit3 Provider .......................... SKIPPED [INFO] Surefire Report Parser ............................. SKIPPED [INFO] Maven Surefire Plugin .............................. SKIPPED [INFO] Maven Failsafe Plugin .............................. SKIPPED [INFO] Maven Surefire Report Plugin ....................... SKIPPED [INFO] Maven Surefire Integration Tests ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:07 min [INFO] Finished at: 2019-01-10T12:05:28Z [INFO] Final Memory: 39M/132M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project surefire-junit-platform: Compilation failure: Compilation failure: [ERROR] C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\src\test\java\org\apache\maven\surefire\junitplatform\RunListenerAdapterTest.java:[450,106] error: incompatible types: Class<MyTestClass> cannot be converted to Function<Class<?>,String> [ERROR] C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-SUREFIRE-1585-tibor-4\surefire-providers\surefire-junit-platform\src\test\java\org\apache\maven\surefire\junitplatform\TestMethodFilterTest.java:[96,59] error: incompatible types: Class<TestClass> cannot be converted to Function<Class<?>,String> [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 surefire-junit-platform: 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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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: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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) 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 :surefire-junit-platform [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (reporting windows-jdk7-maven3.5.x) [Pipeline] fileExists [Pipeline] fileExists [Pipeline] archiveArtifacts Archiving artifacts ‘*--windows-jdk7-maven3.5.x.zip’ doesn’t match anything No artifacts found that match the file pattern "*--windows-jdk7-maven3.5.x.zip". Configuration error? [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (cleanup windows-jdk7-maven3.5.x) [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk7-maven3.5.x [Pipeline] // parallel [Pipeline] echo hudson.AbortException: hudson.AbortException: script returned exit code 1 [Pipeline] stage [Pipeline] { (notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext
