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 [ 428.974418] br0: port 1(s0) entered blocking state [ 428.974951] br0: port 1(s0) entered disabled state [ 428.975445] s0: entered allmulticast mode [ 428.975958] s0: entered promiscuous mode [ 428.990665] bond0: (slave eth0): making interface the new active one [ 428.991093] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.991773] br0: port 1(s0) entered blocking state [ 428.992048] br0: port 1(s0) entered forwarding state [ 429.051150] br0: port 2(s1) entered blocking state [ 429.051437] br0: port 2(s1) entered disabled state [ 429.051698] s1: entered allmulticast mode [ 429.051997] s1: entered promiscuous mode [ 429.065523] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 429.066242] br0: port 2(s1) entered blocking state [ 429.066511] br0: port 2(s1) entered forwarding state [ 429.183525] br0: port 3(c0) entered blocking state [ 429.183849] br0: port 3(c0) entered disabled state [ 429.184129] c0: entered allmulticast mode [ 429.184430] c0: entered promiscuous mode [ 429.198898] br0: port 3(c0) entered blocking state [ 429.199228] br0: port 3(c0) entered forwarding state [ 429.307108] bond0 (unregistering): (slave eth0): Releasing backup interface [ 429.320214] bond0 (unregistering): (slave eth1): Releasing backup interface [ 429.326045] bond0 (unregistering): Released all slaves [ 429.382283] bond0: (slave eth0): making interface the new active one [ 429.382820] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.399914] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.605015] 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.172324] eth0: left promiscuous mode [ 444.186902] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.197141] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.203006] bond0 (unregistering): Released all slaves [ 444.203801] br0: port 1(s0) entered disabled state [ 444.204222] br0: port 2(s1) entered disabled state [ 444.247018] bond0: (slave eth0): making interface the new active one [ 444.247403] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.248044] br0: port 1(s0) entered blocking state [ 444.248305] br0: port 1(s0) entered forwarding state [ 444.260619] bond0: (slave eth1): Enslaving as an active interface with an up link [ 444.261387] br0: port 2(s1) entered blocking state [ 444.261684] br0: port 2(s1) entered forwarding state [ 445.827655] 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 ] [ 458.371136] eth0: left promiscuous mode [ 458.386358] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.397140] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.402999] bond0 (unregistering): Released all slaves [ 458.403771] br0: port 1(s0) entered disabled state [ 458.404137] br0: port 2(s1) entered disabled state [ 458.447804] bond0: (slave eth0): making interface the new active one [ 458.448306] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.449098] br0: port 1(s0) entered blocking state [ 458.449372] br0: port 1(s0) entered forwarding state [ 458.462549] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.463294] br0: port 2(s1) entered blocking state [ 458.463559] br0: port 2(s1) entered forwarding state [ 459.790152] 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 ] [ 472.393664] eth0: left promiscuous mode [ 472.442167] br0: port 3(c0) entered disabled state [ 472.442846] c0 (unregistering): left allmulticast mode [ 472.443165] c0 (unregistering): left promiscuous mode [ 472.443440] br0: port 3(c0) entered disabled state [ 472.509313] br0: port 1(s0) entered disabled state [ 472.510001] bond0: (slave eth0): Releasing active interface [ 472.510450] bond0: (slave eth0): the permanent HWaddr of slave - 22:dd:23:89:80:23 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.511697] bond0: (slave eth1): making interface the new active one [ 472.520410] s0 (unregistering): left allmulticast mode [ 472.520816] s0 (unregistering): left promiscuous mode [ 472.521220] br0: port 1(s0) entered disabled state [ 472.545078] br0: port 2(s1) entered disabled state [ 472.545625] bond0: (slave eth1): Releasing active interface [ 472.559483] s1 (unregistering): left allmulticast mode [ 472.559925] s1 (unregistering): left promiscuous mode [ 472.560319] br0: port 2(s1) entered disabled state [ 472.583037] 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__->