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 49 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 262 0.0 Ip6InDelivers 73 0.0 Ip6OutRequests 34 0.0 Ip6InMcastPkts 183 0.0 Ip6InOctets 21868 0.0 Ip6OutOctets 3884 0.0 Ip6InMcastOctets 14356 0.0 Ip6InNoECTPkts 262 0.0 Ip6OutTransmits 34 0.0 Icmp6InMsgs 73 0.0 Icmp6OutMsgs 34 0.0 Icmp6InEchos 30 0.0 Icmp6InEchoReplies 28 0.0 Icmp6InNeighborAdvertisements 19 0.0 Icmp6OutEchos 28 0.0 Icmp6OutEchoReplies 30 0.0 Icmp6OutNeighborSolicits 9 0.0 Icmp6InType128 30 0.0 Icmp6InType129 28 0.0 Icmp6InType136 19 0.0 Icmp6OutType128 28 0.0 Icmp6OutType129 30 0.0 Icmp6OutType135 9 0.0 IpExtInOctets 4072 0.0 IpExtOutOctets 4368 0.0 IpExtInNoECTPkts 49 0.0 # # #kernel Ip6OutMcastPkts 28 0.0 Ip6OutMcastOctets 2388 0.0 Icmp6InNeighborSolicits 4 0.0 Icmp6OutRouterSolicits 8 0.0 Icmp6OutNeighborAdvertisements 2 0.0 Icmp6OutMLDv2Reports 25 0.0 Icmp6InType135 4 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 f2:fc:cc:7f:a8:e0 brd ff:ff:ff:ff:ff:ff link-netns g-ltcIQM # RX: bytes packets errors dropped missed mcast # 50708 532 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 34090 345 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 f2:fc:cc:7f:a8:e0 brd ff:ff:ff:ff:ff:ff link-netns g-ltcIQM # 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::f0fc:ccff:fe7f:a8e0/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:d0:4d:b2:38:16 REACHABLE # 192.0.2.1 dev eth0 lladdr fe:d0:7b:06:ea:36 REACHABLE # fe80::fed0:7b00:106:ea36 dev eth0 lladdr fe:d0:7b:06:ea:36 REACHABLE # fe80::fcd0:7bff:fe06:ea36 dev eth0 lladdr fe:d0:7b:06:ea:36 REACHABLE # 2001:db8::11 dev eth0 lladdr fe:d0:7b:06:ea:36 REACHABLE # 2001:db8::1 dev eth0 lladdr fe:d0:7b:06:ea:36 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 fe:d0:7b:06:ea:36 brd ff:ff:ff:ff:ff:ff link-netns s-ZzozOZ # 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 fe:d0:7b:06:ea:36 brd ff:ff:ff:ff:ff:ff link-netns s-ZzozOZ # 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::fed0:7b00:206:ea36/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__->