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-10/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' TAP version 13 1..1 # timeout set to 1200 # selftests: drivers/net/bonding: bond_macvlan.sh [ 688.457403][ T4967] br0: port 1(s0) entered blocking state [ 688.457890][ T4967] br0: port 1(s0) entered disabled state [ 688.459494][ T4967] s0: entered allmulticast mode [ 688.461790][ T4967] s0: entered promiscuous mode [ 688.643338][ T4968] bond0: (slave eth0): making interface the new active one [ 688.644078][ T4968] bond0: (slave eth0): Enslaving as an active interface with an up link [ 688.645464][ T8] br0: port 1(s0) entered blocking state [ 688.645798][ T8] br0: port 1(s0) entered forwarding state [ 689.519897][ T4972] br0: port 2(s1) entered blocking state [ 689.520927][ T4972] br0: port 2(s1) entered disabled state [ 689.521467][ T4972] s1: entered allmulticast mode [ 689.523609][ T4972] s1: entered promiscuous mode [ 689.773220][ T4973] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 689.776061][ T48] br0: port 2(s1) entered blocking state [ 689.776545][ T48] br0: port 2(s1) entered forwarding state [ 691.464024][ T4982] br0: port 3(c0) entered blocking state [ 691.464866][ T4982] br0: port 3(c0) entered disabled state [ 691.465255][ T4982] c0: entered allmulticast mode [ 691.466745][ T4982] c0: entered promiscuous mode [ 691.663486][ T48] br0: port 3(c0) entered blocking state [ 691.663842][ T48] br0: port 3(c0) entered forwarding state [ 692.967961][ T4992] bond0 (unregistering): (slave eth0): Releasing backup interface [ 692.984902][ T4992] bond0 (unregistering): (slave eth1): Releasing backup interface [ 692.995017][ T4992] bond0 (unregistering): Released all slaves [ 693.008585][ T48] br0: port 1(s0) entered disabled state [ 693.009801][ T48] br0: port 2(s1) entered disabled state [ 693.571343][ T4996] bond0: (slave eth0): making interface the new active one [ 693.572071][ T4996] bond0: (slave eth0): Enslaving as an active interface with an up link [ 693.573459][ T8] br0: port 1(s0) entered blocking state [ 693.573777][ T8] br0: port 1(s0) entered forwarding state [ 693.770411][ T4997] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 693.771186][ T48] br0: port 2(s1) entered blocking state [ 693.771499][ T48] br0: port 2(s1) entered forwarding state [ 696.379407][ T5008] 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 ] [ 715.602965][ T5038] eth0: left promiscuous mode [ 715.780861][ T5039] bond0 (unregistering): (slave eth0): Releasing backup interface [ 715.799281][ T5039] bond0 (unregistering): (slave eth1): Releasing backup interface [ 715.809068][ T5039] bond0 (unregistering): Released all slaves [ 715.823220][ T48] br0: port 1(s0) entered disabled state [ 715.824760][ T48] br0: port 2(s1) entered disabled state [ 716.390512][ T5043] bond0: (slave eth0): making interface the new active one [ 716.391352][ T5043] bond0: (slave eth0): Enslaving as an active interface with an up link [ 716.395508][ T28] br0: port 1(s0) entered blocking state [ 716.395971][ T28] br0: port 1(s0) entered forwarding state [ 716.591611][ T5044] bond0: (slave eth1): Enslaving as an active interface with an up link [ 716.594365][ T8] br0: port 2(s1) entered blocking state [ 716.594689][ T8] br0: port 2(s1) entered forwarding state [ 719.532003][ T5058] 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 ] [ 738.951669][ T5088] eth0: left promiscuous mode [ 739.174485][ T5089] bond0 (unregistering): (slave eth0): Releasing active interface [ 739.184321][ T5089] bond0 (unregistering): (slave eth1): Releasing active interface [ 739.195128][ T5089] bond0 (unregistering): Released all slaves [ 739.216760][ T2497] br0: port 1(s0) entered disabled state [ 739.219173][ T2497] br0: port 2(s1) entered disabled state [ 739.752179][ T5094] bond0: (slave eth0): making interface the new active one [ 739.753660][ T5094] bond0: (slave eth0): Enslaving as an active interface with an up link [ 739.754493][ T4980] br0: port 1(s0) entered blocking state [ 739.754811][ T4980] br0: port 1(s0) entered forwarding state [ 739.942523][ T5095] bond0: (slave eth1): Enslaving as an active interface with an up link [ 739.943393][ T8] br0: port 2(s1) entered blocking state [ 739.943732][ T8] br0: port 2(s1) entered forwarding state [ 742.884367][ T5109] 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 ] [ 762.349651][ T5138] eth0: left promiscuous mode [ 762.802644][ T5141] br0: port 3(c0) entered disabled state [ 762.807519][ T5141] c0 (unregistering): left allmulticast mode [ 762.807855][ T5141] c0 (unregistering): left promiscuous mode [ 762.809316][ T5141] br0: port 3(c0) entered disabled state [ 763.536311][ T5148] br0: port 1(s0) entered disabled state [ 763.539322][ T5148] bond0: (slave eth0): Releasing active interface [ 763.539679][ T5148] bond0: (slave eth0): the permanent HWaddr of slave - 56:68:9d:8a:c7:4f - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 763.540600][ T5148] bond0: (slave eth1): making interface the new active one [ 763.561444][ T5148] s0 (unregistering): left allmulticast mode [ 763.561829][ T5148] s0 (unregistering): left promiscuous mode [ 763.562177][ T5148] br0: port 1(s0) entered disabled state [ 763.771072][ T5149] br0: port 2(s1) entered disabled state [ 763.773722][ T5149] bond0: (slave eth1): Releasing active interface [ 763.789577][ T5149] s1 (unregistering): left allmulticast mode [ 763.789920][ T5149] s1 (unregistering): left promiscuous mode [ 763.790243][ T5149] br0: port 2(s1) entered disabled state [ 764.006063][ T4889] bond0 (unregistering): Released all slaves ok 1 selftests: drivers/net/bonding: bond_macvlan.sh make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing-10/tools/testing/selftests' xx__-> echo $? 0 xx__->