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

Emulator plugin first time build "adb start-server" times out after 5 seconds

      During build, the emulator starts, but the log shows the following:

      [android] Using Android SDK: /Users/Shared/Jenkins/android/adt-bundle/sdk
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb start-server
      ERROR: Timeout after 5 seconds
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb start-server
      ERROR: Timeout after 5 seconds
      [android] Starting Android emulator
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/tools/emulator -no-boot-anim -ports 5773,5774 -avd Nexus-S-2 -no-snapshot-load -no-snapshot-save -noaudio
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb connect emulator-5773

      After this, nothing else happens. The job seems to get stuck.

      After this happened once, I ran the build 3 consecutive times and it built perfectly without problems. In other words, this only happened once. I didn't change any settings.

          [JENKINS-23735] Emulator plugin first time build "adb start-server" times out after 5 seconds

          Oskar Danielsson created issue -
          Oskar Danielsson made changes -
          Link New: This issue is related to JENKINS-11952 [ JENKINS-11952 ]
          Oskar Danielsson made changes -
          Environment Original: OS X Mavericks 10.9.1 running on Virtual Machine
          3062MB RAM

          [Android Emulator 2.12 SNAPSHOT (Jun 9)|https://jenkins.ci.cloudbees.com/job/plugins/job/android-emulator-plugin/65/org.jenkins-ci.plugins$android-emulator/]
          New: OS X Mavericks 10.9.1 running on Virtual Machine
          3062MB RAM

          Android Emulator 2.12 SNAPSHOT (Jun 9): https://jenkins.ci.cloudbees.com/job/plugins/job/android-emulator-plugin/65/org.jenkins-ci.plugins$android-emulator/
          Oskar Danielsson made changes -
          Summary Original: First time build "adb start-server" times out after 5 seconds New: Emulator plugin first time build "adb start-server" times out after 5 seconds
          Oskar Danielsson made changes -
          Link New: This issue is related to JENKINS-23736 [ JENKINS-23736 ]
          Christopher Orr made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 156524 ] New: JNJira + In-Review [ 207841 ]

            orrc Christopher Orr
            oskard Oskar Danielsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: