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

Aborting builds does not kill surefire sub-process

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core, maven-plugin
    • None

      I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!

      This does not happen when running "sleep 50000" in a command window (i.e. this is killed with the job).

          [JENKINS-28968] Aborting builds does not kill surefire sub-process

          Ryan Desmond created issue -
          Ryan Desmond made changes -
          Assignee New: Ryan Desmond [ rddesmond ]
          Ryan Desmond made changes -
          Description Original: I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!

          This does not happen when running "sleep 50000" in a command window (e.g. this is killed with the job).
          New: I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!

          This does not happen when running "sleep 50000" in a command window (i.e. this is killed with the job).
          Ryan Desmond made changes -
          Assignee Original: Ryan Desmond [ rddesmond ]
          Ryan Desmond made changes -
          Description Original: I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!

          This does not happen when running "sleep 50000" in a command window (i.e. this is killed with the job).
          New: I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!

          This does not happen when running "sleep 50000" in a command window (i.e. this is killed with the job).

          Ryan Desmond made changes -
          Attachment New: JENKINS-28968.txt [ 29985 ]
          Ryan Desmond made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Ryan Desmond made changes -
          Link New: This issue duplicates JENKINS-26048 [ JENKINS-26048 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163832 ] New: JNJira + In-Review [ 208892 ]
          Oleg Nenashev made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Don Bogardus made changes -
          Link New: This issue is related to JENKINS-22641 [ JENKINS-22641 ]

            Unassigned Unassigned
            rddesmond Ryan Desmond
            Votes:
            6 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: