blob: ed330bb9e21827cccccbe51c34c639efaf7aa323 [file] [log] [blame]
Yongqin Liucd33c012017-09-29 15:20:20 +08001device_type: x15
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-vts-hal"
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 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: 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:
Yongqin Liuf7443172018-03-27 22:07:13 +0800106 TEST_URL: "http://testdata.linaro.org/vts/oreo-mr1-vts-release-02152018/android-vts.zip"
Yongqin Liu099c6552017-12-04 16:33:28 +0800107 TEST_PARAMS: "run vts-hal --skip-device-info"
Yongqin Liucd33c012017-09-29 15:20:20 +0800108 TEST_PATH: "android-vts"
109 RESULTS_FORMAT: "atomic"
110 name: vts-test