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

Emulator snapshots do not work correctly with sd cards

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The Android emulator does not work properly with snapshots:
      http://code.google.com/p/android/issues/detail?id=27524

      One workaround to this would be for the plugin to copy away sdcard.img at the time it creates the snapshot, then copy it back when it loads the snapshot. (E.g. sdcard-snapshot-jenkins.img)
      Another option would be to recreate the sdcard.img each time before starting the emulator, since it's always blank when the plugin creates the snapshot, using mksdcard 128M file.img

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          Recreating the SD card at the start of each snapshot-enabled build sounds good to me. Will do.

          Show
          orrc Christopher Orr added a comment - Recreating the SD card at the start of each snapshot-enabled build sounds good to me. Will do.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christopher Orr
          Path:
          src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
          http://jenkins-ci.org/commit/android-emulator-plugin/9a329071e96a7e26b99cbc237082daa83178364f
          Log:
          [FIXED JENKINS-13205] Ensure AVDs starting from snapshot have a clean SD card.

          Compare: https://github.com/jenkinsci/android-emulator-plugin/compare/4a1fee5...9a32907

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christopher Orr Path: src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java http://jenkins-ci.org/commit/android-emulator-plugin/9a329071e96a7e26b99cbc237082daa83178364f Log: [FIXED JENKINS-13205] Ensure AVDs starting from snapshot have a clean SD card. Compare: https://github.com/jenkinsci/android-emulator-plugin/compare/4a1fee5...9a32907
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_android-emulator #29
          [FIXED JENKINS-13205] Ensure AVDs starting from snapshot have a clean SD card. (Revision 9a329071e96a7e26b99cbc237082daa83178364f)

          Result = SUCCESS
          Christopher Orr :
          Files :

          • src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_android-emulator #29 [FIXED JENKINS-13205] Ensure AVDs starting from snapshot have a clean SD card. (Revision 9a329071e96a7e26b99cbc237082daa83178364f) Result = SUCCESS Christopher Orr : Files : src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
          Hide
          orrc Christopher Orr added a comment -

          This has been released in version 2.2 of the plugin.

          Show
          orrc Christopher Orr added a comment - This has been released in version 2.2 of the plugin.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              jorgenpt Jørgen Tjernø
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: