aboutsummaryrefslogtreecommitdiff
path: root/manual/se/tb1-skip.yaml
blob: aa361fa15b8c09c506eed86903630447165f1fb1 (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
metadata:
    name: TB1
    format: "Manual Test Definition 1.0"
    description: "TB1: assign IP address"
    maintainer:
        - ryan.harkin@linaro.org
    os:
        - openembedded
    scope:
        - functional
    devices:
        - lces2
        - soca9
    environment:
        - manual-test

run:
    steps:
        - "skip"
        - " "
        - "Test runs in LAVA"
        - " "
        - "For SoCA9"
        - "targetip=192.168.1.71"
        - "For LCES2"
        - "targetip=192.168.1.108"
        - " "
        - "LCES2 ports: J17=eth1, J21=eth1, J22=lan0, J23=lan1, J24=lan2"
        - "SoCA9 ports: J17=eth1, J21=eth2, J22=lan0, J23=lan1, J24=lan2"
        - " "
        - "Set 'eth' variable for the port being tested"
        - "eth=eth1"
        - "eth=eth2 # soca9 only"
        - "eth=lan0"
        - "eth=lan1"
        - "eth=lan2"
        - " "
        - "# For tb11 only"
        - "ifconfig $eth mtu 1508"
        - " "
        - "Once the variables are assigned, these are the test steps:"
        - " "
        - "If testing lan0, lan1 or lan2"
        - "ifconfig eth0 up"
        - " "
        - "ifconfig $eth ${targetip} up"
        - "ifconfig $eth"
        - "dhclient -r $eth"
        - "ifconfig $eth"
        - "dhclient $eth"
        - "ifconfig $eth"
        - "ethtool ${eth}"
        - "ethtool -s ${eth} speed 100 duplex full autoneg off"
        - "ethtool ${eth} ; ifconfig ${eth}"
        - "dhclient -r $eth"
        - "ifconfig $eth ${targetip} up"
        - "ifconfig $eth"

    expected:
        - "IP addresses are assigned correctly"