summaryrefslogtreecommitdiff
path: root/kvm-multinode.yaml
blob: a00de1821c84cbd92fb8d57d1f7719cd2936b12d (plain)
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
metadata:
    format: Lava-Test Test Definition 1.0
    name: kvm-multinode
    description: "Basic MultiNode test commands for KVM"
    maintainer:
        - neil.williams@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - kvm

run:
    steps:
        - lava-test-case linux-linaro-ubuntu-pwd --shell pwd
        - lava-test-case role-output --shell lava-role
        - lava-test-case sync --shell lava-sync running
        - lava-test-case linux-kvm-uname --shell uname -a
        - lava-group
        - lava-test-case send --shell lava-send sending source=$(lava-self) role=$(lava-role)
        - lava-test-case linux-kvm-netstat --shell netstat -an
        - lava-test-case linux-kvm-ifconfig-dump --shell ifconfig -a
        - lava-test-case linux-kvm-route-dump-a --shell route
        - lava-test-case linux-kvm-route-ifconfig-up-lo --shell ifconfig lo up
        - lava-test-case linux-kvm-route-dump-b --shell route
        - lava-test-case linux-kvm-route-ifconfig-up --shell ifconfig eth0 up
        - lava-test-case linux-kvm-route-ifconfig-down --shell ifconfig eth0 down
        - lava-test-case linux-kvm-route-dhclient --shell dhclient -v eth0
        - lava-test-case check-wait-all --shell lava-send kvm-wait
        - lava-test-case linux-kvm-route-dump-c --shell route
        - lava-test-case check-wait --shell lava-wait sending
        - cat /tmp/lava_multi_node_cache.txt