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
|
{
"actions": [
{
"command": "deploy_linaro_kernel",
"metadata": {
"image.type": "{image_type}",
"image.url": "{image_url}",
"kernel.tree": "{tree}",
"kernel.describe": "{kernel_describe}",
"kernel.branch": "{kernel_branch}",
"arch": "{arch}",
"device.tree": "{device_tree}",
"kernel.endian": "{endian}",
"kernel.defconfig": "{defconfig}",
"platform.fastboot": "{fastboot}",
"test.plan": "{test_plan}",
"test.suite": "{test_suite}",
"test.set": "{test_set}",
"test.desc": "{test_desc}",
"test.type": "{test_type}"
},
"parameters": {
"dtb": "{dtb_url}",
"kernel": "{kernel_url}",
"overlays": ["{modules_url}"],
"ramdisk": "http://people.linaro.org/~anders.roxell/buildroot-latest-2015.09.02/rootfs.cpio.gz"
}
},
{
"command": "boot_linaro_image",
"parameters": {
"test_image_prompt": "sh-4.3#"
}
},
{
"command": "lava_command_run",
"parameters": {
"commands": [
"export LAVA_TESTDIR=/usr/share/linaro-testsuites",
"cd ${LAVA_TESTDIR}",
"export TIMES=8",
"export INTERVAL=10000",
"export LATENCY=1000000",
"export DURATION=20",
"./common/scripts/cyclictest-basic.sh ${TIMES} ${INTERVAL} ${LATENCY} ${DURATION}"
],
"fixupdict": [
"PASS:pass",
"FAIL:fail",
"SKIP:skip"
],
"parser": "^test_case_id:(?P<test_case_id>.+)\\s+result:(?P<result>\\w+)\\s+measurement:(?P<measurement>.+)\\s+units:(?P<units>.+)",
"timeout": 1810
}
},
{
"command": "submit_results",
"parameters": {
"server": "LAVA_SERVER",
"stream": "BUNDLE_STREAM"
}
}
],
"device_type": "{device_type}",
"job_name": "{job_name}",
"logging_level": "DEBUG",
"priority": "{priority}",
"timeout": 1811
}
|