blob: 1f5cae97e09a4a608629a97ab597b987fcbe513c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
context:
test_character_delay: 10
device_type: dragonboard-410c
job_name: lkft-ltp-{{testname}}-${KERNEL_BRANCH}-${BUILD_NUMBER}
timeouts:
job:
minutes: 60
action:
minutes: 10
connection:
minutes: 2
priority: ${LAVA_JOB_PRIORITY}
visibility: public
metadata:
git branch: ${KERNEL_BRANCH}
git repo: ${KERNEL_REPO}
git commit: ${KERNEL_COMMIT}
git describe: ${KERNEL_DESCRIBE}
make_kernelversion: "${MAKE_KERNELVERSION}"
kernel-config: ${KERNEL_CONFIG_URL}
kernel-defconfig: ${KERNEL_DEFCONFIG_URL}
ltp-{{testname}}-tests__url: ${LTP_URL}
ltp-{{testname}}-tests__version: "${LTP_VERSION}"
ltp-{{testname}}-tests__revision: "${LTP_REVISION}"
build-url: ${BUILD_URL}
build-location: ${SNAPSHOTS_URL}/${BASE_URL}
series: lkft
protocols:
lava-lxc:
name: lxc-dragonboard-oe
template: debian
distribution: debian
release: jessie
arch: amd64
mirror: http://mirror.bytemark.co.uk/debian
actions:
- deploy:
namespace: tlxc
timeout:
minutes: 15
to: lxc
packages:
- wget
- unzip
os: debian
- boot:
namespace: tlxc
prompts:
- 'root@(.*):/#'
- 'root@linaro-developer:~#'
timeout:
minutes: 5
method: lxc
- test:
namespace: tlxc
timeout:
minutes: 10
definitions:
- from: inline
name: install-google-fastboot
path: inline/install-google-fastboot.yaml
repository:
metadata:
format: Lava-Test Test Definition 1.0
name: install-fastboot
description: "Install fastboot provided by google"
run:
steps:
- wget http://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
- unzip platform-tools_r26.0.0-linux.zip
- ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
- ln -s `pwd`/platform-tools/adb /usr/bin/adb
- fastboot --version
- deploy:
timeout:
minutes: 15
to: fastboot
namespace: dragonboard-oe
connection: lxc
images:
partition:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/gpt_both0.bin
hyp:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/hyp.mbn
cdt:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbc_1.0_8016.bin
rpm:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/rpm.mbn
sbl1:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/sbl1.mbn
tz:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/tz.mbn
aboot:
url: http://images-internal/dragonboard410c/linaro/rescue/17.09/linux/emmc_appsboot.mbn
boot:
url: ${BOOT_URL}
rootfs:
url: ${SYSTEM_URL}
compression: gz
apply-overlay: true
os: oe
protocols:
lava-lxc:
- action: fastboot-deploy
request: pre-power-command
timeout:
minutes: 2
- boot:
namespace: dragonboard-oe
auto_login:
login_prompt: 'login:'
username: linaro
login_commands:
# Become super user to run tests
- su
prompts:
- 'root@(.*):/#'
- 'root@dragonboard-410c:~#'
timeout:
minutes: 5
method: fastboot
- test:
namespace: dragonboard-oe
timeout:
minutes: 60
definitions:
- repository: git://git.linaro.org/qa/test-definitions.git
from: git
path: automated/linux/ltp/ltp.yaml
parameters:
SKIP_INSTALL: 'true'
TST_CMDFILES: '{{testname}}'
SKIPFILE: 'skipfile-lkft-dragonboard'
TIMEOUT_MULTIPLIER: 3
name: ltp-{{testname}}-tests
timeout:
minutes: 60
|