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 [ 685.094642][ T4990] br0: port 1(s0) entered blocking state [ 685.095039][ T4990] br0: port 1(s0) entered disabled state [ 685.095527][ T4990] s0: entered allmulticast mode [ 685.098939][ T4990] s0: entered promiscuous mode [ 685.278832][ T4991] bond0: (slave eth0): making interface the new active one [ 685.279551][ T4991] bond0: (slave eth0): Enslaving as an active interface with an up link [ 685.280630][ T2545] br0: port 1(s0) entered blocking state [ 685.280955][ T2545] br0: port 1(s0) entered forwarding state [ 686.019928][ T4995] br0: port 2(s1) entered blocking state [ 686.020267][ T4995] br0: port 2(s1) entered disabled state [ 686.020598][ T4995] s1: entered allmulticast mode [ 686.022464][ T4995] s1: entered promiscuous mode [ 686.190742][ T4996] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 686.192306][ T50] br0: port 2(s1) entered blocking state [ 686.192620][ T50] br0: port 2(s1) entered forwarding state [ 687.592611][ T5004] br0: port 3(c0) entered blocking state [ 687.592966][ T5004] br0: port 3(c0) entered disabled state [ 687.593319][ T5004] c0: entered allmulticast mode [ 687.594700][ T5004] c0: entered promiscuous mode [ 687.802428][ T2792] br0: port 3(c0) entered blocking state [ 687.802945][ T2792] br0: port 3(c0) entered forwarding state [ 689.074782][ T5014] bond0 (unregistering): (slave eth0): Releasing backup interface [ 689.085372][ T5014] bond0 (unregistering): (slave eth1): Releasing backup interface [ 689.096573][ T5014] bond0 (unregistering): Released all slaves [ 689.111968][ T2545] br0: port 1(s0) entered disabled state [ 689.119833][ T2545] br0: port 2(s1) entered disabled state [ 689.742643][ T5018] bond0: (slave eth0): making interface the new active one [ 689.743772][ T5018] bond0: (slave eth0): Enslaving as an active interface with an up link [ 689.746017][ T2792] br0: port 1(s0) entered blocking state [ 689.746506][ T2792] br0: port 1(s0) entered forwarding state [ 689.917906][ T5019] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 689.918607][ T2545] br0: port 2(s1) entered blocking state [ 689.918940][ T2545] br0: port 2(s1) entered forwarding state [ 692.798245][ T5033] 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 ] [ 712.186954][ T5064] eth0: left promiscuous mode [ 712.390664][ T5065] bond0 (unregistering): (slave eth0): Releasing backup interface [ 712.403324][ T5065] bond0 (unregistering): (slave eth1): Releasing backup interface [ 712.414924][ T5065] bond0 (unregistering): Released all slaves [ 712.434036][ T2792] br0: port 1(s0) entered disabled state [ 712.435530][ T2792] br0: port 2(s1) entered disabled state [ 712.984951][ T5069] bond0: (slave eth0): making interface the new active one [ 712.985811][ T5069] bond0: (slave eth0): Enslaving as an active interface with an up link [ 712.986541][ T50] br0: port 1(s0) entered blocking state [ 712.986876][ T50] br0: port 1(s0) entered forwarding state [ 713.172735][ T5070] bond0: (slave eth1): Enslaving as an active interface with an up link [ 713.176004][ T2417] br0: port 2(s1) entered blocking state [ 713.176334][ T2417] br0: port 2(s1) entered forwarding state [ 715.404637][ T5081] 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 ] [ 734.456075][ T5112] eth0: left promiscuous mode [ 734.647609][ T5113] bond0 (unregistering): (slave eth0): Releasing active interface [ 734.660742][ T5113] bond0 (unregistering): (slave eth1): Releasing active interface [ 734.671637][ T5113] bond0 (unregistering): Released all slaves [ 734.691945][ T50] br0: port 1(s0) entered disabled state [ 734.693483][ T50] br0: port 2(s1) entered disabled state [ 735.241619][ T5118] bond0: (slave eth0): making interface the new active one [ 735.249947][ T5118] bond0: (slave eth0): Enslaving as an active interface with an up link [ 735.250767][ T50] br0: port 1(s0) entered blocking state [ 735.251092][ T50] br0: port 1(s0) entered forwarding state [ 735.428874][ T5119] bond0: (slave eth1): Enslaving as an active interface with an up link [ 735.429685][ T2417] br0: port 2(s1) entered blocking state [ 735.430012][ T2417] br0: port 2(s1) entered forwarding state [ 738.310935][ T5133] 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 ] [ 758.157098][ T5162] eth0: left promiscuous mode [ 758.575275][ T5164] br0: port 3(c0) entered disabled state [ 758.586210][ T5164] c0 (unregistering): left allmulticast mode [ 758.586618][ T5164] c0 (unregistering): left promiscuous mode [ 758.587095][ T5164] br0: port 3(c0) entered disabled state [ 759.337892][ T5172] br0: port 1(s0) entered disabled state [ 759.339850][ T5172] bond0: (slave eth0): Releasing active interface [ 759.340222][ T5172] bond0: (slave eth0): the permanent HWaddr of slave - b2:85:9c:f2:91:85 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 759.341264][ T5172] bond0: (slave eth1): making interface the new active one [ 759.357331][ T5172] s0 (unregistering): left allmulticast mode [ 759.357776][ T5172] s0 (unregistering): left promiscuous mode [ 759.358132][ T5172] br0: port 1(s0) entered disabled state [ 759.574372][ T5173] br0: port 2(s1) entered disabled state [ 759.576343][ T5173] bond0: (slave eth1): Releasing active interface [ 759.592790][ T5173] s1 (unregistering): left allmulticast mode [ 759.593178][ T5173] s1 (unregistering): left promiscuous mode [ 759.593561][ T5173] br0: port 2(s1) entered disabled state [ 759.784983][ 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__->