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 [ 680.441593][ T4996] br0: port 1(s0) entered blocking state [ 680.441953][ T4996] br0: port 1(s0) entered disabled state [ 680.442324][ T4996] s0: entered allmulticast mode [ 680.443875][ T4996] s0: entered promiscuous mode [ 680.638162][ T4997] bond0: (slave eth0): making interface the new active one [ 680.638983][ T4997] bond0: (slave eth0): Enslaving as an active interface with an up link [ 680.641132][ T28] br0: port 1(s0) entered blocking state [ 680.641573][ T28] br0: port 1(s0) entered forwarding state [ 681.418045][ T5001] br0: port 2(s1) entered blocking state [ 681.418396][ T5001] br0: port 2(s1) entered disabled state [ 681.418729][ T5001] s1: entered allmulticast mode [ 681.420070][ T5001] s1: entered promiscuous mode [ 681.624097][ T5002] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 681.625202][ T47] br0: port 2(s1) entered blocking state [ 681.625568][ T47] br0: port 2(s1) entered forwarding state [ 683.119936][ T5010] br0: port 3(c0) entered blocking state [ 683.120290][ T5010] br0: port 3(c0) entered disabled state [ 683.120622][ T5010] c0: entered allmulticast mode [ 683.121971][ T5010] c0: entered promiscuous mode [ 683.301621][ T28] br0: port 3(c0) entered blocking state [ 683.301997][ T28] br0: port 3(c0) entered forwarding state [ 684.648706][ T5020] bond0 (unregistering): (slave eth0): Releasing backup interface [ 684.661464][ T5020] bond0 (unregistering): (slave eth1): Releasing backup interface [ 684.672812][ T5020] bond0 (unregistering): Released all slaves [ 684.702445][ T28] br0: port 1(s0) entered disabled state [ 684.705527][ T28] br0: port 2(s1) entered disabled state [ 685.303039][ T5024] bond0: (slave eth0): making interface the new active one [ 685.304689][ T5024] bond0: (slave eth0): Enslaving as an active interface with an up link [ 685.315575][ T2531] br0: port 1(s0) entered blocking state [ 685.316036][ T2531] br0: port 1(s0) entered forwarding state [ 685.509984][ T5025] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 685.513426][ T47] br0: port 2(s1) entered blocking state [ 685.513762][ T47] br0: port 2(s1) entered forwarding state [ 687.770092][ T5036] 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 ] [ 707.144955][ T5066] eth0: left promiscuous mode [ 707.334234][ T5067] bond0 (unregistering): (slave eth0): Releasing backup interface [ 707.349215][ T5067] bond0 (unregistering): (slave eth1): Releasing backup interface [ 707.359918][ T5067] bond0 (unregistering): Released all slaves [ 707.384817][ T2531] br0: port 1(s0) entered disabled state [ 707.386438][ T2531] br0: port 2(s1) entered disabled state [ 707.978343][ T5071] bond0: (slave eth0): making interface the new active one [ 707.979469][ T5071] bond0: (slave eth0): Enslaving as an active interface with an up link [ 707.982672][ T2531] br0: port 1(s0) entered blocking state [ 707.983135][ T2531] br0: port 1(s0) entered forwarding state [ 708.213707][ T5072] bond0: (slave eth1): Enslaving as an active interface with an up link [ 708.215667][ T2648] br0: port 2(s1) entered blocking state [ 708.216153][ T2648] br0: port 2(s1) entered forwarding state [ 710.625137][ T5083] 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 ] [ 730.195180][ T5113] eth0: left promiscuous mode [ 730.461758][ T5114] bond0 (unregistering): (slave eth0): Releasing active interface [ 730.483434][ T5114] bond0 (unregistering): (slave eth1): Releasing active interface [ 730.495191][ T5114] bond0 (unregistering): Released all slaves [ 730.508162][ T2648] br0: port 1(s0) entered disabled state [ 730.511630][ T2648] br0: port 2(s1) entered disabled state [ 731.018967][ T5119] bond0: (slave eth0): making interface the new active one [ 731.019975][ T5119] bond0: (slave eth0): Enslaving as an active interface with an up link [ 731.020693][ T2648] br0: port 1(s0) entered blocking state [ 731.021011][ T2648] br0: port 1(s0) entered forwarding state [ 731.186110][ T5120] bond0: (slave eth1): Enslaving as an active interface with an up link [ 731.186856][ T2648] br0: port 2(s1) entered blocking state [ 731.187195][ T2648] br0: port 2(s1) entered forwarding state [ 733.456122][ T5131] 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 ] [ 752.976657][ T5161] eth0: left promiscuous mode [ 753.368240][ T5163] br0: port 3(c0) entered disabled state [ 753.379569][ T5163] c0 (unregistering): left allmulticast mode [ 753.379935][ T5163] c0 (unregistering): left promiscuous mode [ 753.381174][ T5163] br0: port 3(c0) entered disabled state [ 754.044054][ T5170] br0: port 1(s0) entered disabled state [ 754.047207][ T5170] bond0: (slave eth0): Releasing active interface [ 754.048376][ T5170] bond0: (slave eth0): the permanent HWaddr of slave - 7e:ae:7b:94:a6:dd - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 754.049294][ T5170] bond0: (slave eth1): making interface the new active one [ 754.065923][ T5170] s0 (unregistering): left allmulticast mode [ 754.066336][ T5170] s0 (unregistering): left promiscuous mode [ 754.066695][ T5170] br0: port 1(s0) entered disabled state [ 754.252561][ T5171] br0: port 2(s1) entered disabled state [ 754.254070][ T5171] bond0: (slave eth1): Releasing active interface [ 754.271633][ T5171] s1 (unregistering): left allmulticast mode [ 754.272012][ T5171] s1 (unregistering): left promiscuous mode [ 754.272375][ T5171] br0: port 2(s1) entered disabled state [ 754.474868][ T273] 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__->