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 [ 679.090258][ T5002] br0: port 1(s0) entered blocking state [ 679.091333][ T5002] br0: port 1(s0) entered disabled state [ 679.091687][ T5002] s0: entered allmulticast mode [ 679.093060][ T5002] s0: entered promiscuous mode [ 679.279837][ T5003] bond0: (slave eth0): making interface the new active one [ 679.280584][ T5003] bond0: (slave eth0): Enslaving as an active interface with an up link [ 679.281705][ T2730] br0: port 1(s0) entered blocking state [ 679.282008][ T2730] br0: port 1(s0) entered forwarding state [ 680.008365][ T5007] br0: port 2(s1) entered blocking state [ 680.008720][ T5007] br0: port 2(s1) entered disabled state [ 680.009071][ T5007] s1: entered allmulticast mode [ 680.011109][ T5007] s1: entered promiscuous mode [ 680.253240][ T5008] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 680.264441][ T33] br0: port 2(s1) entered blocking state [ 680.264789][ T33] br0: port 2(s1) entered forwarding state [ 681.754249][ T5016] br0: port 3(c0) entered blocking state [ 681.754754][ T5016] br0: port 3(c0) entered disabled state [ 681.755240][ T5016] c0: entered allmulticast mode [ 681.757393][ T5016] c0: entered promiscuous mode [ 681.967536][ T259] br0: port 3(c0) entered blocking state [ 681.967893][ T259] br0: port 3(c0) entered forwarding state [ 683.351853][ T5026] bond0 (unregistering): (slave eth0): Releasing backup interface [ 683.364389][ T5026] bond0 (unregistering): (slave eth1): Releasing backup interface [ 683.372495][ T5026] bond0 (unregistering): Released all slaves [ 683.400786][ T259] br0: port 1(s0) entered disabled state [ 683.404627][ T259] br0: port 2(s1) entered disabled state [ 683.967109][ T5031] bond0: (slave eth0): making interface the new active one [ 683.968700][ T5031] bond0: (slave eth0): Enslaving as an active interface with an up link [ 683.969735][ T466] br0: port 1(s0) entered blocking state [ 683.970205][ T466] br0: port 1(s0) entered forwarding state [ 684.156040][ T5032] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 684.157106][ T466] br0: port 2(s1) entered blocking state [ 684.157435][ T466] br0: port 2(s1) entered forwarding state [ 687.066918][ T5046] 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 ] [ 706.920497][ T5076] eth0: left promiscuous mode [ 707.131704][ T5077] bond0 (unregistering): (slave eth0): Releasing backup interface [ 707.143461][ T5077] bond0 (unregistering): (slave eth1): Releasing backup interface [ 707.154414][ T5077] bond0 (unregistering): Released all slaves [ 707.176514][ T466] br0: port 1(s0) entered disabled state [ 707.178162][ T466] br0: port 2(s1) entered disabled state [ 707.709383][ T5082] bond0: (slave eth0): making interface the new active one [ 707.717375][ T5082] bond0: (slave eth0): Enslaving as an active interface with an up link [ 707.719776][ T466] br0: port 1(s0) entered blocking state [ 707.720108][ T466] br0: port 1(s0) entered forwarding state [ 707.906287][ T5083] bond0: (slave eth1): Enslaving as an active interface with an up link [ 707.907433][ T33] br0: port 2(s1) entered blocking state [ 707.907916][ T33] br0: port 2(s1) entered forwarding state [ 711.029548][ T5097] 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.157464][ T5127] eth0: left promiscuous mode [ 730.356782][ T5128] bond0 (unregistering): (slave eth0): Releasing active interface [ 730.372996][ T5128] bond0 (unregistering): (slave eth1): Releasing active interface [ 730.382227][ T5128] bond0 (unregistering): Released all slaves [ 730.397569][ T466] br0: port 1(s0) entered disabled state [ 730.405766][ T466] br0: port 2(s1) entered disabled state [ 730.957526][ T5132] bond0: (slave eth0): making interface the new active one [ 730.959093][ T5132] bond0: (slave eth0): Enslaving as an active interface with an up link [ 730.960459][ T33] br0: port 1(s0) entered blocking state [ 730.960932][ T33] br0: port 1(s0) entered forwarding state [ 731.193919][ T5133] bond0: (slave eth1): Enslaving as an active interface with an up link [ 731.194692][ T2730] br0: port 2(s1) entered blocking state [ 731.195025][ T2730] br0: port 2(s1) entered forwarding state [ 734.104326][ T5147] 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 ] [ 753.826654][ T5176] eth0: left promiscuous mode [ 754.242569][ T5179] br0: port 3(c0) entered disabled state [ 754.249069][ T5179] c0 (unregistering): left allmulticast mode [ 754.249555][ T5179] c0 (unregistering): left promiscuous mode [ 754.249994][ T5179] br0: port 3(c0) entered disabled state [ 754.984591][ T5186] br0: port 1(s0) entered disabled state [ 754.987291][ T5186] bond0: (slave eth0): Releasing active interface [ 754.987734][ T5186] bond0: (slave eth0): the permanent HWaddr of slave - d6:43:93:5a:92:d4 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 754.988629][ T5186] bond0: (slave eth1): making interface the new active one [ 755.007740][ T5186] s0 (unregistering): left allmulticast mode [ 755.008085][ T5186] s0 (unregistering): left promiscuous mode [ 755.008411][ T5186] br0: port 1(s0) entered disabled state [ 755.194676][ T5187] br0: port 2(s1) entered disabled state [ 755.197520][ T5187] bond0: (slave eth1): Releasing active interface [ 755.214587][ T5187] s1 (unregistering): left allmulticast mode [ 755.214934][ T5187] s1 (unregistering): left promiscuous mode [ 755.215253][ T5187] br0: port 2(s1) entered disabled state [ 755.452900][ T69] 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__->