make -C tools/testing/selftests TARGETS=drivers/net/bonding TEST_PROGS=bonnd_macvlan.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.sh [ 437.105054] br0: port 1(s0) entered blocking state [ 437.105373] br0: port 1(s0) entered disabled state [ 437.105676] s0: entered allmulticast mode [ 437.105982] s0: entered promiscuous mode [ 437.123242] bond0: (slave eth0): making interface the new active one [ 437.123805] bond0: (slave eth0): Enslaving as an active interface with an up link [ 437.124810] br0: port 1(s0) entered blocking state [ 437.125194] br0: port 1(s0) entered forwarding state [ 437.190884] br0: port 2(s1) entered blocking state [ 437.191173] br0: port 2(s1) entered disabled state [ 437.191440] s1: entered allmulticast mode [ 437.191808] s1: entered promiscuous mode [ 437.208676] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 437.209507] br0: port 2(s1) entered blocking state [ 437.209789] br0: port 2(s1) entered forwarding state [ 437.345626] br0: port 3(c0) entered blocking state [ 437.345934] br0: port 3(c0) entered disabled state [ 437.346233] c0: entered allmulticast mode [ 437.346520] c0: entered promiscuous mode [ 437.364174] br0: port 3(c0) entered blocking state [ 437.364464] br0: port 3(c0) entered forwarding state [ 437.489337] bond0 (unregistering): (slave eth0): Releasing backup interface [ 437.497908] bond0 (unregistering): (slave eth1): Releasing backup interface [ 437.503799] bond0 (unregistering): Released all slaves [ 437.560115] bond0: (slave eth0): making interface the new active one [ 437.560501] bond0: (slave eth0): Enslaving as an active interface with an up link [ 437.577257] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 438.957507] eth0: entered promiscuous mode # TEST: active-backup: IPv4: client->server [ OK ] # TEST: active-backup: IPv6: client->server [ OK ] # TEST: active-backup: IPv4: client->macvlan_1 [ OK ] # TEST: active-backup: IPv6: client->macvlan_1 [ OK ] # TEST: active-backup: IPv4: client->macvlan_2 [ OK ] # TEST: active-backup: IPv6: client->macvlan_2 [ OK ] # TEST: active-backup: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: active-backup: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: active-backup: IPv4: server->client [ OK ] # TEST: active-backup: IPv6: server->client [ OK ] # TEST: active-backup: IPv4: macvlan_1->client [ OK ] # TEST: active-backup: IPv6: macvlan_1->client [ OK ] # TEST: active-backup: IPv4: macvlan_2->client [ OK ] # TEST: active-backup: IPv6: macvlan_2->client [ OK ] # TEST: active-backup: IPv4: macvlan_2->macvlan_2 [ OK ] # TEST: active-backup: IPv6: macvlan_2->macvlan_2 [ OK ] [ 451.551288] eth0: left promiscuous mode [ 451.572060] bond0 (unregistering): (slave eth0): Releasing backup interface [ 451.583989] bond0 (unregistering): (slave eth1): Releasing backup interface [ 451.589817] bond0 (unregistering): Released all slaves [ 451.590660] br0: port 1(s0) entered disabled state [ 451.591102] br0: port 2(s1) entered disabled state [ 451.637511] bond0: (slave eth0): making interface the new active one [ 451.638277] bond0: (slave eth0): Enslaving as an active interface with an up link [ 451.639243] br0: port 1(s0) entered blocking state [ 451.639658] br0: port 1(s0) entered forwarding state [ 451.652857] bond0: (slave eth1): Enslaving as an active interface with an up link [ 451.653532] br0: port 2(s1) entered blocking state [ 451.653808] br0: port 2(s1) entered forwarding state [ 453.135647] eth0: entered promiscuous mode # TEST: balance-tlb: IPv4: client->server [ OK ] # TEST: balance-tlb: IPv6: client->server [ OK ] # TEST: balance-tlb: IPv4: client->macvlan_1 [ OK ] # TEST: balance-tlb: IPv6: client->macvlan_1 [ OK ] # TEST: balance-tlb: IPv4: client->macvlan_2 [ OK ] # TEST: balance-tlb: IPv6: client->macvlan_2 [ OK ] # TEST: balance-tlb: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: balance-tlb: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: balance-tlb: IPv4: server->client [ OK ] # TEST: balance-tlb: IPv6: server->client [ OK ] # TEST: balance-tlb: IPv4: macvlan_1->client [ OK ] # TEST: balance-tlb: IPv6: macvlan_1->client [ OK ] # TEST: balance-tlb: IPv4: macvlan_2->client [ OK ] # TEST: balance-tlb: IPv6: macvlan_2->client [ OK ] # TEST: balance-tlb: IPv4: macvlan_2->macvlan_2 [ OK ] # TEST: balance-tlb: IPv6: macvlan_2->macvlan_2 [ OK ] [ 465.765829] eth0: left promiscuous mode [ 465.781696] bond0 (unregistering): (slave eth0): Releasing active interface [ 465.790102] bond0 (unregistering): (slave eth1): Releasing active interface [ 465.802850] bond0 (unregistering): Released all slaves [ 465.803810] br0: port 1(s0) entered disabled state [ 465.804261] br0: port 2(s1) entered disabled state [ 465.857454] bond0: (slave eth0): making interface the new active one [ 465.857896] bond0: (slave eth0): Enslaving as an active interface with an up link [ 465.858368] br0: port 1(s0) entered blocking state [ 465.858652] br0: port 1(s0) entered forwarding state [ 465.871649] bond0: (slave eth1): Enslaving as an active interface with an up link [ 465.872402] br0: port 2(s1) entered blocking state [ 465.872709] br0: port 2(s1) entered forwarding state [ 467.223320] eth0: entered promiscuous mode # TEST: balance-alb: IPv4: client->server [ OK ] # TEST: balance-alb: IPv6: client->server [ OK ] # TEST: balance-alb: IPv4: client->macvlan_1 [ OK ] # TEST: balance-alb: IPv6: client->macvlan_1 [ OK ] # TEST: balance-alb: IPv4: client->macvlan_2 [ OK ] # TEST: balance-alb: IPv6: client->macvlan_2 [ OK ] # TEST: balance-alb: IPv4: macvlan_1->macvlan_2 [ OK ] # TEST: balance-alb: IPv6: macvlan_1->macvlan_2 [ OK ] # TEST: balance-alb: IPv4: server->client [ OK ] # TEST: balance-alb: IPv6: server->client [ OK ] # TEST: balance-alb: IPv4: macvlan_1->client [ OK ] # TEST: balance-alb: IPv6: macvlan_1->client [ OK ] # TEST: balance-alb: IPv4: macvlan_2->client [ OK ] # TEST: balance-alb: IPv6: macvlan_2->client [ OK ] # TEST: balance-alb: IPv4: macvlan_2->macvlan_2 [ OK ] # TEST: balance-alb: IPv6: macvlan_2->macvlan_2 [ OK ] [ 479.830770] eth0: left promiscuous mode [ 479.884894] br0: port 3(c0) entered disabled state [ 479.885539] c0 (unregistering): left allmulticast mode [ 479.885883] c0 (unregistering): left promiscuous mode [ 479.886156] br0: port 3(c0) entered disabled state [ 479.957309] br0: port 1(s0) entered disabled state [ 479.957806] bond0: (slave eth0): Releasing active interface [ 479.958133] bond0: (slave eth0): the permanent HWaddr of slave - 8a:bd:b6:fc:22:ef - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 479.958994] bond0: (slave eth1): making interface the new active one [ 479.972073] s0 (unregistering): left allmulticast mode [ 479.972373] s0 (unregistering): left promiscuous mode [ 479.972660] br0: port 1(s0) entered disabled state [ 480.000098] br0: port 2(s1) entered disabled state [ 480.000721] bond0: (slave eth1): Releasing active interface [ 480.012147] s1 (unregistering): left allmulticast mode [ 480.012473] s1 (unregistering): left promiscuous mode [ 480.012811] br0: port 2(s1) entered disabled state [ 480.036289] bond0 (unregistering): Released all slaves ok 1 selftests: drivers/net/bonding: bond_macvlan.sh 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__->