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 [ 427.988354] br0: port 1(s0) entered blocking state [ 427.988783] br0: port 1(s0) entered disabled state [ 427.989154] s0: entered allmulticast mode [ 427.989447] s0: entered promiscuous mode [ 428.003985] bond0: (slave eth0): making interface the new active one [ 428.004394] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.005175] br0: port 1(s0) entered blocking state [ 428.005466] br0: port 1(s0) entered forwarding state [ 428.060198] br0: port 2(s1) entered blocking state [ 428.060536] br0: port 2(s1) entered disabled state [ 428.060827] s1: entered allmulticast mode [ 428.061150] s1: entered promiscuous mode [ 428.074789] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.075476] br0: port 2(s1) entered blocking state [ 428.075750] br0: port 2(s1) entered forwarding state [ 428.189227] br0: port 3(c0) entered blocking state [ 428.189527] br0: port 3(c0) entered disabled state [ 428.189794] c0: entered allmulticast mode [ 428.190104] c0: entered promiscuous mode [ 428.205734] br0: port 3(c0) entered blocking state [ 428.206151] br0: port 3(c0) entered forwarding state [ 428.308639] bond0 (unregistering): (slave eth0): Releasing backup interface [ 428.317599] bond0 (unregistering): (slave eth1): Releasing backup interface [ 428.325508] bond0 (unregistering): Released all slaves [ 428.368568] bond0: (slave eth0): making interface the new active one [ 428.368949] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.381861] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.121813] 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 ] [ 442.750509] eth0: left promiscuous mode [ 442.765236] bond0 (unregistering): (slave eth0): Releasing backup interface [ 442.776720] bond0 (unregistering): (slave eth1): Releasing backup interface [ 442.789526] bond0 (unregistering): Released all slaves [ 442.790222] br0: port 1(s0) entered disabled state [ 442.790635] br0: port 2(s1) entered disabled state [ 442.830888] bond0: (slave eth0): making interface the new active one [ 442.831328] bond0: (slave eth0): Enslaving as an active interface with an up link [ 442.832052] br0: port 1(s0) entered blocking state [ 442.832325] br0: port 1(s0) entered forwarding state [ 442.845792] bond0: (slave eth1): Enslaving as an active interface with an up link [ 442.846439] br0: port 2(s1) entered blocking state [ 442.846703] br0: port 2(s1) entered forwarding state [ 444.271102] 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 ] [ 456.941454] eth0: left promiscuous mode [ 456.956827] bond0 (unregistering): (slave eth0): Releasing active interface [ 456.967690] bond0 (unregistering): (slave eth1): Releasing active interface [ 456.973564] bond0 (unregistering): Released all slaves [ 456.974458] br0: port 1(s0) entered disabled state [ 456.974853] br0: port 2(s1) entered disabled state [ 457.024059] bond0: (slave eth0): making interface the new active one [ 457.024514] bond0: (slave eth0): Enslaving as an active interface with an up link [ 457.024942] br0: port 1(s0) entered blocking state [ 457.025227] br0: port 1(s0) entered forwarding state [ 457.040077] bond0: (slave eth1): Enslaving as an active interface with an up link [ 457.040925] br0: port 2(s1) entered blocking state [ 457.041227] br0: port 2(s1) entered forwarding state [ 458.996802] 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 ] [ 471.684029] eth0: left promiscuous mode [ 471.726053] br0: port 3(c0) entered disabled state [ 471.726796] c0 (unregistering): left allmulticast mode [ 471.727196] c0 (unregistering): left promiscuous mode [ 471.727634] br0: port 3(c0) entered disabled state [ 471.792566] br0: port 1(s0) entered disabled state [ 471.792997] bond0: (slave eth0): Releasing active interface [ 471.793298] bond0: (slave eth0): the permanent HWaddr of slave - ba:b6:0c:eb:50:92 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 471.794133] bond0: (slave eth1): making interface the new active one [ 471.804872] s0 (unregistering): left allmulticast mode [ 471.805191] s0 (unregistering): left promiscuous mode [ 471.805511] br0: port 1(s0) entered disabled state [ 471.829462] br0: port 2(s1) entered disabled state [ 471.830046] bond0: (slave eth1): Releasing active interface [ 471.843937] s1 (unregistering): left allmulticast mode [ 471.844251] s1 (unregistering): left promiscuous mode [ 471.844555] br0: port 2(s1) entered disabled state [ 471.869211] 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__->