Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9462

Dump call stacks from both Dockerized and non-Dockerized java processes

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                demery Dale Emery
                Reporter:
                demery Dale Emery
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: