blob: a55147672606bd7e3b5e1624f2dd75342c79938d [file] [log] [blame]
Yongqin Liu2f74fe42017-09-18 13:46:51 +08001device_type: hi6220-hikey
Yongqin Liue07b7412017-09-14 10:20:01 +08002job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-media2-v7a"
3timeouts:
4 job:
5 minutes: 600
6 action:
7 minutes: 15
8 connection:
9 minutes: 2
Yongqin Liu017708d2017-11-14 02:12:11 +080010priority: low
Yongqin Liub8750e62018-03-05 22:00:01 +080011visibility:
12 group:
13 - lkft
Yongqin Liue07b7412017-09-14 10:20:01 +080014
Yongqin Liuddd7f9b2018-03-05 20:00:12 +080015secrets:
16 AP_SSID: "${AP_SSID}"
17 AP_KEY: "${AP_KEY}"
18
Yongqin Liue07b7412017-09-14 10:20:01 +080019metadata:
20 android.build: "%%ANDROID_META_BUILD%%"
21 android.name: "%%ANDROID_META_NAME%%"
22 android.url: "%%ANDROID_META_URL%%"
23 android.fastboot: "platform-tools_r26.0.0"
24
25protocols:
26 lava-lxc:
27 name: lxc-hikey-test
28 template: ubuntu
29 distribution: ubuntu
30 release: xenial
31 arch: amd64
32
33actions:
34- deploy:
35 namespace: tlxc
36 timeout:
37 minutes: 5
38 to: lxc
39 packages:
40 - wget
41 - zip
42 - unzip
43 os: ubuntu
44
45- boot:
46 namespace: tlxc
47 prompts:
48 - 'root@(.*):/#'
49 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +080050 - 'console:/'
51 - ':/'
52
Yongqin Liue07b7412017-09-14 10:20:01 +080053 timeout:
54 minutes: 5
55 method: lxc
56
57- test:
58 namespace: tlxc
59 timeout:
60 minutes: 10
61 definitions:
62 - from: inline
63 name: install-google-fastboot
64 path: inline/install-google-fastboot.yaml
65 repository:
66 metadata:
67 format: Lava-Test Test Definition 1.0
68 name: install-fastboot
69 description: "Install fastboot provided by google"
70 run:
71 steps:
72 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
73 - unzip platform-tools_r26.0.0-linux.zip
74 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
75 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
76 - fastboot --version
77
78- deploy:
79 timeout:
80 minutes: 30
81 to: fastboot
82 namespace: droid
Yongqin Liue07b7412017-09-14 10:20:01 +080083 images:
84 ptable:
85 reboot: hard-reset
86 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
87 boot:
88 reboot: hard-reset
89 url: "%%DOWNLOAD_URL%%/boot.img.xz"
90 compression: xz
91 cache:
92 url: "%%ANDROID_CACHE%%"
93 compression: xz
94 userdata:
95 url: "%%ANDROID_DATA%%"
96 compression: xz
97 system:
98 url: "%%ANDROID_SYSTEM%%"
99 compression: xz
100 protocols:
101 lava-lxc:
102 - action: fastboot-deploy
103 request: pre-power-command
104 timeout:
105 minutes: 2
106
107- boot:
108 namespace: droid
Yongqin Liue07b7412017-09-14 10:20:01 +0800109 prompts:
110 - 'root@(.*):/#'
111 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +0800112 - 'console:/'
113 - ':/'
114
Yongqin Liue07b7412017-09-14 10:20:01 +0800115 timeout:
116 minutes: 15
117 method: fastboot
118
119- test:
120 namespace: tlxc
Yongqin Liue07b7412017-09-14 10:20:01 +0800121 timeout:
122 minutes: 600
123 definitions:
124 - repository: https://git.linaro.org/qa/test-definitions.git
125 from: git
126 path: automated/android/tradefed/tradefed.yaml
127 params:
128 TEST_PARAMS: "run cts-media2 --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liu8391bef2018-02-22 17:05:20 +0800129 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.1_r2.zip"
Yongqin Liu0ca39b82018-03-06 01:13:10 +0800130 FAILURES_PRINTED: "300"
Yongqin Liu4936f2a2017-09-27 17:51:15 +0800131 name: cts-media2-v7a