Yongqin Liu | 08ee80d | 2018-03-06 15:12:22 +0800 | [diff] [blame] | 1 | device_type: hi6220-hikey |
| 2 | job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-monkey" |
| 3 | timeouts: |
| 4 | job: |
| 5 | minutes: 120 |
| 6 | action: |
| 7 | minutes: 15 |
| 8 | connection: |
| 9 | minutes: 2 |
| 10 | priority: low |
Yongqin Liu | 318d7e0 | 2018-03-08 11:15:14 +0800 | [diff] [blame^] | 11 | visibility: |
| 12 | group: |
| 13 | - lkft |
Yongqin Liu | 08ee80d | 2018-03-06 15:12:22 +0800 | [diff] [blame] | 14 | |
| 15 | metadata: |
| 16 | android.build: "%%ANDROID_META_BUILD%%" |
| 17 | android.name: "%%ANDROID_META_NAME%%" |
| 18 | android.url: "%%ANDROID_META_URL%%" |
| 19 | android.fastboot: "platform-tools_r26.0.0" |
| 20 | |
| 21 | protocols: |
| 22 | lava-lxc: |
| 23 | name: lxc-hikey-test |
| 24 | template: ubuntu |
| 25 | distribution: ubuntu |
| 26 | release: xenial |
| 27 | arch: amd64 |
| 28 | |
| 29 | actions: |
| 30 | - deploy: |
| 31 | namespace: tlxc |
| 32 | timeout: |
| 33 | minutes: 5 |
| 34 | to: lxc |
| 35 | packages: |
| 36 | - wget |
| 37 | - zip |
| 38 | - unzip |
| 39 | os: ubuntu |
| 40 | |
| 41 | - boot: |
| 42 | namespace: tlxc |
| 43 | prompts: |
| 44 | - 'root@(.*):/#' |
| 45 | - 'hikey:/' |
| 46 | - 'console:/' |
| 47 | - ':/' |
| 48 | |
| 49 | timeout: |
| 50 | minutes: 5 |
| 51 | method: lxc |
| 52 | |
| 53 | - test: |
| 54 | namespace: tlxc |
| 55 | timeout: |
| 56 | minutes: 10 |
| 57 | definitions: |
| 58 | - from: inline |
| 59 | name: install-google-fastboot |
| 60 | path: inline/install-google-fastboot.yaml |
| 61 | repository: |
| 62 | metadata: |
| 63 | format: Lava-Test Test Definition 1.0 |
| 64 | name: install-fastboot |
| 65 | description: "Install fastboot provided by google" |
| 66 | run: |
| 67 | steps: |
| 68 | - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip |
| 69 | - unzip platform-tools_r26.0.0-linux.zip |
| 70 | - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot |
| 71 | - ln -s `pwd`/platform-tools/adb /usr/bin/adb |
| 72 | - fastboot --version |
| 73 | |
| 74 | - deploy: |
| 75 | timeout: |
| 76 | minutes: 30 |
| 77 | to: fastboot |
| 78 | namespace: droid |
| 79 | images: |
| 80 | ptable: |
| 81 | reboot: hard-reset |
| 82 | url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img |
| 83 | boot: |
| 84 | reboot: hard-reset |
| 85 | url: "%%DOWNLOAD_URL%%/boot.img.xz" |
| 86 | compression: xz |
| 87 | cache: |
| 88 | url: "%%ANDROID_CACHE%%" |
| 89 | compression: xz |
| 90 | userdata: |
| 91 | url: "%%ANDROID_DATA%%" |
| 92 | compression: xz |
| 93 | system: |
| 94 | url: "%%ANDROID_SYSTEM%%" |
| 95 | compression: xz |
| 96 | protocols: |
| 97 | lava-lxc: |
| 98 | - action: fastboot-deploy |
| 99 | request: pre-power-command |
| 100 | timeout: |
| 101 | minutes: 2 |
| 102 | |
| 103 | - boot: |
| 104 | namespace: droid |
| 105 | prompts: |
| 106 | - 'root@(.*):/#' |
| 107 | - 'hikey:/' |
| 108 | - 'console:/' |
| 109 | - ':/' |
| 110 | |
| 111 | timeout: |
| 112 | minutes: 15 |
| 113 | method: fastboot |
| 114 | |
| 115 | - test: |
| 116 | namespace: tlxc |
| 117 | timeout: |
| 118 | minutes: 120 |
| 119 | definitions: |
| 120 | - repository: https://git.linaro.org/qa/test-definitions.git |
| 121 | from: git |
| 122 | path: automated/android/monkey/monkey.yaml |
| 123 | params: |
| 124 | MONKEY_PARAMS: "-s 1520023612672 --pct-syskeys 0 -p com.android.settings --monitor-native-crashes" |
| 125 | EVENT_COUNT: 50000 |
| 126 | BLACKLIST: "" |
| 127 | name: monkey |