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

android-emulator shouldn't leave emulator processes running

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently, sometimes the Proc.kill run on the emulator process will fail if the emulator process is hung really hard.
      The process will not respond to SIGTERM, but will respond to SIGKILL - so we should kill it with that when we fail to SIGTERM it. Otherwise, the android emulator will think the AVD data is no longer in use, and cause weird errors when running new ones.

      I filed JENKINS-11995 to track the required core change.

        Attachments

          Issue Links

            Activity

            Hide
            jorgenpt Jørgen Tjernø added a comment -

            There's isn't any way to SIGKILL currently.

            Show
            jorgenpt Jørgen Tjernø added a comment - There's isn't any way to SIGKILL currently.
            Hide
            matthewlmcclure matthewlmcclure added a comment -

            I wrote a script that you can execute periodically from cron to clean up processes orphaned by Jenkins.

            Show
            matthewlmcclure matthewlmcclure added a comment - I wrote a script that you can execute periodically from cron to clean up processes orphaned by Jenkins.

              People

              • Assignee:
                orrc Christopher Orr
                Reporter:
                jorgenpt Jørgen Tjernø
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: