blob: a0d7310054893d016b5b6e106b48054bd3bd0abc [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
10priority: medium
11visibility: 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
77 connection: lxc
78 images:
79 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080080 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080081 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080082 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080083 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080084 url: "%%DOWNLOAD_URL%%/boot.img.xz"
85 compression: xz
86 cache:
87 url: "%%ANDROID_CACHE%%"
88 compression: xz
89 userdata:
90 url: "%%ANDROID_DATA%%"
91 compression: xz
92 system:
93 url: "%%ANDROID_SYSTEM%%"
94 compression: xz
Yongqin Liuf3b62ef2017-09-05 00:11:13 +080095 protocols:
96 lava-lxc:
97 - action: fastboot-deploy
98 request: pre-power-command
99 timeout:
100 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800101
102- boot:
103 namespace: droid
104 connection: serial
105 prompts:
106 - 'root@(.*):/#'
107 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +0800108 - 'console:/'
109 - ':/'
110
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800111 timeout:
112 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +0800113 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800114
115- test:
116 namespace: tlxc
117 connection: lxc
118 timeout:
119 minutes: 300
120 definitions:
121 - repository: https://git.linaro.org/qa/test-definitions.git
122 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +0800123 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800124 params:
125 TEST_PARAMS: "run cts-opengl --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liuf9b01c82017-11-01 20:29:25 +0000126 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.0_r3.zip"
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800127 name: cts-opengl-v8a