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 [ 430.925474] br0: port 1(s0) entered blocking state [ 430.925787] br0: port 1(s0) entered disabled state [ 430.926062] s0: entered allmulticast mode [ 430.926367] s0: entered promiscuous mode [ 430.939647] bond0: (slave eth0): making interface the new active one [ 430.940128] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.940904] br0: port 1(s0) entered blocking state [ 430.941169] br0: port 1(s0) entered forwarding state [ 430.999246] br0: port 2(s1) entered blocking state [ 430.999550] br0: port 2(s1) entered disabled state [ 430.999824] s1: entered allmulticast mode [ 431.000120] s1: entered promiscuous mode [ 431.015855] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.016574] br0: port 2(s1) entered blocking state [ 431.016883] br0: port 2(s1) entered forwarding state [ 431.148527] br0: port 3(c0) entered blocking state [ 431.148938] br0: port 3(c0) entered disabled state [ 431.149229] c0: entered allmulticast mode [ 431.149533] c0: entered promiscuous mode [ 431.165629] br0: port 3(c0) entered blocking state [ 431.165947] br0: port 3(c0) entered forwarding state [ 431.276056] bond0 (unregistering): (slave eth0): Releasing backup interface [ 431.284867] bond0 (unregistering): (slave eth1): Releasing backup interface [ 431.290753] bond0 (unregistering): Released all slaves [ 431.342100] bond0: (slave eth0): making interface the new active one [ 431.342672] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.360112] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.712371] 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 ] [ 446.294365] eth0: left promiscuous mode [ 446.309048] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.317957] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.323793] bond0 (unregistering): Released all slaves [ 446.325009] br0: port 1(s0) entered disabled state [ 446.325556] br0: port 2(s1) entered disabled state [ 446.375303] bond0: (slave eth0): making interface the new active one [ 446.375698] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.376321] br0: port 1(s0) entered blocking state [ 446.376575] br0: port 1(s0) entered forwarding state [ 446.392887] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.393524] br0: port 2(s1) entered blocking state [ 446.393798] br0: port 2(s1) entered forwarding state [ 447.893891] 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 ] [ 460.533269] eth0: left promiscuous mode [ 460.549084] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.559796] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.568754] bond0 (unregistering): Released all slaves [ 460.569696] br0: port 1(s0) entered disabled state [ 460.570088] br0: port 2(s1) entered disabled state [ 460.621508] bond0: (slave eth0): making interface the new active one [ 460.622097] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.623004] br0: port 1(s0) entered blocking state [ 460.623395] br0: port 1(s0) entered forwarding state [ 460.639926] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.640612] br0: port 2(s1) entered blocking state [ 460.640872] br0: port 2(s1) entered forwarding state [ 462.154007] 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 ] [ 474.746288] eth0: left promiscuous mode [ 474.783891] br0: port 3(c0) entered disabled state [ 474.784584] c0 (unregistering): left allmulticast mode [ 474.784879] c0 (unregistering): left promiscuous mode [ 474.785137] br0: port 3(c0) entered disabled state [ 474.846002] br0: port 1(s0) entered disabled state [ 474.846400] bond0: (slave eth0): Releasing active interface [ 474.846725] bond0: (slave eth0): the permanent HWaddr of slave - e6:52:cb:bd:54:ad - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.847530] bond0: (slave eth1): making interface the new active one [ 474.858968] s0 (unregistering): left allmulticast mode [ 474.859282] s0 (unregistering): left promiscuous mode [ 474.859573] br0: port 1(s0) entered disabled state [ 474.887258] br0: port 2(s1) entered disabled state [ 474.887770] bond0: (slave eth1): Releasing active interface [ 474.898043] s1 (unregistering): left allmulticast mode [ 474.898332] s1 (unregistering): left promiscuous mode [ 474.898609] br0: port 2(s1) entered disabled state [ 474.923166] 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__->