summaryrefslogtreecommitdiff
path: root/forwarder.yaml
blob: 3e562781d5d6c0d1333025c93a17ef73bb939f8d (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
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

install:
    deps:
        - curl
        - realpath
        - lsb-release
        - usbutils
        - wget
        - android-tools-adb
        - 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-rout-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 wget-file --shell wget -O /var/www/testfile http://releases.linaro.org/latest/android/arndale/userdata.tar.bz2
        - lava-test-case file-sync --shell lava-sync download
        - lava-test-case done-sync --shell lava-sync received
        - lava-test-case remove-tgz --shell rm /var/www/testfile