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 [ 426.923962] br0: port 1(s0) entered blocking state [ 426.924295] br0: port 1(s0) entered disabled state [ 426.924566] s0: entered allmulticast mode [ 426.924880] s0: entered promiscuous mode [ 426.941202] bond0: (slave eth0): making interface the new active one [ 426.941599] bond0: (slave eth0): Enslaving as an active interface with an up link [ 426.942458] br0: port 1(s0) entered blocking state [ 426.942751] br0: port 1(s0) entered forwarding state [ 427.005165] br0: port 2(s1) entered blocking state [ 427.005461] br0: port 2(s1) entered disabled state [ 427.005723] s1: entered allmulticast mode [ 427.006100] s1: entered promiscuous mode [ 427.023390] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 427.024377] br0: port 2(s1) entered blocking state [ 427.024775] br0: port 2(s1) entered forwarding state [ 427.155769] br0: port 3(c0) entered blocking state [ 427.156152] br0: port 3(c0) entered disabled state [ 427.156491] c0: entered allmulticast mode [ 427.156910] c0: entered promiscuous mode [ 427.172461] br0: port 3(c0) entered blocking state [ 427.172761] br0: port 3(c0) entered forwarding state [ 427.273588] bond0 (unregistering): (slave eth0): Releasing backup interface [ 427.282095] bond0 (unregistering): (slave eth1): Releasing backup interface [ 427.287876] bond0 (unregistering): Released all slaves [ 427.332813] bond0: (slave eth0): making interface the new active one [ 427.333364] bond0: (slave eth0): Enslaving as an active interface with an up link [ 427.347923] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.964606] 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 ] [ 441.569718] eth0: left promiscuous mode [ 441.584948] bond0 (unregistering): (slave eth0): Releasing backup interface [ 441.596052] bond0 (unregistering): (slave eth1): Releasing backup interface [ 441.601902] bond0 (unregistering): Released all slaves [ 441.602760] br0: port 1(s0) entered disabled state [ 441.603169] br0: port 2(s1) entered disabled state [ 441.658732] bond0: (slave eth0): making interface the new active one [ 441.659289] bond0: (slave eth0): Enslaving as an active interface with an up link [ 441.660179] br0: port 1(s0) entered blocking state [ 441.660544] br0: port 1(s0) entered forwarding state [ 441.677215] bond0: (slave eth1): Enslaving as an active interface with an up link [ 441.677927] br0: port 2(s1) entered blocking state [ 441.678210] br0: port 2(s1) entered forwarding state [ 443.326861] 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 ] [ 455.962220] eth0: left promiscuous mode [ 455.976379] bond0 (unregistering): (slave eth0): Releasing active interface [ 455.984947] bond0 (unregistering): (slave eth1): Releasing active interface [ 455.992951] bond0 (unregistering): Released all slaves [ 455.994261] br0: port 1(s0) entered disabled state [ 455.994841] br0: port 2(s1) entered disabled state [ 456.043202] bond0: (slave eth0): making interface the new active one [ 456.043627] bond0: (slave eth0): Enslaving as an active interface with an up link [ 456.044299] br0: port 1(s0) entered blocking state [ 456.044571] br0: port 1(s0) entered forwarding state [ 456.058681] bond0: (slave eth1): Enslaving as an active interface with an up link [ 456.059423] br0: port 2(s1) entered blocking state [ 456.059821] br0: port 2(s1) entered forwarding state [ 457.668642] 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 ] [ 470.286946] eth0: left promiscuous mode [ 470.325535] br0: port 3(c0) entered disabled state [ 470.326242] c0 (unregistering): left allmulticast mode [ 470.326523] c0 (unregistering): left promiscuous mode [ 470.326866] br0: port 3(c0) entered disabled state [ 470.403143] br0: port 1(s0) entered disabled state [ 470.403584] bond0: (slave eth0): Releasing active interface [ 470.403916] bond0: (slave eth0): the permanent HWaddr of slave - 56:23:01:7b:ce:de - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 470.404727] bond0: (slave eth1): making interface the new active one [ 470.415154] s0 (unregistering): left allmulticast mode [ 470.415457] s0 (unregistering): left promiscuous mode [ 470.415722] br0: port 1(s0) entered disabled state [ 470.439485] br0: port 2(s1) entered disabled state [ 470.440088] bond0: (slave eth1): Releasing active interface [ 470.450527] s1 (unregistering): left allmulticast mode [ 470.450978] s1 (unregistering): left promiscuous mode [ 470.451369] br0: port 2(s1) entered disabled state [ 470.474705] 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__->