You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2018/08/22 15:01:32 UTC

[geode] branch concourse-staging updated (3ed9331 -> 1083a9c)

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

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


    from 3ed9331  Revert "Testing 36 parallel forks"
     new 29cc280  GEODE-5615: Capturing hprof files in build archive
     new 1083a9c  GEODE-5615: Capturing call stacks for all java processes

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ci/scripts/archive_results.sh     | 1 +
 ci/scripts/capture-call-stacks.sh | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


[geode] 01/02: GEODE-5615: Capturing hprof files in build archive

Posted by up...@apache.org.
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 29cc28037c623609524fe8066616c3da0a2e5cf1
Author: Dan Smith <up...@apache.org>
AuthorDate: Tue Aug 21 15:37:59 2018 -0700

    GEODE-5615: Capturing hprof files in build archive
    
    To help us track down builds that fail with OutOfMemory errors, capture
    any hprof files found.
---
 ci/scripts/archive_results.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ci/scripts/archive_results.sh b/ci/scripts/archive_results.sh
index bce4fcd..29fe455 100755
--- a/ci/scripts/archive_results.sh
+++ b/ci/scripts/archive_results.sh
@@ -101,6 +101,7 @@ pushd ${GEODE_BUILD}
   find . -type d -name "test-results" >> ${directories_file}
   (find . -type d -name "*Test" | grep "build/[^/]*Test$") >> ${directories_file}
   find . -name "*-progress*txt" >> ${directories_file}
+  find . -name '*.hprof" >> ${directories_file}
   find . -type d -name "callstacks" >> ${directories_file}
   echo "Collecting the following artifacts..."
   cat ${directories_file}


[geode] 02/02: GEODE-5615: Capturing call stacks for all java processes

Posted by up...@apache.org.
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 <up...@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}