blob: 3efeb74aca5d357699da9fb1832621500bc13174 [file] [log] [blame]
Yongqin Liuac4d9c62017-08-22 23:50:56 +08001device_type: hi6220-hikey
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-cts-part2-v7a"
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:
54 url: http://builds.96boards.org/snapshots/reference-platform/components/uefi/latest/release/hikey/ptable-aosp-8g.img
55 boot:
56 url: "%%DOWNLOAD_URL%%/boot.img.xz"
57 compression: xz
58 cache:
59 url: "%%ANDROID_CACHE%%"
60 compression: xz
61 userdata:
62 url: "%%ANDROID_DATA%%"
63 compression: xz
64 system:
65 url: "%%ANDROID_SYSTEM%%"
66 compression: xz
Yongqin Liuac4d9c62017-08-22 23:50:56 +080067
68- boot:
69 namespace: droid
70 connection: serial
71 prompts:
72 - 'root@(.*):/#'
73 - 'hikey:/'
74 timeout:
75 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +080076 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +080077
78- test:
79 namespace: tlxc
80 connection: lxc
81 timeout:
82 minutes: 300
83 definitions:
84 - repository: https://git.linaro.org/qa/test-definitions.git
85 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +080086 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +080087 params:
88 TEST_PARAMS: "run cts-part2 --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liuac50bc82017-08-25 14:34:29 +080089 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.0_r1.zip"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080090 name: cts-part2-v7a