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 [ 683.018599][ T5040] br0: port 1(s0) entered blocking state [ 683.019759][ T5040] br0: port 1(s0) entered disabled state [ 683.020133][ T5040] s0: entered allmulticast mode [ 683.021571][ T5040] s0: entered promiscuous mode [ 683.199995][ T5041] bond0: (slave eth0): making interface the new active one [ 683.200709][ T5041] bond0: (slave eth0): Enslaving as an active interface with an up link [ 683.204469][ T4970] br0: port 1(s0) entered blocking state [ 683.204788][ T4970] br0: port 1(s0) entered forwarding state [ 683.946298][ T5045] br0: port 2(s1) entered blocking state [ 683.946632][ T5045] br0: port 2(s1) entered disabled state [ 683.946990][ T5045] s1: entered allmulticast mode [ 683.948300][ T5045] s1: entered promiscuous mode [ 684.143172][ T5046] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 684.144314][ T50] br0: port 2(s1) entered blocking state [ 684.144625][ T50] br0: port 2(s1) entered forwarding state [ 685.625751][ T5054] br0: port 3(c0) entered blocking state [ 685.626484][ T5054] br0: port 3(c0) entered disabled state [ 685.626834][ T5054] c0: entered allmulticast mode [ 685.628201][ T5054] c0: entered promiscuous mode [ 685.789888][ T2588] br0: port 3(c0) entered blocking state [ 685.790228][ T2588] br0: port 3(c0) entered forwarding state [ 687.209753][ T5064] bond0 (unregistering): (slave eth0): Releasing backup interface [ 687.223854][ T5064] bond0 (unregistering): (slave eth1): Releasing backup interface [ 687.235260][ T5064] bond0 (unregistering): Released all slaves [ 687.258293][ T2393] br0: port 1(s0) entered disabled state [ 687.259542][ T2393] br0: port 2(s1) entered disabled state [ 687.798015][ T5068] bond0: (slave eth0): making interface the new active one [ 687.798779][ T5068] bond0: (slave eth0): Enslaving as an active interface with an up link [ 687.802058][ T2588] br0: port 1(s0) entered blocking state [ 687.802389][ T2588] br0: port 1(s0) entered forwarding state [ 688.000954][ T5069] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 688.001741][ T2588] br0: port 2(s1) entered blocking state [ 688.002204][ T2588] br0: port 2(s1) entered forwarding state [ 690.279102][ T5080] 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.482398][ T5110] eth0: left promiscuous mode [ 709.679115][ T5111] bond0 (unregistering): (slave eth0): Releasing backup interface [ 709.689724][ T5111] bond0 (unregistering): (slave eth1): Releasing backup interface [ 709.700836][ T5111] bond0 (unregistering): Released all slaves [ 709.720994][ T2393] br0: port 1(s0) entered disabled state [ 709.722594][ T2393] br0: port 2(s1) entered disabled state [ 710.233056][ T5115] bond0: (slave eth0): making interface the new active one [ 710.233903][ T5115] bond0: (slave eth0): Enslaving as an active interface with an up link [ 710.234608][ T50] br0: port 1(s0) entered blocking state [ 710.234934][ T50] br0: port 1(s0) entered forwarding state [ 710.425436][ T5116] bond0: (slave eth1): Enslaving as an active interface with an up link [ 710.426278][ T2393] br0: port 2(s1) entered blocking state [ 710.426619][ T2393] br0: port 2(s1) entered forwarding state [ 713.412208][ T5130] 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.684253][ T5160] eth0: left promiscuous mode [ 732.876590][ T5161] bond0 (unregistering): (slave eth0): Releasing active interface [ 732.886155][ T5161] bond0 (unregistering): (slave eth1): Releasing active interface [ 732.903421][ T5161] bond0 (unregistering): Released all slaves [ 732.917266][ T2393] br0: port 1(s0) entered disabled state [ 732.919373][ T2393] br0: port 2(s1) entered disabled state [ 733.476313][ T5165] bond0: (slave eth0): making interface the new active one [ 733.477831][ T5165] bond0: (slave eth0): Enslaving as an active interface with an up link [ 733.481882][ T50] br0: port 1(s0) entered blocking state [ 733.482374][ T50] br0: port 1(s0) entered forwarding state [ 733.655560][ T5166] bond0: (slave eth1): Enslaving as an active interface with an up link [ 733.656894][ T50] br0: port 2(s1) entered blocking state [ 733.657366][ T50] br0: port 2(s1) entered forwarding state [ 736.478601][ T5180] 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 ] [ 755.690511][ T5209] eth0: left promiscuous mode [ 756.069997][ T5212] br0: port 3(c0) entered disabled state [ 756.079742][ T5212] c0 (unregistering): left allmulticast mode [ 756.081179][ T5212] c0 (unregistering): left promiscuous mode [ 756.081646][ T5212] br0: port 3(c0) entered disabled state [ 756.800045][ T5219] br0: port 1(s0) entered disabled state [ 756.804107][ T5219] bond0: (slave eth0): Releasing active interface [ 756.804631][ T5219] bond0: (slave eth0): the permanent HWaddr of slave - 46:c9:13:b1:91:22 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 756.807077][ T5219] bond0: (slave eth1): making interface the new active one [ 756.820359][ T5219] s0 (unregistering): left allmulticast mode [ 756.820866][ T5219] s0 (unregistering): left promiscuous mode [ 756.821296][ T5219] br0: port 1(s0) entered disabled state [ 757.060318][ T5220] br0: port 2(s1) entered disabled state [ 757.062431][ T5220] bond0: (slave eth1): Releasing active interface [ 757.082967][ T5220] s1 (unregistering): left allmulticast mode [ 757.083345][ T5220] s1 (unregistering): left promiscuous mode [ 757.083682][ T5220] br0: port 2(s1) entered disabled state [ 757.263357][ T11] 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__->