diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-11-27 12:32:07 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2013-11-27 13:18:07 +0530 |
commit | 5765e2f0c2c8f7aa0d1568b87a6ea258d606f5d8 (patch) | |
tree | 66065f88b39df7f5bc8da57707b3e14edfbec991 | |
parent | 39fa926c79b859a8b1678c6426f6aca7c58378ca (diff) |
NOHZ: Add test scripts
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r-- | nohz.json | 50 | ||||
-rw-r--r-- | nohz.yaml | 34 |
2 files changed, 84 insertions, 0 deletions
diff --git a/nohz.json b/nohz.json new file mode 100644 index 0000000..92bd3e5 --- /dev/null +++ b/nohz.json @@ -0,0 +1,50 @@ +{ + "device_type": "arndale", + "actions": [ + { + "command": "deploy_linaro_image", + "parameters": { + "hwpack": "http://snapshots.linaro.org/kernel-hwpack/linux-lng-le-arndale/143/hwpack_linaro-arndale_20131126-1222_b143_armhf_supported.tar.gz", + "rootfs": "http://snapshots.linaro.org/ubuntu/images/developer/565/linaro-raring-developer-20131127-565.tar.gz" + }, + "metadata": { + "distribution": "ubuntu", + "hwpack.type": "arndale", + "rootfs.type": "nano-lava" + } + }, + { + "command": "boot_linaro_image", + "parameters": { + "boot_cmds": [ + "setenv initrd_high '0xffffffff'", + "setenv fdt_high '0xffffffff'", + "setenv bootcmd 'fatload mmc 0:5 0x40007000 uImage; fatload mmc 0:5 0x42000000 uInitrd; fatload mmc 0:5 0x41f00000 board.dtb; bootm 0x40007000 0x42000000 0x41f00000'", + "setenv bootargs 'console=tty0 console=ttySAC2,115200n8 drm_kms_helper.edid_firmware=edid-1920x1080.fw root=LABEL=testrootfs rootwait ro nohz_full=1'", + "boot" + ] + } + }, + { + "command": "lava_test_shell", + "parameters": { + "testdef_repos": [ + { + "git-repo": "git://git.linaro.org/people/vireshk/lava.git", + "testdef": "nohz.yaml" + } + ], + "timeout": 18000 + } + }, + { + "command": "submit_results", + "parameters": { + "stream": "/anonymous/viresh.kumar/", + "server": "http://validation.linaro.org/lava-server/RPC2/" + } + } + ], + "timeout": 18000, + "job_name": "Arndale NOHZ" +} diff --git a/nohz.yaml b/nohz.yaml new file mode 100644 index 0000000..19feb2e --- /dev/null +++ b/nohz.yaml @@ -0,0 +1,34 @@ +metadata: + name: NO_HZ_FULL + format: "Lava-Test-Shell Test Definition 1.0" + description: "Test CPU Isolation with NOHZ and CPUSETS on ubuntu." + +run: + steps: + - 'cat /sys/devices/system/cpu/cpu0/cpufreq/*' +metadata: + name: NO_HZ_FULL + format: "Lava-Test-Shell Test Definition 1.0" + description: "Test CPU Isolation with NOHZ and CPUSETS on ubuntu." + maintainer: + - viresh.kumar@linaro.org + os: + - ubuntu + scope: + - functional + devices: + - arndale + +install: + git-repos: + - git://git.linaro.org/people/vireshk/lava.git + +run: + steps: + - "lava/is-cpu-isolated.sh 1 10" + +parse: + pattern: "(?P<result>(PASS|FAIL|SKIP)):\\s+(?P<test_case_id>(.*))" + fixupdict: + PASS: pass + FAIL: fail |