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-9/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-9/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-9/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing-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 [ 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 [FAIL] # ping failed # === # # # #kernel IpInReceives 48 0.0 IpInDelivers 48 0.0 IpOutRequests 52 0.0 IpOutTransmits 52 0.0 IcmpInMsgs 48 0.0 IcmpInEchos 20 0.0 IcmpInEchoReps 28 0.0 IcmpOutMsgs 52 0.0 IcmpOutEchos 32 0.0 IcmpOutEchoReps 20 0.0 IcmpMsgInType0 28 0.0 IcmpMsgInType8 20 0.0 IcmpMsgOutType0 20 0.0 IcmpMsgOutType8 32 0.0 Ip6InReceives 258 0.0 Ip6InDelivers 69 0.0 Ip6OutRequests 31 0.0 Ip6InMcastPkts 182 0.0 Ip6InOctets 21444 0.0 Ip6OutOctets 3540 0.0 Ip6InMcastOctets 14284 0.0 Ip6InNoECTPkts 258 0.0 Ip6OutTransmits 31 0.0 Icmp6InMsgs 69 0.0 Icmp6OutMsgs 31 0.0 Icmp6InEchos 26 0.0 Icmp6InEchoReplies 28 0.0 Icmp6InNeighborAdvertisements 20 0.0 Icmp6OutEchos 28 0.0 Icmp6OutEchoReplies 26 0.0 Icmp6OutNeighborSolicits 10 0.0 Icmp6InType128 26 0.0 Icmp6InType129 28 0.0 Icmp6InType136 20 0.0 Icmp6OutType128 28 0.0 Icmp6OutType129 26 0.0 Icmp6OutType135 10 0.0 IpExtInOctets 4032 0.0 IpExtOutOctets 4368 0.0 IpExtInNoECTPkts 48 0.0 # # #kernel Ip6OutMcastPkts 28 0.0 Ip6OutMcastOctets 2388 0.0 Icmp6InNeighborSolicits 5 0.0 Icmp6OutRouterSolicits 8 0.0 Icmp6OutNeighborAdvertisements 2 0.0 Icmp6OutMLDv2Reports 25 0.0 Icmp6InType135 5 0.0 Icmp6OutType133 8 0.0 Icmp6OutType136 2 0.0 Icmp6OutType143 25 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 9e:d3:72:8e:20:73 brd ff:ff:ff:ff:ff:ff link-netns g-C9O0R4 # RX: bytes packets errors dropped missed mcast # 50048 524 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 33578 339 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 9e:d3:72:8e:20:73 brd ff:ff:ff:ff:ff:ff link-netns g-C9O0R4 # 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::9cd3:72ff:fe8e:2073/64 scope link proto kernel_ll # valid_lft forever preferred_lft forever # # 192.0.2.12 dev eth0 FAILED # 192.0.2.11 dev eth0 lladdr 4e:b2:6c:28:3a:12 REACHABLE # 192.0.2.1 dev eth0 lladdr ee:4c:27:64:d6:71 REACHABLE # 2001:db8::11 dev eth0 lladdr ee:4c:27:64:d6:71 REACHABLE # fe80::ec4c:27ff:fe64:d671 dev eth0 lladdr ee:4c:27:64:d6:71 REACHABLE # fe80::ee4c:2700:164:d671 dev eth0 lladdr ee:4c:27:64:d6:71 REACHABLE # 2001:db8::1 dev eth0 lladdr ee:4c:27:64:d6:71 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 # 23: ipvlan0@if21: mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 # link/ether ee:4c:27:64:d6:71 brd ff:ff:ff:ff:ff:ff link-netns s-0kPlr1 # RX: bytes packets errors dropped missed mcast # 1220 17 0 0 0 3 # RX errors: length crc frame fifo overrun otherhost # 0 0 0 0 0 8 # 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 # 23: ipvlan0@if21: mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 # link/ether ee:4c:27:64:d6:71 brd ff:ff:ff:ff:ff:ff link-netns s-0kPlr1 # 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::ee4c:2700:264:d671/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-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-9/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing-9/tools/testing/selftests' xx__-> echo $? 0 xx__->