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 # overriding timeout to 2400 # selftests: drivers/net/bonding: bond_macvlan.sh [ 682.380459][ T4990] br0: port 1(s0) entered blocking state [ 682.380819][ T4990] br0: port 1(s0) entered disabled state [ 682.381159][ T4990] s0: entered allmulticast mode [ 682.382946][ T4990] s0: entered promiscuous mode [ 682.559563][ T4991] bond0: (slave eth0): making interface the new active one [ 682.560359][ T4991] bond0: (slave eth0): Enslaving as an active interface with an up link [ 682.564274][ T4920] br0: port 1(s0) entered blocking state [ 682.564595][ T4920] br0: port 1(s0) entered forwarding state [ 683.391684][ T4995] br0: port 2(s1) entered blocking state [ 683.392175][ T4995] br0: port 2(s1) entered disabled state [ 683.393511][ T4995] s1: entered allmulticast mode [ 683.395769][ T4995] s1: entered promiscuous mode [ 683.636069][ T4996] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 683.640562][ T331] br0: port 2(s1) entered blocking state [ 683.641050][ T331] br0: port 2(s1) entered forwarding state [ 685.204772][ T5004] br0: port 3(c0) entered blocking state [ 685.205119][ T5004] br0: port 3(c0) entered disabled state [ 685.205476][ T5004] c0: entered allmulticast mode [ 685.206924][ T5004] c0: entered promiscuous mode [ 685.378673][ T50] br0: port 3(c0) entered blocking state [ 685.379168][ T50] br0: port 3(c0) entered forwarding state [ 686.728729][ T5014] bond0 (unregistering): (slave eth0): Releasing backup interface [ 686.745892][ T5014] bond0 (unregistering): (slave eth1): Releasing backup interface [ 686.756630][ T5014] bond0 (unregistering): Released all slaves [ 686.777986][ T331] br0: port 1(s0) entered disabled state [ 686.779548][ T331] br0: port 2(s1) entered disabled state [ 687.347150][ T5018] bond0: (slave eth0): making interface the new active one [ 687.347925][ T5018] bond0: (slave eth0): Enslaving as an active interface with an up link [ 687.348618][ T331] br0: port 1(s0) entered blocking state [ 687.348930][ T331] br0: port 1(s0) entered forwarding state [ 687.528537][ T5019] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 687.529463][ T2809] br0: port 2(s1) entered blocking state [ 687.529798][ T2809] br0: port 2(s1) entered forwarding state [ 689.921835][ T5030] 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 ] [ 709.490715][ T5060] eth0: left promiscuous mode [ 709.686854][ T5061] bond0 (unregistering): (slave eth0): Releasing backup interface [ 709.697240][ T5061] bond0 (unregistering): (slave eth1): Releasing backup interface [ 709.706295][ T5061] bond0 (unregistering): Released all slaves [ 709.721447][ T50] br0: port 1(s0) entered disabled state [ 709.723050][ T50] br0: port 2(s1) entered disabled state [ 710.285151][ T5066] bond0: (slave eth0): making interface the new active one [ 710.286470][ T5066] bond0: (slave eth0): Enslaving as an active interface with an up link [ 710.288697][ T4920] br0: port 1(s0) entered blocking state [ 710.289178][ T4920] br0: port 1(s0) entered forwarding state [ 710.466821][ T5067] bond0: (slave eth1): Enslaving as an active interface with an up link [ 710.468513][ T50] br0: port 2(s1) entered blocking state [ 710.468841][ T50] br0: port 2(s1) entered forwarding state [ 712.764907][ T5078] 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 ] [ 732.051993][ T5108] eth0: left promiscuous mode [ 732.240934][ T5109] bond0 (unregistering): (slave eth0): Releasing active interface [ 732.256904][ T5109] bond0 (unregistering): (slave eth1): Releasing active interface [ 732.266304][ T5109] bond0 (unregistering): Released all slaves [ 732.281429][ T2809] br0: port 1(s0) entered disabled state [ 732.282965][ T2809] br0: port 2(s1) entered disabled state [ 732.877631][ T5114] bond0: (slave eth0): making interface the new active one [ 732.878688][ T5114] bond0: (slave eth0): Enslaving as an active interface with an up link [ 732.879607][ T4920] br0: port 1(s0) entered blocking state [ 732.880061][ T4920] br0: port 1(s0) entered forwarding state [ 733.063041][ T5115] bond0: (slave eth1): Enslaving as an active interface with an up link [ 733.064286][ T50] br0: port 2(s1) entered blocking state [ 733.064602][ T50] br0: port 2(s1) entered forwarding state [ 735.312512][ T5126] 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 ] [ 754.532075][ T5155] eth0: left promiscuous mode [ 754.889004][ T5158] br0: port 3(c0) entered disabled state [ 754.894588][ T5158] c0 (unregistering): left allmulticast mode [ 754.895025][ T5158] c0 (unregistering): left promiscuous mode [ 754.896274][ T5158] br0: port 3(c0) entered disabled state [ 755.683126][ T5165] br0: port 1(s0) entered disabled state [ 755.686565][ T5165] bond0: (slave eth0): Releasing active interface [ 755.687078][ T5165] bond0: (slave eth0): the permanent HWaddr of slave - 02:d3:52:51:23:13 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 755.689182][ T5165] bond0: (slave eth1): making interface the new active one [ 755.707457][ T5165] s0 (unregistering): left allmulticast mode [ 755.707955][ T5165] s0 (unregistering): left promiscuous mode [ 755.708646][ T5165] br0: port 1(s0) entered disabled state [ 755.912781][ T5166] br0: port 2(s1) entered disabled state [ 755.914742][ T5166] bond0: (slave eth1): Releasing active interface [ 755.941154][ T5166] s1 (unregistering): left allmulticast mode [ 755.941697][ T5166] s1 (unregistering): left promiscuous mode [ 755.942145][ T5166] br0: port 2(s1) entered disabled state [ 756.132267][ T70] 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__->