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

PANIC : Broken AVD system path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • Jenkins Version : 2.7.4
      Git : 3.0.0
      Gradle : 3.1
      Android Emulator : 2.15
      Java version : 1.8
      OS : Windows 10
      Emulator name : Galaxy_Nexus_API_22

      Hi,
      I have using jenkins for CI process. I had Create a new project(Gradle) in jenkins using Git URL. and i had configure the android lint for get report its working fine and the Build is success.
      After that i added the Android Emulator and i created the new Emulator then build the project it showing the error like,

      12:58:20 Started by user anonymous
      12:58:20 Building in workspace C:\Program Files (x86)\Jenkins\workspace\Lazhora
      12:58:20 > git.exe rev-parse --is-inside-work-tree # timeout=10
      12:58:20 Fetching changes from the remote Git repository
      12:58:20 > git.exe config remote.origin.url https://PreethiPM@bitbucket.org/karthee/lazhora.git # timeout=10
      12:58:20 Fetching upstream changes from https://PreethiPM@bitbucket.org/karthee/lazhora.git
      12:58:20 > git.exe --version # timeout=10
      12:58:20 > git.exe fetch --tags --progress https://PreethiPM@bitbucket.org/karthee/lazhora.git +refs/heads/:refs/remotes/origin/
      12:58:22 > git.exe rev-parse "refs/remotes/origin/master^

      {commit}" # timeout=10
      12:58:22 > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}

      " # timeout=10
      12:58:22 Checking out Revision ba1ff73ffe0ba521e865cc1c0181352ab1036e9d (refs/remotes/origin/master)
      12:58:22 > git.exe config core.sparsecheckout # timeout=10
      12:58:22 > git.exe checkout -f ba1ff73ffe0ba521e865cc1c0181352ab1036e9d
      12:58:22 > git.exe rev-list ba1ff73ffe0ba521e865cc1c0181352ab1036e9d # timeout=10
      12:58:22 $ D:\sdk/tools/android.bat list target
      12:58:24 [android] Using Android SDK: D:\sdk
      12:58:24 [android] Creating Android AVD: C:\Users\Preethi\.android\avd\hudson_en-US_320_720x1280_android-22_x86_emc.avd
      12:58:24 [android] D:\sdk/tools/android.bat create avd -f -a -s 720x1280 -n hudson_en-US_320_720x1280_android-22_x86_emc -t android-22 --abi x86
      12:58:33 $ D:\sdk/platform-tools/adb.exe start-server
      12:58:37 * daemon not running. starting it now on port 5843 *
      12:58:37 * daemon started successfully *
      12:58:37 $ D:\sdk/platform-tools/adb.exe start-server
      12:58:37 $ D:\sdk/tools/emulator.exe -snapshot-list -no-window -avd hudson_en-US_320_720x1280_android-22_x86_emc
      12:58:37 WARNING: Force to use classic engine to support snapshot.
      12:58:37 PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [D:\sdk]!
      12:58:37 [android] Starting Android emulator and creating initial snapshot
      12:58:37 $ D:\sdk/tools/emulator.exe -engine classic -ports 5694,5695 -report-console tcp:5812,max=60 -prop persist.sys.language=en -prop persist.sys.country=US -avd hudson_en-US_320_720x1280_android-22_x86_emc -no-snapshot-load -no-snapshot-save -wipe-data
      12:58:37 WARNING: Force to use classic engine to support snapshot.
      12:58:37 PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [D:\sdk]!
      12:59:42 [android] Emulator did not appear to start; giving up
      12:59:42 [android] Stopping Android emulator
      12:59:43 $ D:\sdk/platform-tools/adb.exe kill-server
      12:59:43 [android-lint] Collecting Android Lint files...
      12:59:44 [android-lint] Finding all files that match the pattern */lint-results.xml
      12:59:44 [android-lint] Parsing 2 files in C:\Program Files (x86)\Jenkins\workspace\Lazhora
      12:59:44 [android-lint] Successfully parsed file C:\Program Files (x86)\Jenkins\workspace\Lazhora\Lazhora\app\build\outputs\lint-results-debug.xml with 227 unique warnings and 0 duplicates.
      12:59:44 [android-lint] Successfully parsed file C:\Program Files (x86)\Jenkins\workspace\Lazhora\Lazhora\app\build\outputs\lint-results-release-fatal.xml with 227 unique warnings and 0 duplicates.
      12:59:44 [android-lint] Computing warning deltas based on reference build #33
      12:59:44 Finished: NOT_BUILT

      After this i added the Existing emulator it also showing the error like,

      12:02:27 Started by user anonymous
      12:02:27 Building in workspace C:\Program Files (x86)\Jenkins\workspace\Lazhora
      12:02:27 > git.exe rev-parse --is-inside-work-tree # timeout=10
      12:02:27 Fetching changes from the remote Git repository
      12:02:27 > git.exe config remote.origin.url https://PreethiPM@bitbucket.org/karthee/lazhora.git # timeout=10
      12:02:27 Fetching upstream changes from https://PreethiPM@bitbucket.org/karthee/lazhora.git
      12:02:27 > git.exe --version # timeout=10
      12:02:27 > git.exe fetch --tags --progress https://PreethiPM@bitbucket.org/karthee/lazhora.git +refs/heads/:refs/remotes/origin/
      12:02:28 > git.exe rev-parse "refs/remotes/origin/master^

      {commit}" # timeout=10
      12:02:28 > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}

      " # timeout=10
      12:02:28 Checking out Revision ba1ff73ffe0ba521e865cc1c0181352ab1036e9d (refs/remotes/origin/master)
      12:02:28 > git.exe config core.sparsecheckout # timeout=10
      12:02:28 > git.exe checkout -f ba1ff73ffe0ba521e865cc1c0181352ab1036e9d
      12:02:28 > git.exe rev-list ba1ff73ffe0ba521e865cc1c0181352ab1036e9d # timeout=10
      12:02:29 $ D:\sdk/tools/android.bat list target
      12:02:30 [android] Using Android SDK: D:\sdk
      12:02:30 $ D:\sdk/platform-tools/adb.exe start-server
      12:02:34 * daemon not running. starting it now on port 5869 *
      12:02:34 * daemon started successfully *
      12:02:34 $ D:\sdk/platform-tools/adb.exe start-server
      12:02:34 $ D:\sdk/tools/emulator.exe -snapshot-list -no-window -avd Galaxy_Nexus_API_22
      12:02:34 WARNING: Force to use classic engine to support snapshot.
      12:02:34 PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [D:\sdk]!
      12:02:34 [android] Starting Android emulator and creating initial snapshot
      12:02:34 [android] Erasing existing emulator data...
      12:02:34 $ D:\sdk/tools/emulator.exe -engine classic -ports 5720,5721 -report-console tcp:5831,max=60 -avd Galaxy_Nexus_API_22 -no-snapshot-load -no-snapshot-save -wipe-data
      12:02:34 WARNING: Force to use classic engine to support snapshot.
      12:02:34 PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [D:\sdk]!
      12:03:39 [android] Emulator did not appear to start; giving up
      12:03:39 [android] Stopping Android emulator
      12:03:40 $ D:\sdk/platform-tools/adb.exe kill-server
      12:03:40 [android-lint] Collecting Android Lint files...
      12:03:41 [android-lint] Finding all files that match the pattern */lint-results.xml
      12:03:41 [android-lint] Parsing 2 files in C:\Program Files (x86)\Jenkins\workspace\Lazhora
      12:03:41 [android-lint] Successfully parsed file C:\Program Files (x86)\Jenkins\workspace\Lazhora\Lazhora\app\build\outputs\lint-results-debug.xml with 227 unique warnings and 0 duplicates.
      12:03:41 [android-lint] Successfully parsed file C:\Program Files (x86)\Jenkins\workspace\Lazhora\Lazhora\app\build\outputs\lint-results-release-fatal.xml with 227 unique warnings and 0 duplicates.
      12:03:41 [android-lint] Computing warning deltas based on reference build #33
      12:03:41 Finished: NOT_BUILT

      Please help me to get out of this issue..

        1. Existing Emulator.png
          21 kB
          kavitha Ramasamy
        2. Glopal properties.png
          14 kB
          kavitha Ramasamy
        3. New Emulator.png
          26 kB
          kavitha Ramasamy
        4. SDK root config.png
          13 kB
          kavitha Ramasamy

            orrc Christopher Orr
            kavitha_24 kavitha Ramasamy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: