See https://builds.apache.org/job/maven-box/job/maven-surefire/job/no_user.dir/4/
Changes: * [INFRA-18014] Provide GPG on Jenkins Windows nodes * Switch back to Windows label * Change workspace path for Windows * 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 2 tests failed. FAILED: org.apache.maven.surefire.its.JUnitPlatformEnginesIT.platform[1.4.0-SNAPSHOT] Error Message: Expected: <[\[DEBUG\] test\(compact\) classpath: test-classes classes junit-jupiter-engine-5\.4\.0-SNAPSHOT\.jar apiguardian-api-1\.0\.0\.jar junit-platform-engine-1\.4\.0-SNAPSHOT\.jar junit-platform-commons-1\.4\.0-SNAPSHOT\.jar opentest4j-1\.1\.1\.jar junit-jupiter-api-5\.4\.0-SNAPSHOT\.jar]> but: was <[[DEBUG] test(compact) classpath: test-classes classes junit-jupiter-engine-5.4.0-SNAPSHOT.jar apiguardian-api-1.0.0.jar junit-platform-engine-1.4.0-SNAPSHOT.jar opentest4j-1.1.1.jar junit-platform-commons-1.4.0-SNAPSHOT.jar junit-jupiter-api-5.4.0-SNAPSHOT.jar]> Stack Trace: java.lang.AssertionError: Expected: <[\[DEBUG\] test\(compact\) classpath: test-classes classes junit-jupiter-engine-5\.4\.0-SNAPSHOT\.jar apiguardian-api-1\.0\.0\.jar junit-platform-engine-1\.4\.0-SNAPSHOT\.jar junit-platform-commons-1\.4\.0-SNAPSHOT\.jar opentest4j-1\.1\.1\.jar junit-jupiter-api-5\.4\.0-SNAPSHOT\.jar]> but: was <[[DEBUG] test(compact) classpath: test-classes classes junit-jupiter-engine-5.4.0-SNAPSHOT.jar apiguardian-api-1.0.0.jar junit-platform-engine-1.4.0-SNAPSHOT.jar opentest4j-1.1.1.jar junit-platform-commons-1.4.0-SNAPSHOT.jar junit-jupiter-api-5.4.0-SNAPSHOT.jar]> at org.apache.maven.surefire.its.JUnitPlatformEnginesIT.platform(JUnitPlatformEnginesIT.java:111) FAILED: org.apache.maven.surefire.its.WorkingDirectoryIT.testWorkingDirectoryNoFork Error Message: Exit code was non-zero: 1; command line and log = /home/jenkins/tools/maven/apache-maven-3.6.0/bin/mvn -e --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/.m2 org.apache.maven.plugins:maven-clean-plugin:clean -Dsurefire.version=3.0.0-M4-SNAPSHOT -Djacoco.agent=-javaagent:/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/.m2/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/jacoco-it.exec,append=true,includes=**/failsafe/*:**/failsafe/**/*:**/surefire/*:**/surefire/**/*,inclnolocationclasses=true,jmx=false -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -DforkMode=never test [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Test for working directory configuration (parent) [pom] [INFO] Test for working directory configuration [jar] [INFO] [INFO] --------< org.apache.maven.plugins.surefire:working-directory >--------- [INFO] Building Test for working directory configuration (parent) 1.0-SNAPSHOT [1/2] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-cli) @ working-directory --- [INFO] [INFO] -----< org.apache.maven.plugins.surefire:working-directory-child >------ [INFO] Building Test for working directory configuration 1.0-SNAPSHOT [2/2] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-cli) @ working-directory-child --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ working-directory-child --- [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ working-directory-child --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ working-directory-child --- [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ working-directory-child --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ISO-8859-1, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) @ working-directory-child --- [WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead. [WARNING] useSystemClassloader setting has no effect when not forking [INFO] Surefire report directory: /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports [INFO] Running workingDir.BasicTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! - in workingDir.BasicTest [ERROR] workingDir.BasicTest.testWorkingDir Time elapsed: 0.002 s <<< ERROR! java.io.IOException: No such file or directory at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createNewFile(File.java:1024) at workingDir.BasicTest.testWorkingDir(BasicTest.java:36) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] workingDir.BasicTest#testWorkingDir IOException No such file or directory [INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Test for working directory configuration (parent) 1.0-SNAPSHOT: [INFO] [INFO] Test for working directory configuration (parent) .. SUCCESS [ 0.116 s] [INFO] Test for working directory configuration ........... FAILURE [ 2.027 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.328 s [INFO] Finished at: 2019-04-10T07:05:39Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) on project working-directory-child: There are test failures. [ERROR] [ERROR] Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) on project working-directory-child: There are test failures. Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. 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: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: There are test failures. Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271) at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:373) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1011) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:841) 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: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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :working-directory-child Stack Trace: org.apache.maven.surefire.its.fixture.SurefireVerifierException: Exit code was non-zero: 1; command line and log = /home/jenkins/tools/maven/apache-maven-3.6.0/bin/mvn -e --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/.m2 org.apache.maven.plugins:maven-clean-plugin:clean -Dsurefire.version=3.0.0-M4-SNAPSHOT -Djacoco.agent=-javaagent:/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/.m2/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/jacoco-it.exec,append=true,includes=**/failsafe/*:**/failsafe/**/*:**/surefire/*:**/surefire/**/*,inclnolocationclasses=true,jmx=false -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -DforkMode=never test [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Test for working directory configuration (parent) [pom] [INFO] Test for working directory configuration [jar] [INFO] [INFO] --------< org.apache.maven.plugins.surefire:working-directory >--------- [INFO] Building Test for working directory configuration (parent) 1.0-SNAPSHOT [1/2] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-cli) @ working-directory --- [INFO] [INFO] -----< org.apache.maven.plugins.surefire:working-directory-child >------ [INFO] Building Test for working directory configuration 1.0-SNAPSHOT [2/2] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-cli) @ working-directory-child --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ working-directory-child --- [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ working-directory-child --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ working-directory-child --- [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ working-directory-child --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ISO-8859-1, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) @ working-directory-child --- [WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead. [WARNING] useSystemClassloader setting has no effect when not forking [INFO] Surefire report directory: /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports [INFO] Running workingDir.BasicTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! - in workingDir.BasicTest [ERROR] workingDir.BasicTest.testWorkingDir Time elapsed: 0.002 s <<< ERROR! java.io.IOException: No such file or directory at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createNewFile(File.java:1024) at workingDir.BasicTest.testWorkingDir(BasicTest.java:36) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] workingDir.BasicTest#testWorkingDir IOException No such file or directory [INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Test for working directory configuration (parent) 1.0-SNAPSHOT: [INFO] [INFO] Test for working directory configuration (parent) .. SUCCESS [ 0.116 s] [INFO] Test for working directory configuration ........... FAILURE [ 2.027 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.328 s [INFO] Finished at: 2019-04-10T07:05:39Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) on project working-directory-child: There are test failures. [ERROR] [ERROR] Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) on project working-directory-child: There are test failures. Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. 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: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: There are test failures. Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271) at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:373) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1011) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:841) 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: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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :working-directory-child at org.apache.maven.surefire.its.WorkingDirectoryIT.testWorkingDirectoryNoFork(WorkingDirectoryIT.java:63) Caused by: org.apache.maven.it.VerificationException: Exit code was non-zero: 1; command line and log = /home/jenkins/tools/maven/apache-maven-3.6.0/bin/mvn -e --batch-mode -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/.m2 org.apache.maven.plugins:maven-clean-plugin:clean -Dsurefire.version=3.0.0-M4-SNAPSHOT -Djacoco.agent=-javaagent:/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/.m2/org/jacoco/org.jacoco.agent/0.8.3/org.jacoco.agent-0.8.3-runtime.jar=destfile=/home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/jacoco-it.exec,append=true,includes=**/failsafe/*:**/failsafe/**/*:**/surefire/*:**/surefire/**/*,inclnolocationclasses=true,jmx=false -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -DforkMode=never test [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Test for working directory configuration (parent) [pom] [INFO] Test for working directory configuration [jar] [INFO] [INFO] --------< org.apache.maven.plugins.surefire:working-directory >--------- [INFO] Building Test for working directory configuration (parent) 1.0-SNAPSHOT [1/2] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-cli) @ working-directory --- [INFO] [INFO] -----< org.apache.maven.plugins.surefire:working-directory-child >------ [INFO] Building Test for working directory configuration 1.0-SNAPSHOT [2/2] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-cli) @ working-directory-child --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ working-directory-child --- [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ working-directory-child --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ working-directory-child --- [WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ working-directory-child --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ISO-8859-1, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) @ working-directory-child --- [WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead. [WARNING] useSystemClassloader setting has no effect when not forking [INFO] Surefire report directory: /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports [INFO] Running workingDir.BasicTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 s <<< FAILURE! - in workingDir.BasicTest [ERROR] workingDir.BasicTest.testWorkingDir Time elapsed: 0.002 s <<< ERROR! java.io.IOException: No such file or directory at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createNewFile(File.java:1024) at workingDir.BasicTest.testWorkingDir(BasicTest.java:36) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] workingDir.BasicTest#testWorkingDir IOException No such file or directory [INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Test for working directory configuration (parent) 1.0-SNAPSHOT: [INFO] [INFO] Test for working directory configuration (parent) .. SUCCESS [ 0.116 s] [INFO] Test for working directory configuration ........... FAILURE [ 2.027 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.328 s [INFO] Finished at: 2019-04-10T07:05:39Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) on project working-directory-child: There are test failures. [ERROR] [ERROR] Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4-SNAPSHOT:test (default-test) on project working-directory-child: There are test failures. Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. 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: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: There are test failures. Please refer to /home/jenkins/jenkins-slave/workspace/n-box_maven-surefire_no_user.dir@2/surefire-its/target/WorkingDirectoryIT_testWorkingDirectoryNoFork/child/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271) at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:373) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1011) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:841) 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: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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :working-directory-child at org.apache.maven.surefire.its.WorkingDirectoryIT.testWorkingDirectoryNoFork(WorkingDirectoryIT.java:63) Build log: [...truncated 47207 lines...] [2019-04-10T14:43:44.538Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) [2019-04-10T14:43:44.538Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [2019-04-10T14:43:44.538Z] Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. [2019-04-10T14:43:44.538Z] [2019-04-10T14:43:44.538Z] Please refer to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\surefire-its\target\failsafe-reports for the individual test results. [2019-04-10T14:43:44.538Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [2019-04-10T14:43:44.538Z] at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271) [2019-04-10T14:43:44.538Z] at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) [2019-04-10T14:43:44.538Z] at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:192) [2019-04-10T14:43:44.538Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2019-04-10T14:43:44.538Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2019-04-10T14:43:44.538Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) [2019-04-10T14:43:44.538Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2019-04-10T14:43:44.538Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2019-04-10T14:43:44.538Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) [2019-04-10T14:43:44.538Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) [2019-04-10T14:43:44.538Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) [2019-04-10T14:43:44.538Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2019-04-10T14:43:44.538Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2019-04-10T14:43:44.538Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2019-04-10T14:43:44.538Z] at java.lang.reflect.Method.invoke (Method.java:498) [2019-04-10T14:43:44.538Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) [2019-04-10T14:43:44.538Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) [2019-04-10T14:43:44.538Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) [2019-04-10T14:43:44.538Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [2019-04-10T14:43:44.538Z] [ERROR] [2019-04-10T14:43:44.538Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [2019-04-10T14:43:44.538Z] [ERROR] [2019-04-10T14:43:44.538Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2019-04-10T14:43:44.538Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [2019-04-10T14:43:44.538Z] [ERROR] [2019-04-10T14:43:44.538Z] [ERROR] After correcting the problems, you can resume the build with the command [2019-04-10T14:43:44.538Z] [ERROR] mvn <goals> -rf :surefire-its [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] fileExists [Pipeline] zip [2019-04-10T14:43:45.566Z] Writing zip file of C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\maven-failsafe-plugin\target\it to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\maven-failsafe-plugin--windows-jdk7-maven3.6.x.zip [2019-04-10T14:43:45.744Z] Zipped 78 entries. [2019-04-10T14:43:45.744Z] Archiving C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\maven-failsafe-plugin--windows-jdk7-maven3.6.x.zip [2019-04-10T14:43:45.745Z] [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [Pipeline] fileExists [Pipeline] zip [2019-04-10T14:43:45.867Z] Writing zip file of C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\surefire-its\target to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\surefire-its--windows-jdk7-maven3.6.x.zip [2019-04-10T14:44:03.647Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.816 s - in org.apache.maven.surefire.its.jiras.Surefire839TestWithoutCategoriesIT [2019-04-10T14:44:03.648Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire847AdditionalFailureIT [2019-04-10T14:44:03.955Z] Zipped 15814 entries. [2019-04-10T14:44:03.955Z] Archiving C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4@2\surefire-its--windows-jdk7-maven3.6.x.zip [2019-04-10T14:44:03.956Z] [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [Pipeline] archiveArtifacts [2019-04-10T14:44:05.342Z] Archiving artifacts [2019-04-10T14:44:05.362Z] [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [Pipeline] cleanWs [2019-04-10T14:44:06.852Z] [WS-CLEANUP] Deleting project workspace... [2019-04-10T14:44:06.852Z] [WS-CLEANUP] Deferred wipeout is used... [2019-04-10T14:44:06.986Z] [WS-CLEANUP] done [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // node [Pipeline] } [2019-04-10T14:44:16.691Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.736 s - in org.apache.maven.surefire.its.jiras.Surefire847AdditionalFailureIT [2019-04-10T14:44:16.692Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire855AllowFailsafeUseArtifactFileIT [2019-04-10T14:45:47.111Z] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.64 s - in org.apache.maven.surefire.its.jiras.Surefire855AllowFailsafeUseArtifactFileIT [2019-04-10T14:45:47.111Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire901MIssingResultfileWhenNoTestsIT [2019-04-10T14:45:52.835Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.701 s - in org.apache.maven.surefire.its.jiras.Surefire901MIssingResultfileWhenNoTestsIT [2019-04-10T14:45:52.835Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire907PerThreadWithoutThreadCountIT [2019-04-10T14:45:59.989Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.841 s - in org.apache.maven.surefire.its.jiras.Surefire907PerThreadWithoutThreadCountIT [2019-04-10T14:45:59.989Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire920TestFailureIgnoreWithTimeoutIT [2019-04-10T14:46:40.387Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.362 s - in org.apache.maven.surefire.its.jiras.Surefire920TestFailureIgnoreWithTimeoutIT [2019-04-10T14:46:40.387Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire926FailureWith2ProvidersIT [2019-04-10T14:46:40.387Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.622 s - in org.apache.maven.surefire.its.jiras.Surefire926FailureWith2ProvidersIT [2019-04-10T14:46:40.387Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire930TestNgSuiteXmlIT [2019-04-10T14:46:43.999Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.842 s - in org.apache.maven.surefire.its.jiras.Surefire930TestNgSuiteXmlIT [2019-04-10T14:46:43.999Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire943ReportContentIT [2019-04-10T14:47:20.612Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.059 s - in org.apache.maven.surefire.its.jiras.Surefire943ReportContentIT [2019-04-10T14:47:20.612Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire946KillMainProcessInReusableForkIT [2019-04-10T14:47:51.079Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.064 s - in org.apache.maven.surefire.its.jiras.Surefire946KillMainProcessInReusableForkIT [2019-04-10T14:47:51.079Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire972BizarreNoClassDefIT [2019-04-10T14:48:03.006Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.454 s - in org.apache.maven.surefire.its.jiras.Surefire972BizarreNoClassDefIT [2019-04-10T14:48:03.006Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire975DefaultVMEncodingIT [2019-04-10T14:48:14.439Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.564 s - in org.apache.maven.surefire.its.jiras.Surefire975DefaultVMEncodingIT [2019-04-10T14:48:14.439Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire979WrongClassLoaderIT [2019-04-10T14:48:37.050Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.014 s - in org.apache.maven.surefire.its.jiras.Surefire979WrongClassLoaderIT [2019-04-10T14:48:37.050Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire985ParameterizedRunnerAndCategoriesIT [2019-04-10T14:48:37.050Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.979 s - in org.apache.maven.surefire.its.jiras.Surefire985ParameterizedRunnerAndCategoriesIT [2019-04-10T14:48:37.050Z] [INFO] Running org.apache.maven.surefire.its.jiras.Surefire995CategoryInheritanceIT [2019-04-10T14:49:10.688Z] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.737 s - in org.apache.maven.surefire.its.jiras.Surefire995CategoryInheritanceIT [2019-04-10T14:49:10.688Z] [INFO] [2019-04-10T14:49:10.688Z] [INFO] Results: [2019-04-10T14:49:10.688Z] [INFO] [2019-04-10T14:49:10.688Z] [ERROR] Failures: [2019-04-10T14:49:10.688Z] [ERROR] JUnitPlatformEnginesIT.platform:111 [2019-04-10T14:49:10.688Z] Expected: <[\[DEBUG\] test\(compact\) classpath: test-classes classes junit-jupiter-engine-5\.4\.0-SNAPSHOT\.jar apiguardian-api-1\.0\.0\.jar junit-platform-engine-1\.4\.0-SNAPSHOT\.jar junit-platform-commons-1\.4\.0-SNAPSHOT\.jar opentest4j-1\.1\.1\.jar junit-jupiter-api-5\.4\.0-SNAPSHOT\.jar]> [2019-04-10T14:49:10.688Z] but: was <[[DEBUG] test(compact) classpath: test-classes classes junit-jupiter-engine-5.4.0-SNAPSHOT.jar apiguardian-api-1.0.0.jar junit-platform-engine-1.4.0-SNAPSHOT.jar opentest4j-1.1.1.jar junit-platform-commons-1.4.0-SNAPSHOT.jar junit-jupiter-api-5.4.0-SNAPSHOT.jar]> [2019-04-10T14:49:10.688Z] [ERROR] Errors: [2019-04-10T14:49:10.688Z] [ERROR] WorkingDirectoryIT.testWorkingDirectoryNoFork:63 » SurefireVerifier Exit code ... [2019-04-10T14:49:10.688Z] [INFO] [2019-04-10T14:49:10.688Z] [ERROR] Tests run: 788, Failures: 1, Errors: 1, Skipped: 150 [2019-04-10T14:49:10.688Z] [INFO] [2019-04-10T14:49:10.688Z] [INFO] [2019-04-10T14:49:10.688Z] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ surefire-its --- [2019-04-10T14:49:12.283Z] [INFO] [2019-04-10T14:49:12.283Z] [INFO] --- maven-failsafe-plugin:3.0.0-M3:verify (default) @ surefire-its --- [2019-04-10T14:49:12.283Z] [INFO] Failsafe report directory: C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its\target\failsafe-reports [2019-04-10T14:49:12.581Z] [INFO] ------------------------------------------------------------------------ [2019-04-10T14:49:12.581Z] [INFO] Reactor Summary for Apache Maven Surefire 3.0.0-M4-SNAPSHOT: [2019-04-10T14:49:12.581Z] [INFO] [2019-04-10T14:49:12.581Z] [INFO] Apache Maven Surefire .............................. SUCCESS [01:38 min] [2019-04-10T14:49:12.581Z] [INFO] SureFire Logger API ................................ SUCCESS [ 14.789 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire API ....................................... SUCCESS [ 23.179 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire Booter .................................... SUCCESS [ 27.193 s] [2019-04-10T14:49:12.581Z] [INFO] Maven Surefire Test-Grouping Support ............... SUCCESS [ 16.614 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire Providers ................................. SUCCESS [ 2.133 s] [2019-04-10T14:49:12.581Z] [INFO] Shared JUnit3 Provider Code ........................ SUCCESS [ 8.129 s] [2019-04-10T14:49:12.581Z] [INFO] Shared Java 5 Provider Base ........................ SUCCESS [ 9.109 s] [2019-04-10T14:49:12.581Z] [INFO] Shared JUnit4 Provider Code ........................ SUCCESS [ 12.125 s] [2019-04-10T14:49:12.581Z] [INFO] Shared JUnit48 Provider Code ....................... SUCCESS [ 15.510 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire JUnit Runner .............................. SUCCESS [ 8.228 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire JUnit4 Runner ............................. SUCCESS [ 9.572 s] [2019-04-10T14:49:12.581Z] [INFO] Maven Surefire Common .............................. SUCCESS [ 42.568 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire JUnitCore Runner .......................... SUCCESS [02:33 min] [2019-04-10T14:49:12.581Z] [INFO] SureFire JUnit Platform Runner ..................... SUCCESS [ 16.441 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire TestNG Utils .............................. SUCCESS [ 8.752 s] [2019-04-10T14:49:12.581Z] [INFO] SureFire TestNG Runner ............................. SUCCESS [ 8.658 s] [2019-04-10T14:49:12.581Z] [INFO] ShadeFire JUnit3 Provider .......................... SUCCESS [ 5.846 s] [2019-04-10T14:49:12.581Z] [INFO] Surefire Report Parser ............................. SUCCESS [ 12.929 s] [2019-04-10T14:49:12.581Z] [INFO] Maven Surefire Plugin .............................. SUCCESS [ 28.099 s] [2019-04-10T14:49:12.581Z] [INFO] Maven Failsafe Plugin .............................. SUCCESS [02:38 min] [2019-04-10T14:49:12.581Z] [INFO] Maven Surefire Report Plugin ....................... SUCCESS [ 28.707 s] [2019-04-10T14:49:12.581Z] [INFO] Maven Surefire Integration Tests ................... FAILURE [ 01:45 h] [2019-04-10T14:49:12.581Z] [INFO] ------------------------------------------------------------------------ [2019-04-10T14:49:12.581Z] [INFO] BUILD FAILURE [2019-04-10T14:49:12.581Z] [INFO] ------------------------------------------------------------------------ [2019-04-10T14:49:12.581Z] [INFO] Total time: 01:57 h [2019-04-10T14:49:12.581Z] [INFO] Finished at: 2019-04-10T07:49:12-07:00 [2019-04-10T14:49:12.581Z] [INFO] ------------------------------------------------------------------------ [2019-04-10T14:49:12.581Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:verify (default) on project surefire-its: There are test failures. [2019-04-10T14:49:12.581Z] [ERROR] [2019-04-10T14:49:12.581Z] [ERROR] Please refer to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its\target\failsafe-reports for the individual test results. [2019-04-10T14:49:12.581Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [2019-04-10T14:49:12.581Z] [ERROR] -> [Help 1] [2019-04-10T14:49:12.581Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:verify (default) on project surefire-its: There are test failures. [2019-04-10T14:49:12.581Z] [2019-04-10T14:49:12.581Z] Please refer to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its\target\failsafe-reports for the individual test results. [2019-04-10T14:49:12.581Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2019-04-10T14:49:12.581Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2019-04-10T14:49:12.581Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) [2019-04-10T14:49:12.582Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2019-04-10T14:49:12.582Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2019-04-10T14:49:12.582Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) [2019-04-10T14:49:12.582Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) [2019-04-10T14:49:12.582Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) [2019-04-10T14:49:12.582Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2019-04-10T14:49:12.582Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2019-04-10T14:49:12.582Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2019-04-10T14:49:12.582Z] at java.lang.reflect.Method.invoke (Method.java:498) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [2019-04-10T14:49:12.582Z] Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. [2019-04-10T14:49:12.582Z] [2019-04-10T14:49:12.582Z] Please refer to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its\target\failsafe-reports for the individual test results. [2019-04-10T14:49:12.582Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [2019-04-10T14:49:12.582Z] at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:271) [2019-04-10T14:49:12.582Z] at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:159) [2019-04-10T14:49:12.582Z] at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:192) [2019-04-10T14:49:12.582Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) [2019-04-10T14:49:12.582Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) [2019-04-10T14:49:12.582Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) [2019-04-10T14:49:12.582Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) [2019-04-10T14:49:12.582Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) [2019-04-10T14:49:12.582Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) [2019-04-10T14:49:12.582Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) [2019-04-10T14:49:12.582Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) [2019-04-10T14:49:12.582Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) [2019-04-10T14:49:12.582Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) [2019-04-10T14:49:12.582Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) [2019-04-10T14:49:12.582Z] at java.lang.reflect.Method.invoke (Method.java:498) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) [2019-04-10T14:49:12.582Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [2019-04-10T14:49:12.582Z] [ERROR] [2019-04-10T14:49:12.582Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [2019-04-10T14:49:12.582Z] [ERROR] [2019-04-10T14:49:12.582Z] [ERROR] For more information about the errors and possible solutions, please read the following articles: [2019-04-10T14:49:12.582Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [2019-04-10T14:49:12.582Z] [ERROR] [2019-04-10T14:49:12.582Z] [ERROR] After correcting the problems, you can resume the build with the command [2019-04-10T14:49:12.582Z] [ERROR] mvn <goals> -rf :surefire-its [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] fileExists [Pipeline] zip [2019-04-10T14:49:12.790Z] Writing zip file of C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\maven-failsafe-plugin\target\it to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\maven-failsafe-plugin--windows-jdk8-maven3.6.x.zip [2019-04-10T14:49:12.944Z] Zipped 78 entries. [2019-04-10T14:49:12.944Z] Archiving C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\maven-failsafe-plugin--windows-jdk8-maven3.6.x.zip [2019-04-10T14:49:12.945Z] [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [Pipeline] fileExists [Pipeline] zip [2019-04-10T14:49:13.058Z] Writing zip file of C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its\target to C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its--windows-jdk8-maven3.6.x.zip [2019-04-10T14:49:37.186Z] Zipped 15949 entries. [2019-04-10T14:49:37.186Z] Archiving C:\Users\jenkins\AppData\Local\Temp\2\jenkins-maven-box-maven-surefire-no_user.dir-4\surefire-its--windows-jdk8-maven3.6.x.zip [2019-04-10T14:49:37.187Z] [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [Pipeline] archiveArtifacts [2019-04-10T14:49:42.536Z] Archiving artifacts [2019-04-10T14:49:42.556Z] [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [Pipeline] cleanWs [2019-04-10T14:49:44.240Z] [WS-CLEANUP] Deleting project workspace... [2019-04-10T14:49:44.240Z] [WS-CLEANUP] Deferred wipeout is used... [2019-04-10T14:49:44.393Z] [WS-CLEANUP] done [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // parallel [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext