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

Emulator can't connect to adb server!?

XMLWordPrintable

      The emulator plugin can't connect the adb server as already discussed in ticket. I don't know if it is a misconfiguration problem or the previously mentioned problems still exists?

      [EnvInject] - Loading node environment variables.
      Baue in Arbeitsbereich /var/lib/jenkins/jobs/xxx/workspace
      Updating https://abc.xyz/xxx/trunk/src_androidstudio at revision '2015-03-17T08:58:35.873 +0100'
      At revision 693
      no change for https://abc.xyz/xxx/trunk/src_androidstudio since the previous build
      [android] Using Android SDK: /opt/android-sdk_r24.0.2-linux
      [android] Waiting 30 seconds before starting emulator...
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb start-server
      * daemon not running. starting it now on port 9278 *
      * daemon started successfully *
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb start-server
      $ /opt/android-sdk_r24.0.2-linux/tools/emulator -snapshot-list -no-window -avd hudson_de-DE_160_WXGA800_android-19_armeabi-v7a
      [android] Starting Android emulator and creating initial snapshot
      [android] Erasing existing emulator data...
      $ /opt/android-sdk_r24.0.2-linux/tools/emulator -no-boot-anim -ports 9276,9277 -avd hudson_de-DE_160_WXGA800_android-19_armeabi-v7a -no-snapshot-load -no-snapshot-save -wipe-data -no-window -no-audio -gpu off
      Failed to Initialize backend EGL display
      Could not initialize emulated framebuffer$ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      connected to localhost:9277
      [android] Waiting for emulator to finish booting...
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb disconnect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb disconnect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb disconnect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb -s localhost:9277 shell getprop init.svc.bootanim
      error: device offline
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb connect localhost:9277
      [android] Interrupted while waiting for emulator to finish booting.
      [android] Emulator was shut down before it finished booting
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb disconnect localhost:9277
      [android] Stopping Android emulator
      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: WARNING: Could not initialize OpenglES emulation, using software renderer.
      $ /opt/android-sdk_r24.0.2-linux/platform-tools/adb kill-server
      [...]
      

            orrc Christopher Orr
            arbyter Marcus Sümnick
            Votes:
            2 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: