geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upthewatersp...@apache.org
Subject [geode] 02/02: GEODE-5615: Capturing call stacks for all java processes
Date Wed, 22 Aug 2018 15:01:34 GMT
This is an automated email from the ASF dual-hosted git repository.

upthewaterspout pushed a commit to branch concourse-staging
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 1083a9c5a7c2dc16393040328477a0c541da07e6
Author: Dan Smith <upthewaterspout@apache.org>
AuthorDate: Tue Aug 21 17:39:31 2018 -0700

    GEODE-5615: Capturing call stacks for all java processes
    
    We were only capturing the call stacks for ChildVM processes, which
    doesn't include the main test JVM.
---
 ci/scripts/capture-call-stacks.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/scripts/capture-call-stacks.sh b/ci/scripts/capture-call-stacks.sh
index d162540..af4700b 100755
--- a/ci/scripts/capture-call-stacks.sh
+++ b/ci/scripts/capture-call-stacks.sh
@@ -64,7 +64,7 @@ for (( h=0; h<${COUNT}; h++)); do
 
         for (( i=0; i<${#containers[@]}; i++ )); do
             echo "Container: ${containers[i]}" | tee -a ${logfile};
-            mapfile -t processes < <(docker exec ${containers[i]} jps | grep ChildVM
| cut -d ' ' -f 1)
+            mapfile -t processes < <(docker exec ${containers[i]} jps | cut -d ' '
-f 1)
             echo "Got past processes."
             for ((j=0; j<${#processes[@]}; j++ )); do
                   echo "********* Dumping stack for process ${processes[j]}:" | tee -a ${logfile}
@@ -72,7 +72,7 @@ for (( h=0; h<${COUNT}; h++)); do
             done
         done
     else
-        mapfile -t processes < <(jps | grep ChildVM | cut -d ' ' -f 1)
+        mapfile -t processes < <(jps | cut -d ' ' -f 1)
         echo "Got past processes."
         for ((j=0; j<${#processes[@]}; j++ )); do
               echo "********* Dumping stack for process ${processes[j]}:" | tee -a ${logfile}


Mime
View raw message