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 [ 341.968064] br0: port 1(s0) entered blocking state [ 341.968352] br0: port 1(s0) entered disabled state [ 341.968615] s0: entered allmulticast mode [ 341.968929] s0: entered promiscuous mode [ 341.983209] bond0: (slave eth0): making interface the new active one [ 341.983610] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.984072] br0: port 1(s0) entered blocking state [ 341.984339] br0: port 1(s0) entered forwarding state [ 342.045488] br0: port 2(s1) entered blocking state [ 342.045835] br0: port 2(s1) entered disabled state [ 342.046131] s1: entered allmulticast mode [ 342.046423] s1: entered promiscuous mode [ 342.060318] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.061083] br0: port 2(s1) entered blocking state [ 342.061372] br0: port 2(s1) entered forwarding state [ 342.187235] br0: port 3(c0) entered blocking state [ 342.187528] br0: port 3(c0) entered disabled state [ 342.187803] c0: entered allmulticast mode [ 342.188112] c0: entered promiscuous mode [ 342.203562] br0: port 3(c0) entered blocking state [ 342.203922] br0: port 3(c0) entered forwarding state [ 342.308836] bond0 (unregistering): (slave eth0): Releasing backup interface [ 342.320920] bond0 (unregistering): (slave eth1): Releasing backup interface [ 342.326897] bond0 (unregistering): Released all slaves [ 342.383442] bond0: (slave eth0): making interface the new active one [ 342.384166] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.400539] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.869081] 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 ] [ 356.502859] eth0: left promiscuous mode [ 356.518202] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.527185] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.534875] bond0 (unregistering): Released all slaves [ 356.535686] br0: port 1(s0) entered disabled state [ 356.536108] br0: port 2(s1) entered disabled state [ 356.581954] bond0: (slave eth0): making interface the new active one [ 356.582368] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.583114] br0: port 1(s0) entered blocking state [ 356.583391] br0: port 1(s0) entered forwarding state [ 356.597812] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.598457] br0: port 2(s1) entered blocking state [ 356.598736] br0: port 2(s1) entered forwarding state [ 358.123318] 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 ] [ 370.790232] eth0: left promiscuous mode [ 370.806699] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.823978] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.832912] bond0 (unregistering): Released all slaves [ 370.834029] br0: port 1(s0) entered disabled state [ 370.834496] br0: port 2(s1) entered disabled state [ 370.887915] bond0: (slave eth0): making interface the new active one [ 370.888514] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.889276] br0: port 1(s0) entered blocking state [ 370.889672] br0: port 1(s0) entered forwarding state [ 370.904208] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.904942] br0: port 2(s1) entered blocking state [ 370.905212] br0: port 2(s1) entered forwarding state [ 372.229736] 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 ] [ 384.911986] eth0: left promiscuous mode [ 384.951433] br0: port 3(c0) entered disabled state [ 384.952180] c0 (unregistering): left allmulticast mode [ 384.952487] c0 (unregistering): left promiscuous mode [ 384.952824] br0: port 3(c0) entered disabled state [ 385.015840] br0: port 1(s0) entered disabled state [ 385.016266] bond0: (slave eth0): Releasing active interface [ 385.016580] bond0: (slave eth0): the permanent HWaddr of slave - de:8f:f3:d3:4c:4d - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 385.017410] bond0: (slave eth1): making interface the new active one [ 385.032086] s0 (unregistering): left allmulticast mode [ 385.032391] s0 (unregistering): left promiscuous mode [ 385.032661] br0: port 1(s0) entered disabled state [ 385.056400] br0: port 2(s1) entered disabled state [ 385.056810] bond0: (slave eth1): Releasing active interface [ 385.068257] s1 (unregistering): left allmulticast mode [ 385.068612] s1 (unregistering): left promiscuous mode [ 385.069000] br0: port 2(s1) entered disabled state [ 385.092273] 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__->