blob: 8dc1509abe209bbe912806f414f19d52708a2849 [file] [log] [blame]
Yongqin Liucd33c012017-09-29 15:20:20 +08001device_type: x15
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
Yongqin Liu017708d2017-11-14 02:12:11 +080010priority: low
Yongqin Liub8750e62018-03-05 22:00:01 +080011visibility:
12 group:
13 - lkft
Yongqin Liucd33c012017-09-29 15:20:20 +080014
15metadata:
16 android.build: "%%ANDROID_META_BUILD%%"
17 android.name: "%%ANDROID_META_NAME%%"
18 android.url: "%%ANDROID_META_URL%%"
19 android.fastboot: "platform-tools_r26.0.0"
20
21protocols:
22 lava-lxc:
23 name: lxc-x15-test
24 template: ubuntu
25 distribution: ubuntu
26 release: xenial
27 arch: amd64
28
29actions:
30- deploy:
31 namespace: tlxc
32 timeout:
33 minutes: 5
34 to: lxc
35 packages:
36 - wget
37 - zip
38 - unzip
39 os: ubuntu
40
41- boot:
42 namespace: tlxc
43 prompts:
44 - 'root@(.*):/#'
Yongqin Liu9ba6e8c2017-11-01 01:52:03 +080045 - 'am57xevm:/'
Yongqin Liucd33c012017-09-29 15:20:20 +080046 timeout:
47 minutes: 5
48 method: lxc
49
50- test:
51 namespace: tlxc
52 timeout:
53 minutes: 10
54 definitions:
55 - from: inline
56 name: install-google-fastboot
57 path: inline/install-google-fastboot.yaml
58 repository:
59 metadata:
60 format: Lava-Test Test Definition 1.0
61 name: install-fastboot
62 description: "Install fastboot provided by google"
63 run:
64 steps:
65 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
66 - unzip platform-tools_r26.0.0-linux.zip
67 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
68 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
69 - fastboot --version
70
71- deploy:
72 timeout:
73 minutes: 30
74 to: fastboot
75 namespace: droid
Yongqin Liucd33c012017-09-29 15:20:20 +080076 images:
Yongqin Liucd33c012017-09-29 15:20:20 +080077 boot:
Yongqin Liu82b72e42018-05-02 23:34:28 +080078 url: "%%DOWNLOAD_URL%%/boot_fit.img"
Yongqin Liucd33c012017-09-29 15:20:20 +080079 cache:
80 url: "%%ANDROID_CACHE%%"
81 userdata:
82 url: "%%ANDROID_DATA%%"
83 system:
84 url: "%%ANDROID_SYSTEM%%"
85 vendor:
86 url: "%%DOWNLOAD_URL%%/vendor.img"
87
88- boot:
89 namespace: droid
Yongqin Liucd33c012017-09-29 15:20:20 +080090 prompts:
91 - 'root@(.*):/#'
Yongqin Liu9ba6e8c2017-11-01 01:52:03 +080092 - 'am57xevm:/'
Yongqin Liucd33c012017-09-29 15:20:20 +080093 timeout:
94 minutes: 15
95 method: fastboot
96
97- test:
98 namespace: tlxc
Yongqin Liucd33c012017-09-29 15:20:20 +080099 timeout:
100 minutes: 300
101 definitions:
102 - repository: https://git.linaro.org/qa/test-definitions.git
103 from: git
104 path: automated/android/tradefed/tradefed.yaml
105 params:
106 TEST_PARAMS: "run cts-opengl --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liub95d6b82018-05-17 15:02:54 +0800107 TEST_URL: "http://testdata.linaro.org/cts/18.05/android-cts-8.1_r5-linux_x86-arm-linaro.zip"
Yongqin Liu0ca39b82018-03-06 01:13:10 +0800108 FAILURES_PRINTED: "300"
Yongqin Liucd33c012017-09-29 15:20:20 +0800109 name: cts-opengl-v7a