summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2013-08-09 15:04:29 +0100
committerNeil Williams <codehelp@debian.org>2013-08-09 15:04:29 +0100
commit633c810769088e668ca8a8c679ac008ea30e45af (patch)
treed7906d5c68b9a39b90b2d46d6b4273d4b7db8a73
parent782e61755f85b53dbc937fee1af356c79d7fc5e2 (diff)
add some KVM based tests
-rw-r--r--json/kvm-multi-node.json81
-rw-r--r--json/kvm-only-group.json56
-rw-r--r--json/kvm-single-node.json55
3 files changed, 192 insertions, 0 deletions
diff --git a/json/kvm-multi-node.json b/json/kvm-multi-node.json
new file mode 100644
index 0000000..8b06123
--- /dev/null
+++ b/json/kvm-multi-node.json
@@ -0,0 +1,81 @@
+{
+ "health_check": false,
+ "logging_level": "DEBUG",
+ "timeout": 900,
+ "job_name": "kvm-beagleblack-group-node",
+ "device_group": [
+ {
+ "role": "99",
+ "count": 1,
+ "device_type": "beaglebone-black",
+ "tags": [
+ "codehelp-bottle"
+ ]
+ },
+ {
+ "role": "42",
+ "count": 1,
+ "device_type": "kvm",
+ "tags": [
+ "codehelp-hhgg"
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "command": "deploy_linaro_image",
+ "parameters": {
+ "image": "http://images.validation.linaro.org/kvm-debian-wheezy.img.gz",
+ "role": "42"
+ }
+ },
+ {
+ "command": "deploy_linaro_image",
+ "parameters": {
+ "image": "http://linaro-gateway/beaglebone/beaglebone_20130625-379.img.gz",
+ "role": "99"
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/qa/test-definitions.git",
+ "testdef": "ubuntu/smoke-tests-basic.yaml"
+ },
+ {
+ "git-repo": "git://git.linaro.org/people/neilwilliams/multinode-yaml.git",
+ "testdef": "forwarder.yaml"
+ }
+ ],
+ "timeout": 900,
+ "role": "99"
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/qa/test-definitions.git",
+ "testdef": "ubuntu/smoke-tests-basic.yaml"
+ },
+ {
+ "git-repo": "git://git.linaro.org/people/neilwilliams/multinode-yaml.git",
+ "testdef": "receiver.yaml"
+ }
+ ],
+ "timeout": 900,
+ "role": "42"
+ }
+ },
+ {
+ "command": "submit_results_on_host",
+ "parameters": {
+ "stream": "/anonymous/instance-manager/",
+ "server": "http://instance-manager@multinode.validation.linaro.org/RPC2/"
+ }
+ }
+ ]
+}
diff --git a/json/kvm-only-group.json b/json/kvm-only-group.json
new file mode 100644
index 0000000..622563d
--- /dev/null
+++ b/json/kvm-only-group.json
@@ -0,0 +1,56 @@
+{
+ "timeout": 1800,
+ "job_name": "codehelp multinode API tests",
+ "logging_level": "INFO",
+ "device_group": [
+ {
+ "role": "felix",
+ "count": 1,
+ "device_type": "kvm",
+ "tags": [
+ "codehelp-cat"
+ ]
+ },
+ {
+ "role": "rex",
+ "count": 1,
+ "device_type": "kvm",
+ "tags": [
+ "codehelp-dog"
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "command": "deploy_linaro_image",
+ "parameters": {
+ "image": "file:///home/codehelp/images/kvm-debian-wheezy.img.gz"
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/people/neilwilliams/multinode-yaml.git",
+ "testdef": "group-tests-multinode.yaml"
+ }
+ ],
+ },
+ {
+ "parameters": {
+ "testdef_urls": [
+ "http://people.linaro.org/~neil.williams/codehelp1.yaml"
+ ], }
+ "timeout": 1800
+ }
+ },
+ {
+ "command": "submit_results_on_host",
+ "parameters": {
+ "stream": "/anonymous/instance-manager/",
+ "server": "http://localhost/RPC2/"
+ }
+ }
+ ]
+}
diff --git a/json/kvm-single-node.json b/json/kvm-single-node.json
new file mode 100644
index 0000000..a2145bb
--- /dev/null
+++ b/json/kvm-single-node.json
@@ -0,0 +1,55 @@
+{
+ "health_check": false,
+ "logging_level": "DEBUG",
+ "timeout": 900,
+ "job_name": "kvm-only-group-node",
+ "device_group": [
+ {
+ "role": "99",
+ "count": 1,
+ "device_type": "kvm",
+ "tags": [
+ "codehelp-bottle"
+ ]
+ },
+ {
+ "role": "42",
+ "count": 1,
+ "device_type": "kvm",
+ "tags": [
+ "codehelp-hhgg"
+ ]
+ }
+ ],
+ "actions": [
+ {
+ "command": "deploy_linaro_image",
+ "parameters": {
+ "image": "http://images.validation.linaro.org/kvm-debian-wheezy.img.gz"
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/qa/test-definitions.git",
+ "testdef": "ubuntu/smoke-tests-basic.yaml"
+ },
+ {
+ "git-repo": "git://git.linaro.org/people/neilwilliams/multinode-yaml.git",
+ "testdef": "singlenode03.yaml"
+ }
+ ],
+ "timeout": 900
+ }
+ },
+ {
+ "command": "submit_results_on_host",
+ "parameters": {
+ "stream": "/anonymous/instance-manager/",
+ "server": "http://instance-manager@multinode.validation.linaro.org/RPC2/"
+ }
+ }
+ ]
+}