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

          modprobe Alex Timmermann created issue -
          modprobe Alex Timmermann made changes -
          Field Original Value New Value
          Description Jenkins seems to be unable to connect to a running emulator.

          {noformat}
          $ /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
          {noformat}

          I'm sorry if I am lacking any further information, I'm not that used to jenkins debugging. Please tell me if I can provide more info.
          Jenkins seems to be unable to connect to a running emulator.

          {noformat}
          $ /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
          {noformat}

          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.
          modprobe Alex Timmermann made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          orrc Christopher Orr made changes -
          Resolution Done [ 10000 ]
          Status Open [ 1 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 166903 ] JNJira + In-Review [ 209423 ]

            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: