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 [ 893.747626][ T6096] br0: port 1(s0) entered blocking state [ 893.747971][ T6096] br0: port 1(s0) entered disabled state [ 893.748321][ T6096] s0: entered allmulticast mode [ 893.749802][ T6096] s0: entered promiscuous mode [ 893.946325][ T6097] bond0: (slave eth0): making interface the new active one [ 893.947047][ T6097] bond0: (slave eth0): Enslaving as an active interface with an up link [ 893.948163][ T42] br0: port 1(s0) entered blocking state [ 893.948483][ T42] br0: port 1(s0) entered forwarding state [ 894.680982][ T6101] br0: port 2(s1) entered blocking state [ 894.681350][ T6101] br0: port 2(s1) entered disabled state [ 894.681682][ T6101] s1: entered allmulticast mode [ 894.683125][ T6101] s1: entered promiscuous mode [ 894.861577][ T6102] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 894.862970][ T2543] br0: port 2(s1) entered blocking state [ 894.863295][ T2543] br0: port 2(s1) entered forwarding state [ 896.289501][ T6110] br0: port 3(c0) entered blocking state [ 896.289837][ T6110] br0: port 3(c0) entered disabled state [ 896.290165][ T6110] c0: entered allmulticast mode [ 896.292505][ T6110] c0: entered promiscuous mode [ 896.463969][ T2543] br0: port 3(c0) entered blocking state [ 896.464321][ T2543] br0: port 3(c0) entered forwarding state [ 897.694005][ T6120] bond0 (unregistering): (slave eth0): Releasing backup interface [ 897.704151][ T6120] bond0 (unregistering): (slave eth1): Releasing backup interface [ 897.716085][ T6120] bond0 (unregistering): Released all slaves [ 897.735690][ T2018] br0: port 1(s0) entered disabled state [ 897.736941][ T2018] br0: port 2(s1) entered disabled state [ 898.316045][ T6124] bond0: (slave eth0): making interface the new active one [ 898.317734][ T6124] bond0: (slave eth0): Enslaving as an active interface with an up link [ 898.320637][ T2018] br0: port 1(s0) entered blocking state [ 898.321117][ T2018] br0: port 1(s0) entered forwarding state [ 898.486395][ T6125] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 898.489511][ T2543] br0: port 2(s1) entered blocking state [ 898.489850][ T2543] br0: port 2(s1) entered forwarding state [ 900.735129][ T6136] 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 ] [ 919.492676][ T6166] eth0: left promiscuous mode [ 919.676624][ T6167] bond0 (unregistering): (slave eth0): Releasing backup interface [ 919.694802][ T6167] bond0 (unregistering): (slave eth1): Releasing backup interface [ 919.703599][ T6167] bond0 (unregistering): Released all slaves [ 919.722503][ T42] br0: port 1(s0) entered disabled state [ 919.724036][ T42] br0: port 2(s1) entered disabled state [ 920.257867][ T6171] bond0: (slave eth0): making interface the new active one [ 920.258722][ T6171] bond0: (slave eth0): Enslaving as an active interface with an up link [ 920.259465][ T4366] br0: port 1(s0) entered blocking state [ 920.259778][ T4366] br0: port 1(s0) entered forwarding state [ 920.433478][ T6172] bond0: (slave eth1): Enslaving as an active interface with an up link [ 920.434296][ T2018] br0: port 2(s1) entered blocking state [ 920.434623][ T2018] br0: port 2(s1) entered forwarding state [ 922.516985][ T6183] 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 ] [ 941.350003][ T6213] eth0: left promiscuous mode [ 941.524487][ T6214] bond0 (unregistering): (slave eth0): Releasing active interface [ 941.536637][ T6214] bond0 (unregistering): (slave eth1): Releasing active interface [ 941.548116][ T6214] bond0 (unregistering): Released all slaves [ 941.567787][ T2543] br0: port 1(s0) entered disabled state [ 941.570265][ T2543] br0: port 2(s1) entered disabled state [ 942.105009][ T6218] bond0: (slave eth0): making interface the new active one [ 942.106842][ T6218] bond0: (slave eth0): Enslaving as an active interface with an up link [ 942.109851][ T4366] br0: port 1(s0) entered blocking state [ 942.110173][ T4366] br0: port 1(s0) entered forwarding state [ 942.276964][ T6219] bond0: (slave eth1): Enslaving as an active interface with an up link [ 942.280671][ T2018] br0: port 2(s1) entered blocking state [ 942.281147][ T2018] br0: port 2(s1) entered forwarding state [ 944.415860][ T6230] 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 ] [ 963.391967][ T6259] eth0: left promiscuous mode [ 963.736065][ T6261] br0: port 3(c0) entered disabled state [ 963.740722][ T6261] c0 (unregistering): left allmulticast mode [ 963.741073][ T6261] c0 (unregistering): left promiscuous mode [ 963.741399][ T6261] br0: port 3(c0) entered disabled state [ 964.424451][ T6268] br0: port 1(s0) entered disabled state [ 964.427232][ T6268] bond0: (slave eth0): Releasing active interface [ 964.427638][ T6268] bond0: (slave eth0): the permanent HWaddr of slave - 02:5a:c1:cf:cd:de - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 964.428629][ T6268] bond0: (slave eth1): making interface the new active one [ 964.442839][ T6268] s0 (unregistering): left allmulticast mode [ 964.443190][ T6268] s0 (unregistering): left promiscuous mode [ 964.443605][ T6268] br0: port 1(s0) entered disabled state [ 964.638294][ T6269] br0: port 2(s1) entered disabled state [ 964.640059][ T6269] bond0: (slave eth1): Releasing active interface [ 964.655488][ T6269] s1 (unregistering): left allmulticast mode [ 964.655966][ T6269] s1 (unregistering): left promiscuous mode [ 964.656436][ T6269] br0: port 2(s1) entered disabled state [ 964.862101][ T249] 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__->