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 [ 433.961779] br0: port 1(s0) entered blocking state [ 433.962157] br0: port 1(s0) entered disabled state [ 433.962531] s0: entered allmulticast mode [ 433.963011] s0: entered promiscuous mode [ 433.979826] bond0: (slave eth0): making interface the new active one [ 433.980243] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.980961] br0: port 1(s0) entered blocking state [ 433.981227] br0: port 1(s0) entered forwarding state [ 434.052901] br0: port 2(s1) entered blocking state [ 434.053323] br0: port 2(s1) entered disabled state [ 434.053711] s1: entered allmulticast mode [ 434.054159] s1: entered promiscuous mode [ 434.071033] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.071964] br0: port 2(s1) entered blocking state [ 434.072250] br0: port 2(s1) entered forwarding state [ 434.207045] br0: port 3(c0) entered blocking state [ 434.207468] br0: port 3(c0) entered disabled state [ 434.207878] c0: entered allmulticast mode [ 434.208304] c0: entered promiscuous mode [ 434.225314] br0: port 3(c0) entered blocking state [ 434.225637] br0: port 3(c0) entered forwarding state [ 434.338267] bond0 (unregistering): (slave eth0): Releasing backup interface [ 434.346999] bond0 (unregistering): (slave eth1): Releasing backup interface [ 434.352855] bond0 (unregistering): Released all slaves [ 434.406477] bond0: (slave eth0): making interface the new active one [ 434.407054] bond0: (slave eth0): Enslaving as an active interface with an up link [ 434.420501] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 436.227364] 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 ] [ 448.843104] eth0: left promiscuous mode [ 448.859274] bond0 (unregistering): (slave eth0): Releasing backup interface [ 448.871068] bond0 (unregistering): (slave eth1): Releasing backup interface [ 448.882977] bond0 (unregistering): Released all slaves [ 448.884167] br0: port 1(s0) entered disabled state [ 448.884891] br0: port 2(s1) entered disabled state [ 448.931293] bond0: (slave eth0): making interface the new active one [ 448.931743] bond0: (slave eth0): Enslaving as an active interface with an up link [ 448.932412] br0: port 1(s0) entered blocking state [ 448.932715] br0: port 1(s0) entered forwarding state [ 448.950143] bond0: (slave eth1): Enslaving as an active interface with an up link [ 448.950909] br0: port 2(s1) entered blocking state [ 448.951178] br0: port 2(s1) entered forwarding state [ 450.295778] 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 ] [ 462.916588] eth0: left promiscuous mode [ 462.932101] bond0 (unregistering): (slave eth0): Releasing active interface [ 462.941111] bond0 (unregistering): (slave eth1): Releasing active interface [ 462.946944] bond0 (unregistering): Released all slaves [ 462.947842] br0: port 1(s0) entered disabled state [ 462.948239] br0: port 2(s1) entered disabled state [ 462.997637] bond0: (slave eth0): making interface the new active one [ 462.998081] bond0: (slave eth0): Enslaving as an active interface with an up link [ 462.998804] br0: port 1(s0) entered blocking state [ 462.999076] br0: port 1(s0) entered forwarding state [ 463.015145] bond0: (slave eth1): Enslaving as an active interface with an up link [ 463.016147] br0: port 2(s1) entered blocking state [ 463.016544] br0: port 2(s1) entered forwarding state [ 464.660967] 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 ] [ 477.320540] eth0: left promiscuous mode [ 477.370592] br0: port 3(c0) entered disabled state [ 477.371321] c0 (unregistering): left allmulticast mode [ 477.371632] c0 (unregistering): left promiscuous mode [ 477.371938] br0: port 3(c0) entered disabled state [ 477.439330] br0: port 1(s0) entered disabled state [ 477.440125] bond0: (slave eth0): Releasing active interface [ 477.440545] bond0: (slave eth0): the permanent HWaddr of slave - ba:93:4e:e2:ed:e3 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 477.441578] bond0: (slave eth1): making interface the new active one [ 477.458156] s0 (unregistering): left allmulticast mode [ 477.458475] s0 (unregistering): left promiscuous mode [ 477.458769] br0: port 1(s0) entered disabled state [ 477.482859] br0: port 2(s1) entered disabled state [ 477.483319] bond0: (slave eth1): Releasing active interface [ 477.494441] s1 (unregistering): left allmulticast mode [ 477.494866] s1 (unregistering): left promiscuous mode [ 477.495247] br0: port 2(s1) entered disabled state [ 477.522464] 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__->