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 [ 431.033598] br0: port 1(s0) entered blocking state [ 431.033889] br0: port 1(s0) entered disabled state [ 431.034246] s0: entered allmulticast mode [ 431.034539] s0: entered promiscuous mode [ 431.047602] bond0: (slave eth0): making interface the new active one [ 431.048012] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.048653] br0: port 1(s0) entered blocking state [ 431.048938] br0: port 1(s0) entered forwarding state [ 431.105156] br0: port 2(s1) entered blocking state [ 431.105569] br0: port 2(s1) entered disabled state [ 431.106030] s1: entered allmulticast mode [ 431.106508] s1: entered promiscuous mode [ 431.123138] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.123630] br0: port 2(s1) entered blocking state [ 431.123890] br0: port 2(s1) entered forwarding state [ 431.239928] br0: port 3(c0) entered blocking state [ 431.240247] br0: port 3(c0) entered disabled state [ 431.240512] c0: entered allmulticast mode [ 431.240805] c0: entered promiscuous mode [ 431.256397] br0: port 3(c0) entered blocking state [ 431.256693] br0: port 3(c0) entered forwarding state [ 431.353028] bond0 (unregistering): (slave eth0): Releasing backup interface [ 431.364184] bond0 (unregistering): (slave eth1): Releasing backup interface [ 431.370048] bond0 (unregistering): Released all slaves [ 431.421038] bond0: (slave eth0): making interface the new active one [ 431.421427] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.439517] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.716971] 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.350032] eth0: left promiscuous mode [ 446.363804] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.373157] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.379074] bond0 (unregistering): Released all slaves [ 446.380034] br0: port 1(s0) entered disabled state [ 446.380538] br0: port 2(s1) entered disabled state [ 446.428234] bond0: (slave eth0): making interface the new active one [ 446.428622] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.429068] br0: port 1(s0) entered blocking state [ 446.429330] br0: port 1(s0) entered forwarding state [ 446.443536] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.444212] br0: port 2(s1) entered blocking state [ 446.444509] br0: port 2(s1) entered forwarding state [ 447.639807] 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.228804] eth0: left promiscuous mode [ 460.245846] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.256315] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.262077] bond0 (unregistering): Released all slaves [ 460.263097] br0: port 1(s0) entered disabled state [ 460.263496] br0: port 2(s1) entered disabled state [ 460.316735] bond0: (slave eth0): making interface the new active one [ 460.317383] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.318290] br0: port 1(s0) entered blocking state [ 460.318673] br0: port 1(s0) entered forwarding state [ 460.335100] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.335818] br0: port 2(s1) entered blocking state [ 460.336095] br0: port 2(s1) entered forwarding state [ 461.521009] 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.156205] eth0: left promiscuous mode [ 474.197328] br0: port 3(c0) entered disabled state [ 474.198169] c0 (unregistering): left allmulticast mode [ 474.198597] c0 (unregistering): left promiscuous mode [ 474.199017] br0: port 3(c0) entered disabled state [ 474.267951] br0: port 1(s0) entered disabled state [ 474.268561] bond0: (slave eth0): Releasing active interface [ 474.268881] bond0: (slave eth0): the permanent HWaddr of slave - e6:52:2f:cc:4b:08 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.269754] bond0: (slave eth1): making interface the new active one [ 474.280312] s0 (unregistering): left allmulticast mode [ 474.280639] s0 (unregistering): left promiscuous mode [ 474.280945] br0: port 1(s0) entered disabled state [ 474.307440] br0: port 2(s1) entered disabled state [ 474.308062] bond0: (slave eth1): Releasing active interface [ 474.321440] s1 (unregistering): left allmulticast mode [ 474.321763] s1 (unregistering): left promiscuous mode [ 474.322051] br0: port 2(s1) entered disabled state [ 474.349177] 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__->