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

FAILED TO establish the default connection to the WindowServer (While launching existing emulator through android emulator plugin )

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      /Users/Shared/Jenkins/Home/workspace/emulator_of_jenkins [android] *Failed to create file or directory: /Users/Shared/Jenkins/.android $ */Users/Library/Android/sdk/tools/bin/avdmanager list target [android] Using Android SDK: /Users/Library/Android/sdk $ /Users/Library/Android/sdk/platform-tools/adb start-server * daemon not running; starting now at tcp:5848 * daemon started successfully $ /Users//Library/Android/sdk/platform-tools/adb start-server [android] Starting Android emulator $ /Users/Library/Android/sdk/emulator/emulator -ports 5788,5789 -report-console tcp:5819,max=60 -avd emulator -no-window _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. emulator: ERROR: A snapshot operation for 'emulator' is pending and timeout has expired. Exiting... [android] Emulator did not appear to start; giving up [android] Stopping Android emulator $ /Users/Library/Android/sdk/platform-tools/adb kill-server Finished: NOT_BUILT

        Attachments

          Activity

          sumitkathuria theexplorer created issue -
          sumitkathuria theexplorer made changes -
          Field Original Value New Value
          Description h1. Started by user sumit kathuria Building in workspace /Users/Shared/Jenkins/Home/workspace/emulator_of_jenkins [android] *{color:#ff0000}Failed to create file or directory: /Users/Shared/Jenkins/.android{color} $ */Users/sumit.kathuria/Library/Android/sdk/tools/bin/avdmanager list target [android] Using Android SDK: /Users/sumit.kathuria/Library/Android/sdk $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb start-server * daemon not running; starting now at tcp:5848 * daemon started successfully $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb start-server [android] Starting Android emulator $ /Users/sumit.kathuria/Library/Android/sdk/emulator/emulator -ports 5788,5789 -report-console tcp:5819,max=60 -avd emulator -no-window _RegisterApplication(),{color:#ff0000} FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. emulator: ERROR: A snapshot operation for 'emulator' is pending and timeout has expired. Exiting... [android] Emulator did{color} not appear to start; giving up [android] Stopping Android emulator $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb kill-server Finished: NOT_BUILT h4. Started by user sumit kathuria Building in workspace /Users/Shared/Jenkins/Home/workspace/emulator_of_jenkins [android] *{color:#ff0000}Failed to create file or directory: /Users/Shared/Jenkins/.android{color} $ */Users/sumit.kathuria/Library/Android/sdk/tools/bin/avdmanager list target [android] Using Android SDK: /Users/sumit.kathuria/Library/Android/sdk $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb start-server * daemon not running; starting now at tcp:5848 * daemon started successfully $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb start-server [android] Starting Android emulator $ /Users/sumit.kathuria/Library/Android/sdk/emulator/emulator -ports 5788,5789 -report-console tcp:5819,max=60 -avd emulator -no-window _RegisterApplication(),{color:#ff0000} FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. emulator: ERROR: A snapshot operation for 'emulator' is pending and timeout has expired. Exiting... [android] Emulator did{color} not appear to start; giving up [android] Stopping Android emulator $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb kill-server Finished: NOT_BUILT
          sumitkathuria theexplorer made changes -
          Description h4. Started by user sumit kathuria Building in workspace /Users/Shared/Jenkins/Home/workspace/emulator_of_jenkins [android] *{color:#ff0000}Failed to create file or directory: /Users/Shared/Jenkins/.android{color} $ */Users/sumit.kathuria/Library/Android/sdk/tools/bin/avdmanager list target [android] Using Android SDK: /Users/sumit.kathuria/Library/Android/sdk $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb start-server * daemon not running; starting now at tcp:5848 * daemon started successfully $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb start-server [android] Starting Android emulator $ /Users/sumit.kathuria/Library/Android/sdk/emulator/emulator -ports 5788,5789 -report-console tcp:5819,max=60 -avd emulator -no-window _RegisterApplication(),{color:#ff0000} FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. emulator: ERROR: A snapshot operation for 'emulator' is pending and timeout has expired. Exiting... [android] Emulator did{color} not appear to start; giving up [android] Stopping Android emulator $ /Users/sumit.kathuria/Library/Android/sdk/platform-tools/adb kill-server Finished: NOT_BUILT h4. /Users/Shared/Jenkins/Home/workspace/emulator_of_jenkins [android] *{color:#ff0000}Failed to create file or directory: /Users/Shared/Jenkins/.android{color} $ */Users/Library/Android/sdk/tools/bin/avdmanager list target [android] Using Android SDK: /Users/Library/Android/sdk $ /Users/Library/Android/sdk/platform-tools/adb start-server * daemon not running; starting now at tcp:5848 * daemon started successfully $ /Users//Library/Android/sdk/platform-tools/adb start-server [android] Starting Android emulator $ /Users/Library/Android/sdk/emulator/emulator -ports 5788,5789 -report-console tcp:5819,max=60 -avd emulator -no-window _RegisterApplication(),{color:#ff0000} FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. emulator: ERROR: A snapshot operation for 'emulator' is pending and timeout has expired. Exiting... [android] Emulator did{color} not appear to start; giving up [android] Stopping Android emulator $ /Users/Library/Android/sdk/platform-tools/adb kill-server Finished: NOT_BUILT
          orrc Christopher Orr made changes -
          Assignee Christopher Orr [ orrc ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sumitkathuria theexplorer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: