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

Track down WithContainerStepTest.stop() hang

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-29752 [ JENKINS-29752 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163452 ] JNJira + In-Review [ 181245 ]

              People

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

                Dates

                Created:
                Updated: