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

android-emulator shouldn't leave emulator processes running

    XMLWordPrintable

Details

    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

            jorgenpt Jørgen Tjernø created issue -
            jorgenpt Jørgen Tjernø made changes -
            Field Original Value New Value
            Link This issue depends on JENKINS-11995 [ JENKINS-11995 ]

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

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

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

            matthewlmcclure matthewlmcclure added a comment - I wrote a script that you can execute periodically from cron to clean up processes orphaned by Jenkins.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 142268 ] JNJira + In-Review [ 175648 ]
            orrc Christopher Orr made changes -
            Assignee Christopher Orr [ orrc ]

            People

              Unassigned Unassigned
              jorgenpt Jørgen Tjernø
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: