Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28606

Track down WithContainerStepTest.stop() hang

XMLWordPrintable

      Observed this issue on Ubuntu 14. The test named in the subject hangs because the LauncherDecorator in WithContainerStep is not able to kill the Docker container processes it started (via docker exec). The ps command it executes (looking for the COOKIE env variable on the process) is not finding the processes. It's as though the processes are not inheriting the env variables.

      If ps is the problem, we could use /proc directly, but it is probably an actual problem of the environment variables.

      Also we should do a hard kill on the container after 10+ seconds.

            tfennelly Tom FENNELLY
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: