blob: 5a8e64d1326eaab190f7e0668dd8372fb70a5774 [file] [log] [blame]
Yongqin Liuac4d9c62017-08-22 23:50:56 +08001device_type: hi6220-hikey
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-part4-v8a"
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 Liuac4d9c62017-08-22 23:50:56 +080014
15metadata:
16 android.build: "%%ANDROID_META_BUILD%%"
17 android.name: "%%ANDROID_META_NAME%%"
18 android.url: "%%ANDROID_META_URL%%"
Yongqin Liu56bfb682017-09-13 14:04:12 +080019 android.fastboot: "platform-tools_r26.0.0"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080020
21protocols:
22 lava-lxc:
23 name: lxc-hikey-test
Yongqin Liu092fe362017-08-26 16:35:07 +080024 template: ubuntu
25 distribution: ubuntu
26 release: xenial
Yongqin Liuac4d9c62017-08-22 23:50:56 +080027 arch: amd64
28
29actions:
30- deploy:
31 namespace: tlxc
32 timeout:
33 minutes: 5
34 to: lxc
35 packages:
Yongqin Liu56bfb682017-09-13 14:04:12 +080036 - wget
37 - zip
38 - unzip
Yongqin Liu092fe362017-08-26 16:35:07 +080039 os: ubuntu
Yongqin Liuac4d9c62017-08-22 23:50:56 +080040
41- boot:
42 namespace: tlxc
43 prompts:
44 - 'root@(.*):/#'
45 - 'hikey:/'
Yongqin Liue4dbda72017-11-13 12:21:39 +080046 - 'console:/'
47 - ':/'
48
Yongqin Liuac4d9c62017-08-22 23:50:56 +080049 timeout:
50 minutes: 5
51 method: lxc
52
Yongqin Liu56bfb682017-09-13 14:04:12 +080053- test:
54 namespace: tlxc
55 timeout:
56 minutes: 10
57 definitions:
58 - from: inline
59 name: install-google-fastboot
60 path: inline/install-google-fastboot.yaml
61 repository:
62 metadata:
63 format: Lava-Test Test Definition 1.0
64 name: install-fastboot
65 description: "Install fastboot provided by google"
66 run:
67 steps:
68 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
69 - unzip platform-tools_r26.0.0-linux.zip
70 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
71 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
72 - fastboot --version
73
Yongqin Liuac4d9c62017-08-22 23:50:56 +080074- deploy:
75 timeout:
76 minutes: 30
77 to: fastboot
78 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +080079 images:
80 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080081 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080082 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080083 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080084 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080085 url: "%%DOWNLOAD_URL%%/boot.img.xz"
86 compression: xz
87 cache:
88 url: "%%ANDROID_CACHE%%"
89 compression: xz
90 userdata:
91 url: "%%ANDROID_DATA%%"
92 compression: xz
93 system:
94 url: "%%ANDROID_SYSTEM%%"
95 compression: xz
Yongqin Liuf3b62ef2017-09-05 00:11:13 +080096 protocols:
97 lava-lxc:
98 - action: fastboot-deploy
99 request: pre-power-command
100 timeout:
101 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800102
103- boot:
104 namespace: droid
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800105 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
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800117 timeout:
118 minutes: 300
119 definitions:
120 - repository: https://git.linaro.org/qa/test-definitions.git
121 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +0800122 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800123 params:
124 TEST_PARAMS: "run cts-part4 --abi arm64-v8a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liu8391bef2018-02-22 17:05:20 +0800125 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.1_r2.zip"
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800126 name: cts-part4-v8a