blob: 46a01e27b00708242cac999fe96e7c1922624564 [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%%"
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 Liuac4d9c62017-08-22 23:50:56 +080069
70- boot:
71 namespace: droid
72 connection: serial
73 prompts:
74 - 'root@(.*):/#'
75 - 'hikey:/'
76 timeout:
77 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +080078 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +080079
80- test:
81 namespace: tlxc
82 connection: lxc
83 timeout:
84 minutes: 300
85 definitions:
86 - repository: https://git.linaro.org/qa/test-definitions.git
87 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +080088 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +080089 params:
90 TEST_PARAMS: "run cts-opengl --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liuac50bc82017-08-25 14:34:29 +080091 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.0_r1.zip"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080092 name: cts-opengl-v8a