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 [ 684.304893] br0: port 1(s0) entered blocking state [ 684.305179] br0: port 1(s0) entered disabled state [ 684.305457] s0: entered allmulticast mode [ 684.305763] s0: entered promiscuous mode [ 684.321400] bond0: (slave eth0): making interface the new active one [ 684.321975] bond0: (slave eth0): Enslaving as an active interface with an up link [ 684.322643] br0: port 1(s0) entered blocking state [ 684.322916] br0: port 1(s0) entered forwarding state [ 684.383487] br0: port 2(s1) entered blocking state [ 684.383976] br0: port 2(s1) entered disabled state [ 684.384447] s1: entered allmulticast mode [ 684.384886] s1: entered promiscuous mode [ 684.399339] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 684.400058] br0: port 2(s1) entered blocking state [ 684.400313] br0: port 2(s1) entered forwarding state [ 686.532396] br0: port 3(c0) entered blocking state [ 686.532735] br0: port 3(c0) entered disabled state [ 686.533023] c0: entered allmulticast mode [ 686.533310] c0: entered promiscuous mode [ 686.549047] br0: port 3(c0) entered blocking state [ 686.549334] br0: port 3(c0) entered forwarding state [ 686.655417] bond0 (unregistering): (slave eth0): Releasing backup interface [ 686.662939] bond0 (unregistering): (slave eth1): Releasing backup interface [ 686.670841] bond0 (unregistering): Released all slaves [ 686.724631] bond0: (slave eth0): making interface the new active one [ 686.725277] bond0: (slave eth0): Enslaving as an active interface with an up link [ 686.742341] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 688.855017] 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 ] [ 701.452393] eth0: left promiscuous mode [ 701.471202] bond0 (unregistering): (slave eth0): Releasing backup interface [ 701.485989] bond0 (unregistering): (slave eth1): Releasing backup interface [ 701.491849] bond0 (unregistering): Released all slaves [ 701.492783] br0: port 1(s0) entered disabled state [ 701.493200] br0: port 2(s1) entered disabled state [ 701.548463] bond0: (slave eth0): making interface the new active one [ 701.548984] bond0: (slave eth0): Enslaving as an active interface with an up link [ 701.549716] br0: port 1(s0) entered blocking state [ 701.550004] br0: port 1(s0) entered forwarding state [ 701.563776] bond0: (slave eth1): Enslaving as an active interface with an up link [ 701.564475] br0: port 2(s1) entered blocking state [ 701.564749] br0: port 2(s1) entered forwarding state [ 703.677664] 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 ] [ 716.282482] eth0: left promiscuous mode [ 716.295983] bond0 (unregistering): (slave eth0): Releasing active interface [ 716.307031] bond0 (unregistering): (slave eth1): Releasing active interface [ 716.312836] bond0 (unregistering): Released all slaves [ 716.313702] br0: port 1(s0) entered disabled state [ 716.314086] br0: port 2(s1) entered disabled state [ 716.359872] bond0: (slave eth0): making interface the new active one [ 716.360267] bond0: (slave eth0): Enslaving as an active interface with an up link [ 716.360919] br0: port 1(s0) entered blocking state [ 716.361206] br0: port 1(s0) entered forwarding state [ 716.376887] bond0: (slave eth1): Enslaving as an active interface with an up link [ 716.377648] br0: port 2(s1) entered blocking state [ 716.377931] br0: port 2(s1) entered forwarding state [ 718.482356] 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 ] [ 731.112192] eth0: left promiscuous mode [ 731.157932] br0: port 3(c0) entered disabled state [ 731.158963] c0 (unregistering): left allmulticast mode [ 731.159367] c0 (unregistering): left promiscuous mode [ 731.159769] br0: port 3(c0) entered disabled state [ 731.220642] br0: port 1(s0) entered disabled state [ 731.221200] bond0: (slave eth0): Releasing active interface [ 731.221513] bond0: (slave eth0): the permanent HWaddr of slave - fa:f2:36:cc:e0:92 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 731.222613] bond0: (slave eth1): making interface the new active one [ 731.233166] s0 (unregistering): left allmulticast mode [ 731.233551] s0 (unregistering): left promiscuous mode [ 731.233897] br0: port 1(s0) entered disabled state [ 731.258698] br0: port 2(s1) entered disabled state [ 731.259266] bond0: (slave eth1): Releasing active interface [ 731.266410] s1 (unregistering): left allmulticast mode [ 731.266854] s1 (unregistering): left promiscuous mode [ 731.267249] br0: port 2(s1) entered disabled state [ 731.330241] 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__->