summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2017-07-11 08:48:18 +0100
committerNeil Williams <neil.williams@linaro.org>2017-07-11 08:48:18 +0100
commit939d59b9afaa2ffb109aa246a964281bdedb65aa (patch)
treec519bc53505fb58eb008b3f9455d2944f46b59da
parent9e149a0b9b31071250fb2cc690b9a072dbafa500 (diff)
Add the smoke-tests-basic test definition
Change-Id: Ic9bb0681dd34f26530a831a5e9fb6d76dbc1ae0e
-rw-r--r--lava-test-shell/single-node/armmp-bbb-daily.json40
-rw-r--r--lava-test-shell/smoke-tests-basic.yaml27
-rw-r--r--lava-test-shell/vmgroups/host.yaml37
3 files changed, 27 insertions, 77 deletions
diff --git a/lava-test-shell/single-node/armmp-bbb-daily.json b/lava-test-shell/single-node/armmp-bbb-daily.json
deleted file mode 100644
index f5c01d2..0000000
--- a/lava-test-shell/single-node/armmp-bbb-daily.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "device_type": "beaglebone-black",
- "logging_level": "DEBUG",
- "actions": [
- {
- "command": "deploy_linaro_kernel",
- "parameters": {
- "dtb": "http://d-i.debian.org/daily-images/armhf/daily/device-tree/am335x-boneblack.dtb",
- "kernel": "http://d-i.debian.org/daily-images/armhf/daily/netboot/vmlinuz",
- "ramdisk": "http://d-i.debian.org/daily-images/armhf/daily/netboot/initrd.gz"
- }
- },
- {
- "command": "boot_linaro_image"
- },
- {
- "command": "lava_test_shell",
- "parameters": {
- "testdef_repos": [
- {
- "git-repo": "git://git.linaro.org/qa/test-definitions.git",
- "testdef": "openembedded/kernel-version.yaml"
- }
- ],
- "timeout": 9600
- }
- },
- {
- "command": "submit_results",
- "parameters": {
- "stream": "/anonymous/codehelp/",
- "server": "http://staging.validation.linaro.org/RPC2/"
- }
- }
- ],
- "timeout": 18000,
- "job_name": "armmp-daily-lava-test-shell"
-}
-
-
diff --git a/lava-test-shell/smoke-tests-basic.yaml b/lava-test-shell/smoke-tests-basic.yaml
new file mode 100644
index 0000000..6a33377
--- /dev/null
+++ b/lava-test-shell/smoke-tests-basic.yaml
@@ -0,0 +1,27 @@
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: smoke-tests-basic
+ description: "Basic system test command for Linaro Ubuntu images. The test runs basic commands
+ like pwd, uname, vmstat, ifconfig, lscpu, lsusb and lsb_release."
+ maintainer:
+ - milosz.wasilewski@linaro.org
+ os:
+ - ubuntu
+ scope:
+ - functional
+ devices:
+ - panda
+ - panda-es
+ - arndale
+ - vexpress-a9
+ - vexpress-tc2
+ - juno
+
+run:
+ steps:
+ - lava-test-case linux-linaro-ubuntu-pwd --shell pwd
+ - lava-test-case linux-linaro-ubuntu-uname --shell uname -a
+ - lava-test-case linux-linaro-ubuntu-vmstat --shell vmstat
+ - lava-test-case linux-linaro-ubuntu-ifconfig --shell ifconfig -a
+ - lava-test-case linux-linaro-ubuntu-lscpu --shell lscpu
+ - lava-test-case linux-linaro-ubuntu-lsb_release --shell lsb_release -a
diff --git a/lava-test-shell/vmgroups/host.yaml b/lava-test-shell/vmgroups/host.yaml
deleted file mode 100644
index 9107161..0000000
--- a/lava-test-shell/vmgroups/host.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-metadata:
- format: Lava-Test Test Definition 1.0
- name: singlenode-advanced
- description: "Advanced (level 3): single node test commands for VM group host"
- version: 1.0
- maintainer:
- - neil.williams@linaro.org
- os:
- - ubuntu
- scope:
- - functional
- devices:
- - kvm
- - arndale
-
-install:
- deps:
- - realpath
- - ntpdate
- - lsb-release
- - usbutils
-
-run:
- steps:
- - lava-test-case linux-linaro-ubuntu-netstat --shell netstat -an
- - lava-test-case linux-linaro-ubuntu-ifconfig-dump --shell ifconfig -a
- - lava-test-case linux-linaro-ubuntu-route-dump-a --shell route
- - lava-test-case linux-linaro-ubuntu-route-ifconfig-up-lo --shell ifconfig lo up
- - lava-test-case linux-linaro-ubuntu-route-dump-b --shell route
- - lava-test-case linux-linaro-ubuntu-route-ifconfig-up --shell ifconfig eth0 up
- - lava-test-case ping-test --shell ping -W1 -c1 validation.linaro.org
- - lava-test-case realpath-check --shell realpath ./multi-node/check_ip.sh
- - lava-test-case ntpdate-check --shell ntpdate-debian
- - lava-test-case hyp-mode --shell ./vmgroups/init.sh
-
-parse:
- pattern: "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"