blob: 1924e2a54cdc181568933019a1f69baf7c83d881 [file] [log] [blame]
Yongqin Liucd33c012017-09-29 15:20:20 +08001device_type: x15
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-basic"
3timeouts:
4 job:
5 minutes: 90
6 action:
7 minutes: 15
8 connection:
9 minutes: 2
10priority: high
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 Liua9bd4b02018-05-30 22:04:07 +080045 - ':/'
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 Liua9bd4b02018-05-30 22:04:07 +080092 - ':/'
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: 60
101 definitions:
102 - repository: https://git.linaro.org/qa/test-definitions.git
103 from: git
104 path: automated/android/meminfo/meminfo.yaml
105 name: meminfo-first
106 - repository: https://git.linaro.org/qa/test-definitions.git
107 from: git
108 path: automated/android/busybox/busybox.yaml
109 name: busybox
110 - repository: https://git.linaro.org/qa/test-definitions.git
111 from: git
112 path: automated/android/ping/ping.yaml
113 name: ping
114 - repository: https://git.linaro.org/qa/test-definitions.git
115 from: git
116 path: automated/android/linaro-android-kernel-tests/linaro-android-kernel-tests.yaml
117 name: linaro-android-kernel-tests
118 - repository: https://git.linaro.org/qa/test-definitions.git
119 from: git
120 path: automated/android/tjbench/tjbench.yaml
121 name: tjbench
122
123- boot:
124 namespace: droid
Yongqin Liucd33c012017-09-29 15:20:20 +0800125 prompts:
126 - 'root@(.*):/#'
Yongqin Liua9bd4b02018-05-30 22:04:07 +0800127 - ':/'
Yongqin Liucd33c012017-09-29 15:20:20 +0800128 timeout:
129 minutes: 15
130 method: fastboot
131
132- test:
133 namespace: tlxc
Yongqin Liucd33c012017-09-29 15:20:20 +0800134 timeout:
135 minutes: 15
136 definitions:
137 - repository: https://git.linaro.org/qa/test-definitions.git
138 from: git
139 path: automated/android/meminfo/meminfo.yaml
140 name: meminfo-second