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 [ 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 [FAIL] # ping failed # === # # # #kernel IpInReceives 45 0.0 IpInDelivers 44 0.0 IpOutRequests 48 0.0 IpOutTransmits 48 0.0 IcmpInMsgs 44 0.0 IcmpInEchos 20 0.0 IcmpInEchoReps 24 0.0 IcmpOutMsgs 48 0.0 IcmpOutEchos 28 0.0 IcmpOutEchoReps 20 0.0 IcmpMsgInType0 24 0.0 IcmpMsgInType8 20 0.0 IcmpMsgOutType0 20 0.0 IcmpMsgOutType8 28 0.0 Ip6InReceives 241 0.0 Ip6InDelivers 55 0.0 Ip6OutRequests 17 0.0 Ip6InMcastPkts 179 0.0 Ip6InOctets 20156 0.0 Ip6OutOctets 2420 0.0 Ip6InMcastOctets 14100 0.0 Ip6InNoECTPkts 241 0.0 Ip6OutTransmits 17 0.0 Icmp6InMsgs 55 0.0 Icmp6OutMsgs 17 0.0 Icmp6InEchos 26 0.0 Icmp6InEchoReplies 24 0.0 Icmp6InNeighborAdvertisements 12 0.0 Icmp6OutEchos 24 0.0 Icmp6OutEchoReplies 26 0.0 Icmp6OutNeighborSolicits 2 0.0 Icmp6InType128 26 0.0 Icmp6InType129 24 0.0 Icmp6InType136 12 0.0 Icmp6OutType128 24 0.0 Icmp6OutType129 26 0.0 Icmp6OutType135 2 0.0 IpExtInOctets 3736 0.0 IpExtOutOctets 4032 0.0 IpExtInNoECTPkts 45 0.0 # # #kernel Ip6OutMcastPkts 31 0.0 Ip6OutMcastOctets 2620 0.0 Icmp6InNeighborSolicits 7 0.0 Icmp6OutRouterSolicits 7 0.0 Icmp6OutNeighborAdvertisements 4 0.0 Icmp6OutMLDv2Reports 25 0.0 Icmp6InType135 7 0.0 Icmp6OutType133 7 0.0 Icmp6OutType136 4 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 7a:59:93:58:cd:48 brd ff:ff:ff:ff:ff:ff link-netns g-vLH4Jb # RX: bytes packets errors dropped missed mcast # 47890 497 0 0 0 0 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 31744 318 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 7a:59:93:58:cd:48 brd ff:ff:ff:ff:ff:ff link-netns g-vLH4Jb # 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::7859:93ff:fe58:cd48/64 scope link proto kernel_ll # valid_lft forever preferred_lft forever # # 192.0.2.11 dev eth0 FAILED # 192.0.2.1 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 # 23: ipvlan0@if21: 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-rbCbGL # RX: bytes packets errors dropped missed mcast # 142 2 0 0 0 2 # RX errors: length crc frame fifo overrun # 0 0 0 0 0 # TX: bytes packets errors dropped carrier collsns # 842 9 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 00:0a:0b:0c:0d:01 brd ff:ff:ff:ff:ff:ff link-netns s-rbCbGL # 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-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__->