summaryrefslogtreecommitdiff
path: root/receiver.yaml
blob: 8c7c6f88405fa389f80f26d94d0871655a41b721 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
metadata:
    format: Lava-Test Test Definition 1.0
    name: multinode-network
    description: "MultiNode network test commands"
    maintainer:
        - neil.williams@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - kvm
        - arndale
        - panda
        - beaglebone-black
        - beagle-xm
        - mx53loco

install:
    deps:
        - curl
        - realpath
        - lsb-release
        - usbutils
        - wget
        - ntpdate
        - apache2

run:
    steps:
        - lava-test-case multinode-role-output --shell lava-role
        - lava-test-case multinode-sync --shell lava-sync running
        - lava-test-case multinode-send-message --shell lava-send sending source=$(lava-self) role=$(lava-role) hostname=$(hostname -f) kernver=$(uname -r) kernhost=$(uname -n)
        - lava-test-case multinode-group --shell lava-group
        - lava-group
        - 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 multinode-wait --shell lava-wait-all sending
        - cat /tmp/lava_multi_node_cache.txt
        - lava-test-case multinode-network --shell lava-network broadcast eth0
        - lava-test-case multinode-get-network --shell lava-network collect eth0
        - lava-test-case realpath-check --shell realpath ./check_ip
        - cat ./check_ip
        - lava-test-case multinode-lava-network-ipv4 --shell ./check_ip
        - lava-test-case multinode-broadcast-ipv4 --shell lava-network query $(lava-self) ipv4
        - lava-test-case multinode-broadcast-ipv6 --shell lava-network query $(lava-self) ipv6
        - lava-test-case multinode-broadcast-netmask --shell lava-network query $(lava-self) netmask
        - lava-test-case multinode-broadcast-gateway --shell lava-network query $(lava-self) default-gateway
        - lava-test-case multinode-broadcast-hostname --shell lava-network query $(lava-self) hostname
        - lava-test-case multinode-broadcast-fqdn --shell lava-network query $(lava-self) hostname-full
        - lava-test-case multinode-broadcast-dns1 --shell lava-network query $(lava-self) dns_1
        - lava-test-case multinode-broadcast-dns2 --shell lava-network query $(lava-self) dns_2
        - lava-test-case multinode-broadcast-dns3 --shell lava-network query $(lava-self) dns_3
        - lava-test-case ntpdate-check --shell ntpdate-debian
        - lava-test-case file-sync --shell lava-sync download
        - lava-test-case wget-from-group --shell ./file-get.sh
        - lava-test-case get-sync --shell lava-sync received
        - lava-test-case list-file --shell ls -l /tmp/testfile
        - lava-test-case remove-file --shell rm /tmp/testfile