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.886365][ T4991] br0: port 1(s0) entered blocking state [ 683.886843][ T4991] br0: port 1(s0) entered disabled state [ 683.887319][ T4991] s0: entered allmulticast mode [ 683.889467][ T4991] s0: entered promiscuous mode [ 684.069738][ T4992] bond0: (slave eth0): making interface the new active one [ 684.070482][ T4992] bond0: (slave eth0): Enslaving as an active interface with an up link [ 684.074342][ T3225] br0: port 1(s0) entered blocking state [ 684.074665][ T3225] br0: port 1(s0) entered forwarding state [ 684.810421][ T4996] br0: port 2(s1) entered blocking state [ 684.811525][ T4996] br0: port 2(s1) entered disabled state [ 684.811902][ T4996] s1: entered allmulticast mode [ 684.813422][ T4996] s1: entered promiscuous mode [ 684.993365][ T4997] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 684.995058][ T2530] br0: port 2(s1) entered blocking state [ 684.995373][ T2530] br0: port 2(s1) entered forwarding state [ 686.419855][ T5005] br0: port 3(c0) entered blocking state [ 686.420197][ T5005] br0: port 3(c0) entered disabled state [ 686.420536][ T5005] c0: entered allmulticast mode [ 686.421912][ T5005] c0: entered promiscuous mode [ 686.594666][ T2530] br0: port 3(c0) entered blocking state [ 686.595165][ T2530] br0: port 3(c0) entered forwarding state [ 687.886612][ T5015] bond0 (unregistering): (slave eth0): Releasing backup interface [ 687.900264][ T5015] bond0 (unregistering): (slave eth1): Releasing backup interface [ 687.911771][ T5015] bond0 (unregistering): Released all slaves [ 687.939426][ T2530] br0: port 1(s0) entered disabled state [ 687.941360][ T2530] br0: port 2(s1) entered disabled state [ 688.503664][ T5019] bond0: (slave eth0): making interface the new active one [ 688.504505][ T5019] bond0: (slave eth0): Enslaving as an active interface with an up link [ 688.507938][ T2530] br0: port 1(s0) entered blocking state [ 688.508316][ T2530] br0: port 1(s0) entered forwarding state [ 688.680217][ T5020] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 688.680962][ T328] br0: port 2(s1) entered blocking state [ 688.681280][ T328] br0: port 2(s1) entered forwarding state [ 691.794143][ T5034] 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 ] [ 711.057256][ T5064] eth0: left promiscuous mode [ 711.252972][ T5065] bond0 (unregistering): (slave eth0): Releasing backup interface [ 711.263659][ T5065] bond0 (unregistering): (slave eth1): Releasing backup interface [ 711.274612][ T5065] bond0 (unregistering): Released all slaves [ 711.295266][ T2530] br0: port 1(s0) entered disabled state [ 711.297222][ T2530] br0: port 2(s1) entered disabled state [ 711.815372][ T5070] bond0: (slave eth0): making interface the new active one [ 711.816637][ T5070] bond0: (slave eth0): Enslaving as an active interface with an up link [ 711.820407][ T3225] br0: port 1(s0) entered blocking state [ 711.820914][ T3225] br0: port 1(s0) entered forwarding state [ 711.983727][ T5071] bond0: (slave eth1): Enslaving as an active interface with an up link [ 711.986961][ T2428] br0: port 2(s1) entered blocking state [ 711.987297][ T2428] br0: port 2(s1) entered forwarding state [ 714.264268][ T5082] 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 ] [ 733.300227][ T5112] eth0: left promiscuous mode [ 733.542421][ T5113] bond0 (unregistering): (slave eth0): Releasing active interface [ 733.554258][ T5113] bond0 (unregistering): (slave eth1): Releasing active interface [ 733.573291][ T5113] bond0 (unregistering): Released all slaves [ 733.596240][ T3225] br0: port 1(s0) entered disabled state [ 733.597817][ T3225] br0: port 2(s1) entered disabled state [ 734.178660][ T5117] bond0: (slave eth0): making interface the new active one [ 734.180240][ T5117] bond0: (slave eth0): Enslaving as an active interface with an up link [ 734.181412][ T2428] br0: port 1(s0) entered blocking state [ 734.181912][ T2428] br0: port 1(s0) entered forwarding state [ 734.345580][ T5118] bond0: (slave eth1): Enslaving as an active interface with an up link [ 734.348971][ T3225] br0: port 2(s1) entered blocking state [ 734.349302][ T3225] br0: port 2(s1) entered forwarding state [ 737.182103][ T5132] 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 ] [ 756.662630][ T5161] eth0: left promiscuous mode [ 757.047550][ T5163] br0: port 3(c0) entered disabled state [ 757.052583][ T5163] c0 (unregistering): left allmulticast mode [ 757.053111][ T5163] c0 (unregistering): left promiscuous mode [ 757.053578][ T5163] br0: port 3(c0) entered disabled state [ 757.742218][ T5171] br0: port 1(s0) entered disabled state [ 757.745378][ T5171] bond0: (slave eth0): Releasing active interface [ 757.747292][ T5171] bond0: (slave eth0): the permanent HWaddr of slave - 16:91:f1:30:61:bb - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 757.748629][ T5171] bond0: (slave eth1): making interface the new active one [ 757.770157][ T5171] s0 (unregistering): left allmulticast mode [ 757.770732][ T5171] s0 (unregistering): left promiscuous mode [ 757.771220][ T5171] br0: port 1(s0) entered disabled state [ 757.968206][ T5172] br0: port 2(s1) entered disabled state [ 757.970322][ T5172] bond0: (slave eth1): Releasing active interface [ 757.982402][ T5172] s1 (unregistering): left allmulticast mode [ 757.982920][ T5172] s1 (unregistering): left promiscuous mode [ 757.983232][ T5172] br0: port 2(s1) entered disabled state [ 758.164780][ T272] 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__->