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 [ OK ] # 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 [FAIL] # ping failed # === # # # #kernel IpInReceives 41 0.0 IpInDelivers 40 0.0 IpOutRequests 44 0.0 IpOutTransmits 44 0.0 IcmpInMsgs 40 0.0 IcmpInEchos 16 0.0 IcmpInEchoReps 24 0.0 IcmpOutMsgs 44 0.0 IcmpOutEchos 28 0.0 IcmpOutEchoReps 16 0.0 IcmpMsgInType0 24 0.0 IcmpMsgInType8 16 0.0 IcmpMsgOutType0 16 0.0 IcmpMsgOutType8 28 0.0 Ip6InReceives 221 0.0 Ip6InDelivers 61 0.0 Ip6OutRequests 29 0.0 Ip6InMcastPkts 156 0.0 Ip6InOctets 18416 0.0 Ip6OutOctets 3328 0.0 Ip6InMcastOctets 12192 0.0 Ip6InNoECTPkts 221 0.0 Ip6OutTransmits 29 0.0 Icmp6InMsgs 61 0.0 Icmp6OutMsgs 29 0.0 Icmp6InEchos 25 0.0 Icmp6InEchoReplies 24 0.0 Icmp6InNeighborAdvertisements 15 0.0 Icmp6OutEchos 24 0.0 Icmp6OutEchoReplies 25 0.0 Icmp6OutNeighborSolicits 7 0.0 Icmp6InType128 25 0.0 Icmp6InType129 24 0.0 Icmp6InType136 15 0.0 Icmp6OutType128 24 0.0 Icmp6OutType129 25 0.0 Icmp6OutType135 7 0.0 IpExtInOctets 3400 0.0 IpExtOutOctets 3696 0.0 IpExtInNoECTPkts 41 0.0 # # #kernel Ip6OutMcastPkts 23 0.0 Ip6OutMcastOctets 1944 0.0 Icmp6InNeighborSolicits 3 0.0 Icmp6OutRouterSolicits 7 0.0 Icmp6OutNeighborAdvertisements 2 0.0 Icmp6OutMLDv2Reports 20 0.0 Icmp6InType135 3 0.0 Icmp6OutType133 7 0.0 Icmp6OutType136 2 0.0 Icmp6OutType143 20 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 c2:c8:cb:ef:27:89 brd ff:ff:ff:ff:ff:ff link-netns g-ri7omO # RX: bytes packets errors dropped missed mcast # 41554 433 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 27874 281 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 c2:c8:cb:ef:27:89 brd ff:ff:ff:ff:ff:ff link-netns g-ri7omO # 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::c0c8:cbff:feef:2789/64 scope link proto kernel_ll # valid_lft forever preferred_lft forever # # 192.0.2.11 dev eth0 lladdr 46:69:45:9d:d2:de REACHABLE # 192.0.2.1 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # 192.0.2.12 dev eth0 FAILED # fe80::4469:45ff:fe9d:d2de dev eth0 lladdr 46:69:45:9d:d2:de REACHABLE # 2001:db8::1 dev eth0 lladdr 00:0a:0b:0c:0d:01 REACHABLE # 2001:db8::11 dev eth0 lladdr 46:69:45:9d:d2:de 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 # 20: macvlan0@if18: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 # link/ether 3e:6a:e0:41:00:b1 brd ff:ff:ff:ff:ff:ff link-netns s-9taSbp # RX: bytes packets errors dropped missed mcast # 84 2 0 0 0 2 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # 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 # 20: macvlan0@if18: mtu 1500 qdisc noqueue state UP group default qlen 1000 # link/ether 3e:6a:e0:41:00:b1 brd ff:ff:ff:ff:ff:ff link-netns s-9taSbp # inet 192.0.2.12/24 scope global macvlan0 # valid_lft forever preferred_lft forever # inet6 2001:db8::12/24 scope global # valid_lft forever preferred_lft forever # inet6 fe80::3c6a:e0ff:fe41:b1/64 scope link proto kernel_ll # valid_lft forever preferred_lft forever # # # 192.0.2.0/24 dev macvlan0 proto kernel scope link src 192.0.2.12 # =<= # 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__->