[ https://issues.apache.org/jira/browse/GEODE-9462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388162#comment-17388162 ]
ASF subversion and git services commented on GEODE-9462: -------------------------------------------------------- Commit 0fd6201c6295a536205754ae538dffe765e164da in geode's branch refs/heads/develop from Dale Emery [ https://gitbox.apache.org/repos/asf?p=geode.git;h=0fd6201 ] GEODE-9462: Capture call stacks from all sources (#6723) Change `ci/scripts/capture-call-stacks.sh` to capture call stacks from both Dockerized and non-Dockerized Java processes, regardless of the value of `PARALLEL_DUNIT`. If `jps` reports any processes, capture their call stacks. If `docker ps` reports any Docker containers, capture the call stacks of all Java processes running in those containers. This ensures that we capture all call stacks from all lingering Java test worker processes, regardless of whether the workers were run in Docker containers. Co-authored-by: Dale Emery <dem...@vmware.com> > Dump call stacks from both Dockerized and non-Dockerized java processes > ----------------------------------------------------------------------- > > Key: GEODE-9462 > URL: https://issues.apache.org/jira/browse/GEODE-9462 > Project: Geode > Issue Type: Improvement > Components: build > Reporter: Dale Emery > Assignee: Dale Emery > Priority: Major > Labels: GeodeOperationAPI, pull-request-available > > Currently, {{ci/scripts/capture-call-stacks.sh}} assumes that if > {{PARALLEL_DUNIT}} is empty, tests were run in plain Java processes, and if > it is non-empty, tests were run in Docker containers. > GEODE-8728 violates that assumption: It runs parallel tests in plain Java > processes, without Docker containers. > Currently, the script looks in different places for Java processes, depending > on whether {{PARALLEL_DUNIT}} is empty. If it is empty, the script dumps > stacks from plain Java processes on the machine, and only those processes. If > it is non-empty, the script dumps stacks from Java processes running inside > Docker containers, and only those processes. > This will not work in builds that include GEODE-8728. > To allow the script to work both for newer builds that include GEODE-8728 and > older builds that do not, change it to dump call stacks from both places, > regardless of whether `PARALLEL_DUNIT` is empty. If `jps` reports any > processes, dump their stacks. And if `docker ps` reports any containers, dump > the stacks of the Java processes in each container. -- This message was sent by Atlassian Jira (v8.3.4#803005)