-
Bug
-
Resolution: Not A Defect
-
Major
-
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/
When running a build that uses the emulator plugin to start an emulator, this happens if the Jenkins's user isn't logged on to the desktop on the machine.
[android] Using Android SDK: /Users/Shared/Jenkins/android/adt-bundle/sdk $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb start-server _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. ERROR: Timeout after 5 seconds $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb start-server _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. ERROR: Timeout after 5 seconds [android] Starting Android emulator $ /Users/Shared/Jenkins/android/adt-bundle/sdk/tools/emulator -no-boot-anim -ports 5680,5681 -avd Nexus-S-2 -no-snapshot-load -no-snapshot-save -no-window -noaudio _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. 2014-07-10 11:10:04.006 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.007 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.007 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.007 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.008 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.008 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.008 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.008 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.008 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.008 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.009 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.009 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.009 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.009 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.009 emulator64-arm[5457:d0b] invalid CoreGraphics connection 2014-07-10 11:10:04.009 emulator64-arm[5457:d0b] invalid CoreGraphics connection Failed to create Context 0x3005 emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb connect emulator-5680 _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Nothing more happens after this.
- is related to
-
JENKINS-23735 Emulator plugin first time build "adb start-server" times out after 5 seconds
- Closed