blob: a8abcc80505adf0ce4e6f3f3f523619efcbe3d38 [file] [log] [blame]
Yongqin Liu08ee80d2018-03-06 15:12:22 +08001device_type: x15
Yongqin Liu4ef2bde2018-03-13 16:48:18 +08002job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-monkey"
Yongqin Liu08ee80d2018-03-06 15:12:22 +08003timeouts:
4 job:
5 minutes: 120
6 action:
7 minutes: 60
8 connection:
9 minutes: 2
10priority: low
Yongqin Liu318d7e02018-03-08 11:15:14 +080011visibility:
12 group:
13 - lkft
Yongqin Liu08ee80d2018-03-06 15:12:22 +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@(.*):/#'
45 - 'am57xevm:/'
46 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
76 images:
77 environment:
78 url: "%%DOWNLOAD_URL%%/am57xx-evm-reva3.dtb"
79 boot:
80 url: "%%ANDROID_BOOT%%"
81 cache:
82 url: "%%ANDROID_CACHE%%"
83 userdata:
84 url: "%%ANDROID_DATA%%"
85 system:
86 url: "%%ANDROID_SYSTEM%%"
87 vendor:
88 url: "%%DOWNLOAD_URL%%/vendor.img"
89
90- boot:
91 namespace: droid
92 prompts:
93 - 'root@(.*):/#'
94 - 'am57xevm:/'
95 timeout:
96 minutes: 15
97 method: fastboot
98
99- test:
100 namespace: tlxc
101 timeout:
102 minutes: 120
103 definitions:
104 - repository: https://git.linaro.org/qa/test-definitions.git
105 from: git
106 path: automated/android/monkey/monkey.yaml
107 params:
108 MONKEY_PARAMS: "-s 1520023612672 --pct-syskeys 0 -p com.android.settings --monitor-native-crashes"
109 EVENT_COUNT: 50000
110 BLACKLIST: ""
111 name: monkey