You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/10/14 17:10:30 UTC

[maven-surefire] branch SUREFIRE-1689 updated: exit 1 investigated

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch SUREFIRE-1689
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/SUREFIRE-1689 by this push:
     new bcf1019  exit 1 investigated
bcf1019 is described below

commit bcf1019393c090e0bab864bf4279b6de010ee433
Author: tibordigana <ti...@apache.org>
AuthorDate: Mon Oct 14 19:10:19 2019 +0200

    exit 1 investigated
---
 Jenkinsfile                                                             | 2 +-
 .../src/main/java/org/apache/maven/surefire/booter/PpidChecker.java     | 1 +
 .../src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 04f9881..c7b0a46 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -35,7 +35,7 @@ final def mavens = env.BRANCH_NAME == 'master' ? ['3.6.x', '3.2.x'] : ['3.6.x']
 // all non-EOL versions and the first EA
 final def jdks = [14, 13, 11, 8, 7]
 
-final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its']
+final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its', '-DskipITs']
 final def goals = ['clean', 'install']
 final def goalsDepl = ['clean', 'deploy', 'jacoco:report']
 final Map stages = [:]
diff --git a/surefire-booter/src/main/java/org/apache/maven/surefire/booter/PpidChecker.java b/surefire-booter/src/main/java/org/apache/maven/surefire/booter/PpidChecker.java
index 86f0c4f..2654c7f 100644
--- a/surefire-booter/src/main/java/org/apache/maven/surefire/booter/PpidChecker.java
+++ b/surefire-booter/src/main/java/org/apache/maven/surefire/booter/PpidChecker.java
@@ -366,6 +366,7 @@ final class PpidChecker
                 while ( scanner.hasNextLine() )
                 {
                     String line = scanner.nextLine().trim();
+                    System.out.println( "java version " + System.getProperty( "java.version" ) + " line=" + line );
                     processInfo = consumeLine( line, processInfo );
                 }
                 checkValid( scanner );
diff --git a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java
index 5939b5e..10db710 100644
--- a/surefire-booter/src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java
+++ b/surefire-booter/src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java
@@ -89,6 +89,7 @@ public class PpidCheckerTest
     public void shouldHavePid() throws Exception
     {
         long expectedPid = Long.parseLong( ManagementFactory.getRuntimeMXBean().getName().split( "@" )[0].trim() );
+        System.out.println( "java version " + System.getProperty( "java.version" ) + " expectedPid=" + expectedPid );
 
         PpidChecker checker = new PpidChecker( expectedPid );
         setInternalState( checker, "parentProcessInfo",