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 [ 687.498415][ T4985] br0: port 1(s0) entered blocking state [ 687.499120][ T4985] br0: port 1(s0) entered disabled state [ 687.499620][ T4985] s0: entered allmulticast mode [ 687.501944][ T4985] s0: entered promiscuous mode [ 687.709330][ T4986] bond0: (slave eth0): making interface the new active one [ 687.710386][ T4986] bond0: (slave eth0): Enslaving as an active interface with an up link [ 687.713589][ T2497] br0: port 1(s0) entered blocking state [ 687.713945][ T2497] br0: port 1(s0) entered forwarding state [ 688.457896][ T4990] br0: port 2(s1) entered blocking state [ 688.458280][ T4990] br0: port 2(s1) entered disabled state [ 688.458621][ T4990] s1: entered allmulticast mode [ 688.460119][ T4990] s1: entered promiscuous mode [ 688.645952][ T4991] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 688.647497][ T2598] br0: port 2(s1) entered blocking state [ 688.647945][ T2598] br0: port 2(s1) entered forwarding state [ 690.248780][ T4999] br0: port 3(c0) entered blocking state [ 690.249202][ T4999] br0: port 3(c0) entered disabled state [ 690.249633][ T4999] c0: entered allmulticast mode [ 690.251294][ T4999] c0: entered promiscuous mode [ 690.418795][ T49] br0: port 3(c0) entered blocking state [ 690.419145][ T49] br0: port 3(c0) entered forwarding state [ 691.665631][ T5009] bond0 (unregistering): (slave eth0): Releasing backup interface [ 691.684340][ T5009] bond0 (unregistering): (slave eth1): Releasing backup interface [ 691.693821][ T5009] bond0 (unregistering): Released all slaves [ 691.707859][ T49] br0: port 1(s0) entered disabled state [ 691.709315][ T49] br0: port 2(s1) entered disabled state [ 692.264694][ T5013] bond0: (slave eth0): making interface the new active one [ 692.265425][ T5013] bond0: (slave eth0): Enslaving as an active interface with an up link [ 692.268902][ T2497] br0: port 1(s0) entered blocking state [ 692.269267][ T2497] br0: port 1(s0) entered forwarding state [ 692.437599][ T5014] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 692.438914][ T2497] br0: port 2(s1) entered blocking state [ 692.439250][ T2497] br0: port 2(s1) entered forwarding state [ 695.490006][ T5028] 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 ] [ 714.876191][ T5058] eth0: left promiscuous mode [ 715.057458][ T5059] bond0 (unregistering): (slave eth0): Releasing backup interface [ 715.072384][ T5059] bond0 (unregistering): (slave eth1): Releasing backup interface [ 715.082916][ T5059] bond0 (unregistering): Released all slaves [ 715.114618][ T2497] br0: port 1(s0) entered disabled state [ 715.118175][ T2497] br0: port 2(s1) entered disabled state [ 715.709978][ T5063] bond0: (slave eth0): making interface the new active one [ 715.711461][ T5063] bond0: (slave eth0): Enslaving as an active interface with an up link [ 715.712281][ T2598] br0: port 1(s0) entered blocking state [ 715.712609][ T2598] br0: port 1(s0) entered forwarding state [ 715.899871][ T5065] bond0: (slave eth1): Enslaving as an active interface with an up link [ 715.900962][ T2497] br0: port 2(s1) entered blocking state [ 715.901296][ T2497] br0: port 2(s1) entered forwarding state [ 718.136013][ T5076] 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 ] [ 737.458203][ T5106] eth0: left promiscuous mode [ 737.694564][ T5107] bond0 (unregistering): (slave eth0): Releasing active interface [ 737.704806][ T5107] bond0 (unregistering): (slave eth1): Releasing active interface [ 737.713658][ T5107] bond0 (unregistering): Released all slaves [ 737.730101][ T2616] br0: port 1(s0) entered disabled state [ 737.731634][ T2616] br0: port 2(s1) entered disabled state [ 737.749302][ T5107] ip (5107) used greatest stack depth: 23616 bytes left [ 738.278371][ T5112] bond0: (slave eth0): making interface the new active one [ 738.280132][ T5112] bond0: (slave eth0): Enslaving as an active interface with an up link [ 738.281251][ T2616] br0: port 1(s0) entered blocking state [ 738.281753][ T2616] br0: port 1(s0) entered forwarding state [ 738.501436][ T5113] bond0: (slave eth1): Enslaving as an active interface with an up link [ 738.505231][ T2616] br0: port 2(s1) entered blocking state [ 738.505562][ T2616] br0: port 2(s1) entered forwarding state [ 740.916298][ T5124] 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 ] [ 760.493975][ T5153] eth0: left promiscuous mode [ 760.887190][ T5156] br0: port 3(c0) entered disabled state [ 760.893650][ T5156] c0 (unregistering): left allmulticast mode [ 760.894033][ T5156] c0 (unregistering): left promiscuous mode [ 760.894348][ T5156] br0: port 3(c0) entered disabled state [ 761.571463][ T5163] br0: port 1(s0) entered disabled state [ 761.574514][ T5163] bond0: (slave eth0): Releasing active interface [ 761.575425][ T5163] bond0: (slave eth0): the permanent HWaddr of slave - 26:d4:16:b5:1c:8b - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 761.576741][ T5163] bond0: (slave eth1): making interface the new active one [ 761.589265][ T5163] s0 (unregistering): left allmulticast mode [ 761.589765][ T5163] s0 (unregistering): left promiscuous mode [ 761.590200][ T5163] br0: port 1(s0) entered disabled state [ 761.791476][ T5164] br0: port 2(s1) entered disabled state [ 761.792951][ T5164] bond0: (slave eth1): Releasing active interface [ 761.810619][ T5164] s1 (unregistering): left allmulticast mode [ 761.811560][ T5164] s1 (unregistering): left promiscuous mode [ 761.812017][ T5164] br0: port 2(s1) entered disabled state [ 762.010053][ T252] 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__->