blob: b5dbc78845053a61c22d37b5dd182d5da2deaf90 [file] [log] [blame]
Yongqin Liuac4d9c62017-08-22 23:50:56 +08001device_type: hi6220-hikey
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-opengl-v7a"
3timeouts:
4 job:
5 minutes: 360
6 action:
7 minutes: 15
8 connection:
9 minutes: 2
10priority: medium
11visibility: public
12
13metadata:
14 android.build: "%%ANDROID_META_BUILD%%"
15 android.name: "%%ANDROID_META_NAME%%"
16 android.url: "%%ANDROID_META_URL%%"
17
18protocols:
19 lava-lxc:
20 name: lxc-hikey-test
Yongqin Liu092fe362017-08-26 16:35:07 +080021 template: ubuntu
22 distribution: ubuntu
23 release: xenial
Yongqin Liuac4d9c62017-08-22 23:50:56 +080024 arch: amd64
25
26actions:
27- deploy:
28 namespace: tlxc
29 timeout:
30 minutes: 5
31 to: lxc
32 packages:
Yongqin Liu092fe362017-08-26 16:35:07 +080033 - android-tools-adb
34 - android-tools-fastboot
35 os: ubuntu
Yongqin Liuac4d9c62017-08-22 23:50:56 +080036
37- boot:
38 namespace: tlxc
39 prompts:
40 - 'root@(.*):/#'
41 - 'hikey:/'
42 timeout:
43 minutes: 5
44 method: lxc
45
46- deploy:
47 timeout:
48 minutes: 30
49 to: fastboot
50 namespace: droid
51 connection: lxc
52 images:
53 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080054 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080055 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080056 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080057 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080058 url: "%%DOWNLOAD_URL%%/boot.img.xz"
59 compression: xz
60 cache:
61 url: "%%ANDROID_CACHE%%"
62 compression: xz
63 userdata:
64 url: "%%ANDROID_DATA%%"
65 compression: xz
66 system:
67 url: "%%ANDROID_SYSTEM%%"
68 compression: xz
Yongqin Liuf3b62ef2017-09-05 00:11:13 +080069 protocols:
70 lava-lxc:
71 - action: fastboot-deploy
72 request: pre-power-command
73 timeout:
74 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +080075
76- boot:
77 namespace: droid
78 connection: serial
79 prompts:
80 - 'root@(.*):/#'
81 - 'hikey:/'
82 timeout:
83 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +080084 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +080085
86- test:
87 namespace: tlxc
88 connection: lxc
89 timeout:
90 minutes: 300
91 definitions:
92 - repository: https://git.linaro.org/qa/test-definitions.git
93 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +080094 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +080095 params:
96 TEST_PARAMS: "run cts-opengl --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liuac50bc82017-08-25 14:34:29 +080097 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.0_r1.zip"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080098 name: cts-opengl-v7a