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

Jenkins fails to connect to running emulator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Labels:
      None
    • Environment:
      Jenkins 1.637
      Debian 7.9 (Wheezy) x86_64
      Android Emulator Plugin 2.13.1
    • Similar Issues:

      Description

      Jenkins seems to be unable to connect to a running emulator.

      $ /opt/android-sdk-linux/platform-tools/adb -s emulator-5578 wait-for-device shell getprop init.svc.bootanim
      [android] Emulator reports its state as 'running'
      $ /opt/android-sdk-linux/platform-tools/adb connect localhost:5578
      
      [repeats for two minutes]
      
      $ /opt/android-sdk-linux/platform-tools/adb disconnect
      [android] Stopping Android emulator
      emulator: WARNING: Increasing RAM size to 1GB
      Creating filesystem with parameters:
          Size: 576716800
          Block size: 4096
          Blocks per group: 32768
          Inodes per group: 7040
          Inode size: 256
          Journal blocks: 2200
          Label: 
          Blocks: 140800
          Block groups: 5
          Reserved block group size: 39
      Created filesystem with 11/35200 inodes and 4536/140800 blocks
      Creating filesystem with parameters:
          Size: 69206016
          Block size: 4096
          Blocks per group: 32768
          Inodes per group: 4224
          Inode size: 256
          Journal blocks: 1024
          Label: 
          Blocks: 16896
          Block groups: 1
          Reserved block group size: 7
      Created filesystem with 11/4224 inodes and 1302/16896 blocks
      emulator: UpdateCheck: current version '24.4.1', last version '24.4.1'
      $ /opt/android-sdk-linux/platform-tools/adb kill-server
      Archiving artifacts
      Finished: NOT_BUILT
      

      I'm sorry if I am lacking any further information, I'm not that used to jenkins debugging. Please tell me if or how I can provide more info.

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          This should be working in version 2.14 of the plugin, which was released last week.

          Show
          orrc Christopher Orr added a comment - This should be working in version 2.14 of the plugin, which was released last week.
          Hide
          tlmak0 Hugo Freire added a comment -

          Same problem here with plugin 2.14.1. I can send any information do you need.

          Show
          tlmak0 Hugo Freire added a comment - Same problem here with plugin 2.14.1. I can send any information do you need.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              modprobe Alex Timmermann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: