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-9/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-9/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-9/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing-9/tools/testing/selftests/drivers/net/bonding' TAP version 13 1..1 # timeout set to 1200 # selftests: drivers/net/bonding: bond_macvlan.sh [ 334.030214] br0: port 1(s0) entered blocking state [ 334.030504] br0: port 1(s0) entered disabled state [ 334.030843] s0: entered allmulticast mode [ 334.031124] s0: entered promiscuous mode [ 334.044865] bond0: (slave eth0): making interface the new active one [ 334.045234] bond0: (slave eth0): Enslaving as an active interface with an up link [ 334.045931] br0: port 1(s0) entered blocking state [ 334.046192] br0: port 1(s0) entered forwarding state [ 334.102187] br0: port 2(s1) entered blocking state [ 334.102496] br0: port 2(s1) entered disabled state [ 334.102842] s1: entered allmulticast mode [ 334.103151] s1: entered promiscuous mode [ 334.116528] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 334.117189] br0: port 2(s1) entered blocking state [ 334.117449] br0: port 2(s1) entered forwarding state [ 334.235179] br0: port 3(c0) entered blocking state [ 334.235587] br0: port 3(c0) entered disabled state [ 334.235994] c0: entered allmulticast mode [ 334.236420] c0: entered promiscuous mode [ 334.253073] br0: port 3(c0) entered blocking state [ 334.253385] br0: port 3(c0) entered forwarding state [ 334.359081] bond0 (unregistering): (slave eth0): Releasing backup interface [ 334.368961] bond0 (unregistering): (slave eth1): Releasing backup interface [ 334.374870] bond0 (unregistering): Released all slaves [ 334.424035] bond0: (slave eth0): making interface the new active one [ 334.424440] bond0: (slave eth0): Enslaving as an active interface with an up link [ 334.440487] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 335.609180] 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 ] [ 348.200558] eth0: left promiscuous mode [ 348.217525] bond0 (unregistering): (slave eth0): Releasing backup interface [ 348.225093] bond0 (unregistering): (slave eth1): Releasing backup interface [ 348.230965] bond0 (unregistering): Released all slaves [ 348.232212] br0: port 1(s0) entered disabled state [ 348.232603] br0: port 2(s1) entered disabled state [ 348.278245] bond0: (slave eth0): making interface the new active one [ 348.278635] bond0: (slave eth0): Enslaving as an active interface with an up link [ 348.279147] br0: port 1(s0) entered blocking state [ 348.279404] br0: port 1(s0) entered forwarding state [ 348.292525] bond0: (slave eth1): Enslaving as an active interface with an up link [ 348.293247] br0: port 2(s1) entered blocking state [ 348.293510] br0: port 2(s1) entered forwarding state [ 350.298161] 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 ] [ 362.909633] eth0: left promiscuous mode [ 362.922822] bond0 (unregistering): (slave eth0): Releasing active interface [ 362.933927] bond0 (unregistering): (slave eth1): Releasing active interface [ 362.942892] bond0 (unregistering): Released all slaves [ 362.943763] br0: port 1(s0) entered disabled state [ 362.944127] br0: port 2(s1) entered disabled state [ 362.986554] bond0: (slave eth0): making interface the new active one [ 362.987000] bond0: (slave eth0): Enslaving as an active interface with an up link [ 362.987643] br0: port 1(s0) entered blocking state [ 362.987914] br0: port 1(s0) entered forwarding state [ 363.001667] bond0: (slave eth1): Enslaving as an active interface with an up link [ 363.002563] br0: port 2(s1) entered blocking state [ 363.002951] br0: port 2(s1) entered forwarding state [ 364.600476] 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 ] [ 377.180737] eth0: left promiscuous mode [ 377.215876] br0: port 3(c0) entered disabled state [ 377.216549] c0 (unregistering): left allmulticast mode [ 377.216843] c0 (unregistering): left promiscuous mode [ 377.217105] br0: port 3(c0) entered disabled state [ 377.273367] br0: port 1(s0) entered disabled state [ 377.273843] bond0: (slave eth0): Releasing active interface [ 377.274139] bond0: (slave eth0): the permanent HWaddr of slave - 2a:7b:97:90:cd:98 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 377.274941] bond0: (slave eth1): making interface the new active one [ 377.286204] s0 (unregistering): left allmulticast mode [ 377.286520] s0 (unregistering): left promiscuous mode [ 377.286824] br0: port 1(s0) entered disabled state [ 377.308410] br0: port 2(s1) entered disabled state [ 377.308951] bond0: (slave eth1): Releasing active interface [ 377.320303] s1 (unregistering): left allmulticast mode [ 377.320587] s1 (unregistering): left promiscuous mode [ 377.320868] br0: port 2(s1) entered disabled state [ 377.350577] bond0 (unregistering): Released all slaves ok 1 selftests: drivers/net/bonding: bond_macvlan.sh make[1]: Leaving directory '/home/virtme/testing-9/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing-9/tools/testing/selftests' xx__-> echo $? 0 xx__->