blob: 57fea159ac24a1703927b936701058223c2399ae [file] [log] [blame]
Yongqin Liuac4d9c62017-08-22 23:50:56 +08001device_type: hi6220-hikey
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-part2-v7a"
3timeouts:
Yongqin Liub2ca4672017-09-04 23:53:56 +08004 # job here took about 8 hours, 1 minute
5 # https://staging.validation.linaro.org/results/187010/0_cts-part2-v7a
Yongqin Liuac4d9c62017-08-22 23:50:56 +08006 job:
Yongqin Liub2ca4672017-09-04 23:53:56 +08007 minutes: 540
Yongqin Liuac4d9c62017-08-22 23:50:56 +08008 action:
9 minutes: 15
10 connection:
11 minutes: 2
Yongqin Liu017708d2017-11-14 02:12:11 +080012priority: low
Yongqin Liub8750e62018-03-05 22:00:01 +080013visibility:
14 group:
15 - lkft
Yongqin Liuac4d9c62017-08-22 23:50:56 +080016
Yongqin Liuddd7f9b2018-03-05 20:00:12 +080017secrets:
Yongqin Liu76655312018-03-08 22:03:12 +080018 AP_SSID: "%%AP_SSID%%"
19 AP_KEY: "%%AP_KEY%%"
Yongqin Liuddd7f9b2018-03-05 20:00:12 +080020
Yongqin Liuac4d9c62017-08-22 23:50:56 +080021metadata:
22 android.build: "%%ANDROID_META_BUILD%%"
23 android.name: "%%ANDROID_META_NAME%%"
24 android.url: "%%ANDROID_META_URL%%"
Yongqin Liu56bfb682017-09-13 14:04:12 +080025 android.fastboot: "platform-tools_r26.0.0"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080026
27protocols:
28 lava-lxc:
29 name: lxc-hikey-test
Yongqin Liu092fe362017-08-26 16:35:07 +080030 template: ubuntu
31 distribution: ubuntu
32 release: xenial
Yongqin Liuac4d9c62017-08-22 23:50:56 +080033 arch: amd64
34
35actions:
36- deploy:
37 namespace: tlxc
38 timeout:
39 minutes: 5
40 to: lxc
41 packages:
Yongqin Liu56bfb682017-09-13 14:04:12 +080042 - wget
43 - zip
44 - unzip
Yongqin Liu092fe362017-08-26 16:35:07 +080045 os: ubuntu
Yongqin Liuac4d9c62017-08-22 23:50:56 +080046
47- boot:
48 namespace: tlxc
49 prompts:
50 - 'root@(.*):/#'
51 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +080052 - 'console:/'
53 - ':/'
54
Yongqin Liuac4d9c62017-08-22 23:50:56 +080055 timeout:
56 minutes: 5
57 method: lxc
58
Yongqin Liu56bfb682017-09-13 14:04:12 +080059- test:
60 namespace: tlxc
61 timeout:
62 minutes: 10
63 definitions:
64 - from: inline
65 name: install-google-fastboot
66 path: inline/install-google-fastboot.yaml
67 repository:
68 metadata:
69 format: Lava-Test Test Definition 1.0
70 name: install-fastboot
71 description: "Install fastboot provided by google"
72 run:
73 steps:
74 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
75 - unzip platform-tools_r26.0.0-linux.zip
76 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
77 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
78 - fastboot --version
79
Yongqin Liuac4d9c62017-08-22 23:50:56 +080080- deploy:
81 timeout:
82 minutes: 30
83 to: fastboot
84 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +080085 images:
86 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080087 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080088 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080089 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080090 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080091 url: "%%DOWNLOAD_URL%%/boot.img.xz"
92 compression: xz
93 cache:
94 url: "%%ANDROID_CACHE%%"
95 compression: xz
96 userdata:
97 url: "%%ANDROID_DATA%%"
98 compression: xz
99 system:
100 url: "%%ANDROID_SYSTEM%%"
101 compression: xz
Yongqin Liuf3b62ef2017-09-05 00:11:13 +0800102 protocols:
103 lava-lxc:
104 - action: fastboot-deploy
105 request: pre-power-command
106 timeout:
107 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800108
109- boot:
110 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800111 prompts:
112 - 'root@(.*):/#'
113 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +0800114 - 'console:/'
115 - ':/'
116
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800117 timeout:
118 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +0800119 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800120
121- test:
122 namespace: tlxc
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800123 timeout:
Yongqin Liub2ca4672017-09-04 23:53:56 +0800124 minutes: 540
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800125 definitions:
126 - repository: https://git.linaro.org/qa/test-definitions.git
127 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +0800128 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800129 params:
130 TEST_PARAMS: "run cts-part2 --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liu7ea41632018-03-15 10:17:52 +0800131 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.1_r3.zip"
Yongqin Liu0ca39b82018-03-06 01:13:10 +0800132 FAILURES_PRINTED: "300"
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800133 name: cts-part2-v7a