From commits-return-28015-archive-asf-public=cust-asf.ponee.io@geode.apache.org Wed Aug 22 17:01:35 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F0D36180679 for ; Wed, 22 Aug 2018 17:01:34 +0200 (CEST) Received: (qmail 91077 invoked by uid 500); 22 Aug 2018 15:01:34 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 91042 invoked by uid 99); 22 Aug 2018 15:01:34 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2018 15:01:34 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 65CDC88C3F; Wed, 22 Aug 2018 15:01:33 +0000 (UTC) Date: Wed, 22 Aug 2018 15:01:34 +0000 To: "commits@geode.apache.org" Subject: [geode] 02/02: GEODE-5615: Capturing call stacks for all java processes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: upthewaterspout@apache.org In-Reply-To: <153495009161.15151.6072447444989719144@gitbox.apache.org> References: <153495009161.15151.6072447444989719144@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: geode X-Git-Refname: refs/heads/concourse-staging X-Git-Reftype: branch X-Git-Rev: 1083a9c5a7c2dc16393040328477a0c541da07e6 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180822150133.65CDC88C3F@gitbox.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 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}