blob: 79027da0f37cded2bdf87b96767c9372a31d9469 [file] [log] [blame]
Yongqin Liuac4d9c62017-08-22 23:50:56 +08001device_type: hi6220-hikey
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-opengl-v8a"
3timeouts:
4 job:
5 minutes: 360
6 action:
7 minutes: 15
8 connection:
9 minutes: 2
Yongqin Liu017708d2017-11-14 02:12:11 +080010priority: low
Yongqin Liuac4d9c62017-08-22 23:50:56 +080011visibility: public
12
13metadata:
14 android.build: "%%ANDROID_META_BUILD%%"
15 android.name: "%%ANDROID_META_NAME%%"
16 android.url: "%%ANDROID_META_URL%%"
Yongqin Liu56bfb682017-09-13 14:04:12 +080017 android.fastboot: "platform-tools_r26.0.0"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080018
19protocols:
20 lava-lxc:
21 name: lxc-hikey-test
Yongqin Liu092fe362017-08-26 16:35:07 +080022 template: ubuntu
23 distribution: ubuntu
24 release: xenial
Yongqin Liuac4d9c62017-08-22 23:50:56 +080025 arch: amd64
26
27actions:
28- deploy:
29 namespace: tlxc
30 timeout:
31 minutes: 5
32 to: lxc
33 packages:
Yongqin Liu56bfb682017-09-13 14:04:12 +080034 - wget
35 - zip
36 - unzip
Yongqin Liu092fe362017-08-26 16:35:07 +080037 os: ubuntu
Yongqin Liuac4d9c62017-08-22 23:50:56 +080038
39- boot:
40 namespace: tlxc
41 prompts:
42 - 'root@(.*):/#'
43 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +080044 - 'console:/'
45 - ':/'
46
Yongqin Liuac4d9c62017-08-22 23:50:56 +080047 timeout:
48 minutes: 5
49 method: lxc
50
Yongqin Liu56bfb682017-09-13 14:04:12 +080051- test:
52 namespace: tlxc
53 timeout:
54 minutes: 10
55 definitions:
56 - from: inline
57 name: install-google-fastboot
58 path: inline/install-google-fastboot.yaml
59 repository:
60 metadata:
61 format: Lava-Test Test Definition 1.0
62 name: install-fastboot
63 description: "Install fastboot provided by google"
64 run:
65 steps:
66 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
67 - unzip platform-tools_r26.0.0-linux.zip
68 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
69 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
70 - fastboot --version
71
Yongqin Liuac4d9c62017-08-22 23:50:56 +080072- deploy:
73 timeout:
74 minutes: 30
75 to: fastboot
76 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +080077 images:
78 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080079 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080080 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080081 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080082 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080083 url: "%%DOWNLOAD_URL%%/boot.img.xz"
84 compression: xz
85 cache:
86 url: "%%ANDROID_CACHE%%"
87 compression: xz
88 userdata:
89 url: "%%ANDROID_DATA%%"
90 compression: xz
91 system:
92 url: "%%ANDROID_SYSTEM%%"
93 compression: xz
Yongqin Liuf3b62ef2017-09-05 00:11:13 +080094 protocols:
95 lava-lxc:
96 - action: fastboot-deploy
97 request: pre-power-command
98 timeout:
99 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800100
101- boot:
102 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800103 prompts:
104 - 'root@(.*):/#'
105 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +0800106 - 'console:/'
107 - ':/'
108
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800109 timeout:
110 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +0800111 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800112
113- test:
114 namespace: tlxc
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800115 timeout:
116 minutes: 300
117 definitions:
118 - repository: https://git.linaro.org/qa/test-definitions.git
119 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +0800120 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800121 params:
122 TEST_PARAMS: "run cts-opengl --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liu8391bef2018-02-22 17:05:20 +0800123 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.1_r2.zip"
Yongqin Liu0ca39b82018-03-06 01:13:10 +0800124 FAILURES_PRINTED: "300"
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800125 name: cts-opengl-v8a