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
|
{
"actions": [
{
"command": "deploy_linaro_kernel",
"metadata": {
"image.type": "{image_type}",
"image.url": "{image_url}",
"kernel.tree": "{tree}",
"kernel.version": "{kernel_version}",
"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://storage.kernelci.org/images/rootfs/buildroot/armel/tests/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 MAX=15000",
"export AVG=50",
"export RTIME=1800",
"taskset 0x00000002 fping -g 127.0.0.1 127.0.0.10 -t 100 -q -l &> /dev/null &",
"taskset 0x00000002 ./openembedded/scripts/infinite_loop.py $(expr $RTIME - 60) &> /dev/null &",
"taskset 0x00000002 cyclictest -t 1 -p 80 -i 10000 -n -a1 -v -D $(expr $RTIME / 2) > ~/cyclictest_full.log &",
"taskset 0x00000002 cyclictest -t 50 -p 80 -i 10000 -n -a1 -q -D $RTIME > ~/cyclictest_summary.log",
"cat ~/cyclictest_summary.log | ./openembedded/scripts/cyclictest.py $MAX $AVG",
"lava-test-run-attach ~/cyclictest_summary.log text/plain",
"tar -cjf ~/cyclictest_full.log.tbz ~/cyclictest_full.log",
"lava-test-run-attach ~/cyclictest_full.log.tbz application/x-bzip2",
"killall calibrator infinite_loop.py fping"
],
"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
}
|