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 [ 429.983372] br0: port 1(s0) entered blocking state [ 429.983792] br0: port 1(s0) entered disabled state [ 429.984171] s0: entered allmulticast mode [ 429.984565] s0: entered promiscuous mode [ 429.999174] bond0: (slave eth0): making interface the new active one [ 429.999732] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.000821] br0: port 1(s0) entered blocking state [ 430.001205] br0: port 1(s0) entered forwarding state [ 430.066044] br0: port 2(s1) entered blocking state [ 430.066434] br0: port 2(s1) entered disabled state [ 430.066855] s1: entered allmulticast mode [ 430.067250] s1: entered promiscuous mode [ 430.083370] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.084391] br0: port 2(s1) entered blocking state [ 430.084783] br0: port 2(s1) entered forwarding state [ 430.207662] br0: port 3(c0) entered blocking state [ 430.207982] br0: port 3(c0) entered disabled state [ 430.208248] c0: entered allmulticast mode [ 430.208556] c0: entered promiscuous mode [ 430.223923] br0: port 3(c0) entered blocking state [ 430.224229] br0: port 3(c0) entered forwarding state [ 430.332386] bond0 (unregistering): (slave eth0): Releasing backup interface [ 430.344863] bond0 (unregistering): (slave eth1): Releasing backup interface [ 430.353809] bond0 (unregistering): Released all slaves [ 430.402041] bond0: (slave eth0): making interface the new active one [ 430.402563] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.418417] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.204245] 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 ] [ 444.822529] eth0: left promiscuous mode [ 444.839009] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.849918] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.857789] bond0 (unregistering): Released all slaves [ 444.858515] br0: port 1(s0) entered disabled state [ 444.858920] br0: port 2(s1) entered disabled state [ 444.908842] bond0: (slave eth0): making interface the new active one [ 444.909236] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.909901] br0: port 1(s0) entered blocking state [ 444.910162] br0: port 1(s0) entered forwarding state [ 444.924389] bond0: (slave eth1): Enslaving as an active interface with an up link [ 444.925271] br0: port 2(s1) entered blocking state [ 444.925542] br0: port 2(s1) entered forwarding state [ 446.725556] 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 ] [ 459.304343] eth0: left promiscuous mode [ 459.317427] bond0 (unregistering): (slave eth0): Releasing active interface [ 459.335897] bond0 (unregistering): (slave eth1): Releasing active interface [ 459.344767] bond0 (unregistering): Released all slaves [ 459.345486] br0: port 1(s0) entered disabled state [ 459.345847] br0: port 2(s1) entered disabled state [ 459.387134] bond0: (slave eth0): making interface the new active one [ 459.387534] bond0: (slave eth0): Enslaving as an active interface with an up link [ 459.387990] br0: port 1(s0) entered blocking state [ 459.388255] br0: port 1(s0) entered forwarding state [ 459.400987] bond0: (slave eth1): Enslaving as an active interface with an up link [ 459.401671] br0: port 2(s1) entered blocking state [ 459.401976] br0: port 2(s1) entered forwarding state [ 461.219249] 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 ] [ 473.841846] eth0: left promiscuous mode [ 473.903864] br0: port 3(c0) entered disabled state [ 473.904885] c0 (unregistering): left allmulticast mode [ 473.905286] c0 (unregistering): left promiscuous mode [ 473.905551] br0: port 3(c0) entered disabled state [ 473.984660] br0: port 1(s0) entered disabled state [ 473.985269] bond0: (slave eth0): Releasing active interface [ 473.985763] bond0: (slave eth0): the permanent HWaddr of slave - 12:01:5a:06:e3:f4 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 473.986934] bond0: (slave eth1): making interface the new active one [ 473.999237] s0 (unregistering): left allmulticast mode [ 473.999698] s0 (unregistering): left promiscuous mode [ 474.000094] br0: port 1(s0) entered disabled state [ 474.025325] br0: port 2(s1) entered disabled state [ 474.026181] bond0: (slave eth1): Releasing active interface [ 474.039183] s1 (unregistering): left allmulticast mode [ 474.039497] s1 (unregistering): left promiscuous mode [ 474.039818] br0: port 2(s1) entered disabled state [ 474.063094] 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' hxx__-> echo $? 0 xx__->