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 [ 681.630581][ T4995] br0: port 1(s0) entered blocking state [ 681.631587][ T4995] br0: port 1(s0) entered disabled state [ 681.632079][ T4995] s0: entered allmulticast mode [ 681.634199][ T4995] s0: entered promiscuous mode [ 681.894303][ T4996] bond0: (slave eth0): making interface the new active one [ 681.895456][ T4996] bond0: (slave eth0): Enslaving as an active interface with an up link [ 681.897184][ T49] br0: port 1(s0) entered blocking state [ 681.897653][ T49] br0: port 1(s0) entered forwarding state [ 682.771979][ T5000] br0: port 2(s1) entered blocking state [ 682.772477][ T5000] br0: port 2(s1) entered disabled state [ 682.773375][ T5000] s1: entered allmulticast mode [ 682.775609][ T5000] s1: entered promiscuous mode [ 683.018883][ T5001] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 683.020602][ T49] br0: port 2(s1) entered blocking state [ 683.021093][ T49] br0: port 2(s1) entered forwarding state [ 684.471265][ T5009] br0: port 3(c0) entered blocking state [ 684.471600][ T5009] br0: port 3(c0) entered disabled state [ 684.473049][ T5009] c0: entered allmulticast mode [ 684.474405][ T5009] c0: entered promiscuous mode [ 684.641489][ T2571] br0: port 3(c0) entered blocking state [ 684.641855][ T2571] br0: port 3(c0) entered forwarding state [ 685.924712][ T5019] bond0 (unregistering): (slave eth0): Releasing backup interface [ 685.938980][ T5019] bond0 (unregistering): (slave eth1): Releasing backup interface [ 685.950200][ T5019] bond0 (unregistering): Released all slaves [ 685.982721][ T51] br0: port 1(s0) entered disabled state [ 685.987020][ T51] br0: port 2(s1) entered disabled state [ 686.537997][ T5023] bond0: (slave eth0): making interface the new active one [ 686.538715][ T5023] bond0: (slave eth0): Enslaving as an active interface with an up link [ 686.542022][ T51] br0: port 1(s0) entered blocking state [ 686.542352][ T51] br0: port 1(s0) entered forwarding state [ 686.707748][ T5024] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 686.711014][ T2635] br0: port 2(s1) entered blocking state [ 686.711342][ T2635] br0: port 2(s1) entered forwarding state [ 688.973006][ T5035] 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 ] [ 708.164651][ T5065] eth0: left promiscuous mode [ 708.368988][ T5066] bond0 (unregistering): (slave eth0): Releasing backup interface [ 708.381553][ T5066] bond0 (unregistering): (slave eth1): Releasing backup interface [ 708.393326][ T5066] bond0 (unregistering): Released all slaves [ 708.414733][ T2635] br0: port 1(s0) entered disabled state [ 708.416449][ T2635] br0: port 2(s1) entered disabled state [ 708.941828][ T5071] bond0: (slave eth0): making interface the new active one [ 708.942672][ T5071] bond0: (slave eth0): Enslaving as an active interface with an up link [ 708.952452][ T51] br0: port 1(s0) entered blocking state [ 708.952816][ T51] br0: port 1(s0) entered forwarding state [ 709.134316][ T5072] bond0: (slave eth1): Enslaving as an active interface with an up link [ 709.136064][ T2571] br0: port 2(s1) entered blocking state [ 709.136404][ T2571] br0: port 2(s1) entered forwarding state [ 711.519099][ T5084] 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.947260][ T5114] eth0: left promiscuous mode [ 731.150991][ T5115] bond0 (unregistering): (slave eth0): Releasing active interface [ 731.168646][ T5115] bond0 (unregistering): (slave eth1): Releasing active interface [ 731.178332][ T5115] bond0 (unregistering): Released all slaves [ 731.196441][ T49] br0: port 1(s0) entered disabled state [ 731.206265][ T49] br0: port 2(s1) entered disabled state [ 731.703318][ T5120] bond0: (slave eth0): making interface the new active one [ 731.704785][ T5120] bond0: (slave eth0): Enslaving as an active interface with an up link [ 731.706137][ T2635] br0: port 1(s0) entered blocking state [ 731.706468][ T2635] br0: port 1(s0) entered forwarding state [ 731.871039][ T5121] bond0: (slave eth1): Enslaving as an active interface with an up link [ 731.871840][ T2571] br0: port 2(s1) entered blocking state [ 731.872158][ T2571] br0: port 2(s1) entered forwarding state [ 734.892546][ T5135] 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.314429][ T5164] eth0: left promiscuous mode [ 754.698733][ T5166] br0: port 3(c0) entered disabled state [ 754.704255][ T5166] c0 (unregistering): left allmulticast mode [ 754.704597][ T5166] c0 (unregistering): left promiscuous mode [ 754.705661][ T5166] br0: port 3(c0) entered disabled state [ 755.412638][ T5174] br0: port 1(s0) entered disabled state [ 755.415014][ T5174] bond0: (slave eth0): Releasing active interface [ 755.415370][ T5174] bond0: (slave eth0): the permanent HWaddr of slave - ba:75:b0:07:fb:a2 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 755.416566][ T5174] bond0: (slave eth1): making interface the new active one [ 755.427987][ T5174] s0 (unregistering): left allmulticast mode [ 755.428343][ T5174] s0 (unregistering): left promiscuous mode [ 755.428655][ T5174] br0: port 1(s0) entered disabled state [ 755.640493][ T5175] br0: port 2(s1) entered disabled state [ 755.642697][ T5175] bond0: (slave eth1): Releasing active interface [ 755.654639][ T5175] s1 (unregistering): left allmulticast mode [ 755.655017][ T5175] s1 (unregistering): left promiscuous mode [ 755.655358][ T5175] br0: port 2(s1) entered disabled state [ 755.886835][ T255] 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__->