blob: 76c5069b580265534c6e7d727405d0d40937ce42 [file] [log] [blame]
Yongqin Liuac4d9c62017-08-22 23:50:56 +08001device_type: hi6220-hikey
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
10priority: medium
11visibility: public
12
13metadata:
14 android.build: "%%ANDROID_META_BUILD%%"
15 android.name: "%%ANDROID_META_NAME%%"
16 android.url: "%%ANDROID_META_URL%%"
Yongqin Liu56bfb682017-09-13 14:04:12 +080017 android.fastboot: "platform-tools_r26.0.0"
Yongqin Liuac4d9c62017-08-22 23:50:56 +080018
19protocols:
20 lava-lxc:
21 name: lxc-hikey-test
Yongqin Liu092fe362017-08-26 16:35:07 +080022 template: ubuntu
23 distribution: ubuntu
24 release: xenial
Yongqin Liuac4d9c62017-08-22 23:50:56 +080025 arch: amd64
26
27actions:
28- deploy:
29 namespace: tlxc
30 timeout:
31 minutes: 5
32 to: lxc
33 packages:
Yongqin Liu56bfb682017-09-13 14:04:12 +080034 - wget
35 - zip
36 - unzip
Yongqin Liu092fe362017-08-26 16:35:07 +080037 os: ubuntu
Yongqin Liuac4d9c62017-08-22 23:50:56 +080038
39- boot:
40 namespace: tlxc
41 prompts:
42 - 'root@(.*):/#'
43 - 'hikey:/'
44 timeout:
45 minutes: 5
46 method: lxc
47
Yongqin Liu56bfb682017-09-13 14:04:12 +080048- test:
49 namespace: tlxc
50 timeout:
51 minutes: 10
52 definitions:
53 - from: inline
54 name: install-google-fastboot
55 path: inline/install-google-fastboot.yaml
56 repository:
57 metadata:
58 format: Lava-Test Test Definition 1.0
59 name: install-fastboot
60 description: "Install fastboot provided by google"
61 run:
62 steps:
63 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
64 - unzip platform-tools_r26.0.0-linux.zip
65 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
66 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
67 - fastboot --version
68
Yongqin Liuac4d9c62017-08-22 23:50:56 +080069- deploy:
70 timeout:
71 minutes: 30
72 to: fastboot
73 namespace: droid
74 connection: lxc
75 images:
76 ptable:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080077 reboot: hard-reset
Yongqin Liu9dbcef82017-08-29 22:07:58 +080078 url: http://releases.linaro.org/reference-platform/enterprise/16.12/uefi/release/hikey/ptable-aosp-8g.img
Yongqin Liuac4d9c62017-08-22 23:50:56 +080079 boot:
Yongqin Liu9ec224b2017-08-29 18:06:46 +080080 reboot: hard-reset
Yongqin Liuac4d9c62017-08-22 23:50:56 +080081 url: "%%DOWNLOAD_URL%%/boot.img.xz"
82 compression: xz
83 cache:
84 url: "%%ANDROID_CACHE%%"
85 compression: xz
86 userdata:
87 url: "%%ANDROID_DATA%%"
88 compression: xz
89 system:
90 url: "%%ANDROID_SYSTEM%%"
91 compression: xz
Yongqin Liuf3b62ef2017-09-05 00:11:13 +080092 protocols:
93 lava-lxc:
94 - action: fastboot-deploy
95 request: pre-power-command
96 timeout:
97 minutes: 2
Yongqin Liuac4d9c62017-08-22 23:50:56 +080098
99- boot:
100 namespace: droid
101 connection: serial
102 prompts:
103 - 'root@(.*):/#'
104 - 'hikey:/'
105 timeout:
106 minutes: 15
Yongqin Liu092fe362017-08-26 16:35:07 +0800107 method: fastboot
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800108
109- test:
110 namespace: tlxc
111 connection: lxc
112 timeout:
113 minutes: 300
114 definitions:
115 - repository: https://git.linaro.org/qa/test-definitions.git
116 from: git
Yongqin Liuac50bc82017-08-25 14:34:29 +0800117 path: automated/android/tradefed/tradefed.yaml
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800118 params:
119 TEST_PARAMS: "run cts-opengl --abi armeabi-v7a --disable-reboot --skip-preconditions --skip-device-info"
Yongqin Liuac50bc82017-08-25 14:34:29 +0800120 TEST_URL: "http://testdata.validation.linaro.org/cts/android-cts-8.0_r1.zip"
Yongqin Liuac4d9c62017-08-22 23:50:56 +0800121 name: cts-opengl-v7a