blob: 098f7b551276024e9dfdf5f1cd11a8524d784b3d [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 Liub8750e62018-03-05 22:00:01 +080011visibility:
12 group:
13 - lkft
Yongqin Liuac4d9c62017-08-22 23:50:56 +080014
Yongqin Liuddd7f9b2018-03-05 20:00:12 +080015secrets:
Yongqin Liu76655312018-03-08 22:03:12 +080016 AP_SSID: "%%AP_SSID%%"
17 AP_KEY: "%%AP_KEY%%"
Yongqin Liuddd7f9b2018-03-05 20:00:12 +080018
Yongqin Liuac4d9c62017-08-22 23:50:56 +080019metadata:
20 android.build: "%%ANDROID_META_BUILD%%"
21 android.name: "%%ANDROID_META_NAME%%"
22 android.url: "%%ANDROID_META_URL%%"
Yongqin Liu56bfb682017-09-13 14:04:12 +080023 android.fastboot: "platform-tools_r26.0.0"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080024
25protocols:
26 lava-lxc:
27 name: lxc-hikey-test
Yongqin Liu092fe362017-08-26 16:35:07 +080028 template: ubuntu
29 distribution: ubuntu
30 release: xenial
Yongqin Liuac4d9c62017-08-22 23:50:56 +080031 arch: amd64
32
33actions:
34- deploy:
35 namespace: tlxc
36 timeout:
37 minutes: 5
38 to: lxc
39 packages:
Yongqin Liu56bfb682017-09-13 14:04:12 +080040 - wget
41 - zip
42 - unzip
Yongqin Liu092fe362017-08-26 16:35:07 +080043 os: ubuntu
Yongqin Liuac4d9c62017-08-22 23:50:56 +080044
45- boot:
46 namespace: tlxc
47 prompts:
48 - 'root@(.*):/#'
49 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +080050 - 'console:/'
51 - ':/'
52
Yongqin Liuac4d9c62017-08-22 23:50:56 +080053 timeout:
54 minutes: 5
55 method: lxc
56
Yongqin Liu56bfb682017-09-13 14:04:12 +080057- 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
Yongqin Liuac4d9c62017-08-22 23:50:56 +080078- deploy:
79 timeout:
80 minutes: 30
81 to: fastboot
82 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +080083 images:
84 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080085 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080086 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080087 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080088 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080089 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
Yongqin Liuf3b62ef2017-09-05 00:11:13 +0800100 protocols:
101 lava-lxc:
102 - action: fastboot-deploy
103 request: pre-power-command
104 timeout:
105 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800106
107- boot:
108 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800109 prompts:
110 - 'root@(.*):/#'
111 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +0800112 - 'console:/'
113 - ':/'
114
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800115 timeout:
116 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +0800117 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800118
119- test:
120 namespace: tlxc
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800121 timeout:
122 minutes: 300
123 definitions:
124 - repository: https://git.linaro.org/qa/test-definitions.git
125 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +0800126 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800127 params:
128 TEST_PARAMS: "run cts-opengl --abi arm64-v8a --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 Liuac4d9c62017-08-22 23:50:56 +0800131 name: cts-opengl-v8a