make -C tools/testing/selftests TARGETS="drivers/net/bonding" TEST_PROGS=bbond_macvlan_ipvlan.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-9/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-9/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-9/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing/wt-9/tools/testing/selftests/drivers/net/bonding' TAP version 13 1..1 # timeout set to 1200 # selftests: drivers/net/bonding: bond_macvlan_ipvlan.sh # TEST: active-backup/macvlan_bridge: IPv4: client->server [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: client->server [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: client->macvlan_1 [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: client->macvlan_1 [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: client->macvlan_2 [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: client->macvlan_2 [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: server->client [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: server->client [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: macvlan_1->client [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: macvlan_1->client [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: macvlan_2->client [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: macvlan_2->client [ OK ] # TEST: active-backup/macvlan_bridge: IPv4: macvlan_2->macvlan_1 [ OK ] # TEST: active-backup/macvlan_bridge: IPv6: macvlan_2->macvlan_1 [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: client->server [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: client->server [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: client->ipvlan_1 [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: client->ipvlan_1 [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: client->ipvlan_2 [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: client->ipvlan_2 [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: ipvlan_1->ipvlan_2 [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: ipvlan_1->ipvlan_2 [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: server->client [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: server->client [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: ipvlan_1->client [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: ipvlan_1->client [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: ipvlan_2->client [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: ipvlan_2->client [ OK ] # TEST: active-backup/ipvlan_l2: IPv4: ipvlan_2->ipvlan_1 [ OK ] # TEST: active-backup/ipvlan_l2: IPv6: ipvlan_2->ipvlan_1 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: client->server [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: client->server [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: client->macvlan_1 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: client->macvlan_1 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: client->macvlan_2 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: client->macvlan_2 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: server->client [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: server->client [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: macvlan_1->client [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: macvlan_1->client [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: macvlan_2->client [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: macvlan_2->client [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv4: macvlan_2->macvlan_1 [ OK ] # TEST: balance-tlb/macvlan_bridge: IPv6: macvlan_2->macvlan_1 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: client->server [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: client->server [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: client->ipvlan_1 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: client->ipvlan_1 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: client->ipvlan_2 [FAIL] # ping failed # === # # # #kernel IpInReceives 33 0.0 IpInDelivers 32 0.0 IpOutRequests 36 0.0 IpOutTransmits 36 0.0 IcmpInMsgs 32 0.0 IcmpInEchos 12 0.0 IcmpInEchoReps 20 0.0 IcmpOutMsgs 36 0.0 IcmpOutEchos 24 0.0 IcmpOutEchoReps 12 0.0 IcmpMsgInType0 20 0.0 IcmpMsgInType8 12 0.0 IcmpMsgOutType0 12 0.0 IcmpMsgOutType8 24 0.0 Ip6InReceives 174 0.0 Ip6InDelivers 41 0.0 Ip6OutRequests 19 0.0 Ip6InMcastPkts 129 0.0 Ip6InOctets 14504 0.0 Ip6OutOctets 2260 0.0 Ip6InMcastOctets 10120 0.0 Ip6InNoECTPkts 174 0.0 Ip6OutTransmits 19 0.0 Icmp6InMsgs 41 0.0 Icmp6OutMsgs 19 0.0 Icmp6InEchos 16 0.0 Icmp6InEchoReplies 20 0.0 Icmp6InNeighborAdvertisements 8 0.0 Icmp6OutEchos 20 0.0 Icmp6OutEchoReplies 16 0.0 Icmp6OutNeighborSolicits 2 0.0 Icmp6InType128 16 0.0 Icmp6InType129 20 0.0 Icmp6InType136 8 0.0 Icmp6OutType128 20 0.0 Icmp6OutType129 16 0.0 Icmp6OutType135 2 0.0 IpExtInOctets 2728 0.0 IpExtOutOctets 3024 0.0 IpExtInNoECTPkts 33 0.0 # # #kernel Ip6OutMcastPkts 19 0.0 Ip6OutMcastOctets 1588 0.0 Icmp6InNeighborSolicits 3 0.0 Icmp6OutRouterSolicits 5 0.0 Icmp6OutNeighborAdvertisements 1 0.0 Icmp6OutMLDv2Reports 15 0.0 Icmp6InType135 3 0.0 Icmp6OutType133 5 0.0 Icmp6OutType136 1 0.0 Icmp6OutType143 15 0.0 # # local # 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # 2: bond0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/ether 52:b0:54:73:9c:e7 brd ff:ff:ff:ff:ff:ff # 3: dummy0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/ether 46:94:8e:59:e9:4a brd ff:ff:ff:ff:ff:ff # 4: sit0@NONE: mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/sit 0.0.0.0 brd 0.0.0.0 # # 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # inet 127.0.0.1/8 scope host lo # valid_lft forever preferred_lft forever # inet6 ::1/128 scope host proto kernel_lo # valid_lft forever preferred_lft forever # 2: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 # link/ether 52:b0:54:73:9c:e7 brd ff:ff:ff:ff:ff:ff # 3: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 # link/ether 46:94:8e:59:e9:4a brd ff:ff:ff:ff:ff:ff # 4: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 # link/sit 0.0.0.0 brd 0.0.0.0 # # # ns # 1: lo: mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # RX: bytes packets errors dropped missed mcast # 0 0 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 0 0 0 0 0 0 # TX errors: aborted fifo window heartbt transns # 0 0 0 0 0 # 2: sit0@NONE: mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/sit 0.0.0.0 brd 0.0.0.0 # RX: bytes packets errors dropped missed mcast # 0 0 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 0 0 0 0 0 0 # TX errors: aborted fifo window heartbt transns # 0 0 0 0 0 # 3: eth0@if6: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 # link/ether b2:40:39:f5:55:41 brd ff:ff:ff:ff:ff:ff link-netns g-DrMuvO # RX: bytes packets errors dropped missed mcast # 32152 334 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 21202 215 0 0 0 0 # TX errors: aborted fifo window heartbt transns # 0 0 0 0 2 # # 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # 2: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 # link/sit 0.0.0.0 brd 0.0.0.0 # 3: eth0@if6: mtu 1500 qdisc noqueue state UP group default qlen 1000 # link/ether b2:40:39:f5:55:41 brd ff:ff:ff:ff:ff:ff link-netns g-DrMuvO # inet 192.0.2.10/24 scope global eth0 # valid_lft forever preferred_lft forever # inet6 2001:db8::10/24 scope global # valid_lft forever preferred_lft forever # inet6 fe80::b040:39ff:fef5:5541/64 scope link proto kernel_ll # valid_lft forever preferred_lft forever # # 192.0.2.1 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # 192.0.2.12 dev eth0 FAILED # 192.0.2.11 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # 2001:db8::11 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # fe80::a:b00:10c:d01 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # 2001:db8::1 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # # 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.10 # X ns 2 # 1: lo: mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # RX: bytes packets errors dropped missed mcast # 0 0 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 0 0 0 0 0 0 # TX errors: aborted fifo window heartbt transns # 0 0 0 0 0 # 2: sit0@NONE: mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000 # link/sit 0.0.0.0 brd 0.0.0.0 # RX: bytes packets errors dropped missed mcast # 0 0 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 0 0 0 0 0 0 # TX errors: aborted fifo window heartbt transns # 0 0 0 0 0 # 17: ipvlan0@if15: mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 # link/ether 00:0a:0b:0c:0d:01 brd ff:ff:ff:ff:ff:ff link-netns s-UoQ4YL # RX: bytes packets errors dropped missed mcast # 702 10 0 0 0 3 # RX errors: length crc frame fifo overrun otherhost # 0 0 0 0 0 4 # TX: bytes packets errors dropped carrier collsns # 912 10 0 0 0 0 # TX errors: aborted fifo window heartbt transns # 0 0 0 0 0 # # 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # 2: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 # link/sit 0.0.0.0 brd 0.0.0.0 # 17: ipvlan0@if15: mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 # link/ether 00:0a:0b:0c:0d:01 brd ff:ff:ff:ff:ff:ff link-netns s-UoQ4YL # inet 192.0.2.12/24 scope global ipvlan0 # valid_lft forever preferred_lft forever # inet6 2001:db8::12/24 scope global # valid_lft forever preferred_lft forever # inet6 fe80::a:b00:20c:d01/64 scope link proto kernel_ll # valid_lft forever preferred_lft forever # # # 192.0.2.0/24 dev ipvlan0 proto kernel scope link src 192.0.2.12 # =<= # TEST: balance-tlb/ipvlan_l2: IPv6: client->ipvlan_2 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: ipvlan_1->ipvlan_2 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: ipvlan_1->ipvlan_2 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: server->client [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: server->client [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: ipvlan_1->client [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: ipvlan_1->client [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: ipvlan_2->client [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: ipvlan_2->client [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv4: ipvlan_2->ipvlan_1 [ OK ] # TEST: balance-tlb/ipvlan_l2: IPv6: ipvlan_2->ipvlan_1 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: client->server [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: client->server [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: client->macvlan_1 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: client->macvlan_1 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: client->macvlan_2 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: client->macvlan_2 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: server->client [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: server->client [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: macvlan_1->client [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: macvlan_1->client [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: macvlan_2->client [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: macvlan_2->client [ OK ] # TEST: balance-alb/macvlan_bridge: IPv4: macvlan_2->macvlan_1 [ OK ] # TEST: balance-alb/macvlan_bridge: IPv6: macvlan_2->macvlan_1 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: client->server [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: client->server [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: client->ipvlan_1 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: client->ipvlan_1 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: client->ipvlan_2 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: client->ipvlan_2 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: ipvlan_1->ipvlan_2 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: ipvlan_1->ipvlan_2 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: server->client [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: server->client [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: ipvlan_1->client [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: ipvlan_1->client [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: ipvlan_2->client [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: ipvlan_2->client [ OK ] # TEST: balance-alb/ipvlan_l2: IPv4: ipvlan_2->ipvlan_1 [ OK ] # TEST: balance-alb/ipvlan_l2: IPv6: ipvlan_2->ipvlan_1 [ OK ] not ok 1 selftests: drivers/net/bonding: bond_macvlan_ipvlan.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-9/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing/wt-9/tools/testing/selftests' xx__-> echo $? 0 xx__->