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.933958] br0: port 1(s0) entered blocking state [ 428.934372] br0: port 1(s0) entered disabled state [ 428.934753] s0: entered allmulticast mode [ 428.935199] s0: entered promiscuous mode [ 428.951443] bond0: (slave eth0): making interface the new active one [ 428.951825] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.952524] br0: port 1(s0) entered blocking state [ 428.952789] br0: port 1(s0) entered forwarding state [ 429.018022] br0: port 2(s1) entered blocking state [ 429.018441] br0: port 2(s1) entered disabled state [ 429.018823] s1: entered allmulticast mode [ 429.019280] s1: entered promiscuous mode [ 429.035218] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 429.035924] br0: port 2(s1) entered blocking state [ 429.036186] br0: port 2(s1) entered forwarding state [ 429.167383] br0: port 3(c0) entered blocking state [ 429.167693] br0: port 3(c0) entered disabled state [ 429.167998] c0: entered allmulticast mode [ 429.168315] c0: entered promiscuous mode [ 429.182354] br0: port 3(c0) entered blocking state [ 429.182652] br0: port 3(c0) entered forwarding state [ 429.287093] bond0 (unregistering): (slave eth0): Releasing backup interface [ 429.301134] bond0 (unregistering): (slave eth1): Releasing backup interface [ 429.306996] bond0 (unregistering): Released all slaves [ 429.355118] bond0: (slave eth0): making interface the new active one [ 429.355538] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.369264] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.536942] 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.128248] eth0: left promiscuous mode [ 444.143748] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.155075] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.163971] bond0 (unregistering): Released all slaves [ 444.164686] br0: port 1(s0) entered disabled state [ 444.165085] br0: port 2(s1) entered disabled state [ 444.209133] bond0: (slave eth0): making interface the new active one [ 444.209612] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.210476] br0: port 1(s0) entered blocking state [ 444.210852] br0: port 1(s0) entered forwarding state [ 444.225406] bond0: (slave eth1): Enslaving as an active interface with an up link [ 444.226186] br0: port 2(s1) entered blocking state [ 444.226483] br0: port 2(s1) entered forwarding state [ 445.951125] 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.522672] eth0: left promiscuous mode [ 458.535388] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.547054] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.556061] bond0 (unregistering): Released all slaves [ 458.557214] br0: port 1(s0) entered disabled state [ 458.557734] br0: port 2(s1) entered disabled state [ 458.605469] bond0: (slave eth0): making interface the new active one [ 458.605883] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.606697] br0: port 1(s0) entered blocking state [ 458.606978] br0: port 1(s0) entered forwarding state [ 458.625067] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.626036] br0: port 2(s1) entered blocking state [ 458.626445] br0: port 2(s1) entered forwarding state [ 459.942657] 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.541356] eth0: left promiscuous mode [ 472.582671] br0: port 3(c0) entered disabled state [ 472.583705] c0 (unregistering): left allmulticast mode [ 472.584123] c0 (unregistering): left promiscuous mode [ 472.584497] br0: port 3(c0) entered disabled state [ 472.652066] br0: port 1(s0) entered disabled state [ 472.652989] bond0: (slave eth0): Releasing active interface [ 472.653442] bond0: (slave eth0): the permanent HWaddr of slave - 02:4f:d3:24:fe:be - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.654668] bond0: (slave eth1): making interface the new active one [ 472.665388] s0 (unregistering): left allmulticast mode [ 472.665799] s0 (unregistering): left promiscuous mode [ 472.666189] br0: port 1(s0) entered disabled state [ 472.689381] br0: port 2(s1) entered disabled state [ 472.689861] bond0: (slave eth1): Releasing active interface [ 472.699381] s1 (unregistering): left allmulticast mode [ 472.699715] s1 (unregistering): left promiscuous mode [ 472.700000] br0: port 2(s1) entered disabled state [ 472.724517] 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__->