diff options
author | Stevan Radakovic <stevan.radakovic@linaro.org> | 2018-04-23 11:15:00 +0200 |
---|---|---|
committer | Stevan Radakovic <stevan.radakovic@linaro.org> | 2018-04-23 11:15:00 +0200 |
commit | 47446ff73c87c520437a124ce6013a08a6c39529 (patch) | |
tree | ce97e564734fd9042487ec1f6ddba37e905bb3df | |
parent | 14252de1b0c23c461a98bf046e0710217a4f86e3 (diff) |
Add lxc multinode test.
-rw-r--r-- | lxc-multinode.yaml | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/lxc-multinode.yaml b/lxc-multinode.yaml new file mode 100644 index 0000000..c122ac7 --- /dev/null +++ b/lxc-multinode.yaml @@ -0,0 +1,110 @@ +job_name: lxc-multinode +timeouts: + job: + minutes: 15 + action: + minutes: 5 +priority: medium +visibility: public + +metadata: + source: https://git.linaro.org/lava-team/refactoring.git + path: lxc-multinode.yaml + +protocols: + lava-multinode: + roles: + client: + count: 1 + device_type: lxc + server: + count: 1 + device_type: lxc + lava-lxc: + client: + name: lxc-client + template: debian + distribution: debian + release: sid + mirror: http://ftp.us.debian.org/debian/ + security_mirror: http://mirror.csclub.uwaterloo.ca/debian-security/ + server: + name: lxc-server + template: debian + distribution: debian + release: sid + mirror: http://ftp.us.debian.org/debian/ + security_mirror: http://mirror.csclub.uwaterloo.ca/debian-security/ + +actions: +- deploy: + role: + - client + timeout: + minutes: 30 + to: lxc + packages: + - systemd + - systemd-sysv + os: debian + +- deploy: + role: + - server + timeout: + minutes: 30 + to: lxc + packages: + - systemd + - systemd-sysv + os: debian + +- boot: + role: + - client + prompts: + - 'root@(.*):/#' + timeout: + minutes: 5 + method: lxc + +- boot: + role: + - server + prompts: + - 'root@(.*):/#' + timeout: + minutes: 5 + method: lxc + +- test: + role: + - client + - server + timeout: + minutes: 15 + definitions: + - repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: network + description: "installation" + os: + - debian + scope: + - functional + run: + steps: + - apt-get update -q + - DEBIAN_FRONTEND=noninteractive lava-test-case install-base --shell apt-get -q -y install -o Dpkg::Options::="--force-confold" lsb-release net-tools + from: inline + name: network + path: inline/network.yaml + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/multi-node/multinode01.yaml + name: multinode-basic + - repository: http://git.linaro.org/lava-team/lava-functional-tests.git + from: git + path: lava-test-shell/smoke-tests-basic.yaml + name: smoke-tests |