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 [ 428.878311] br0: port 1(s0) entered blocking state [ 428.878616] br0: port 1(s0) entered disabled state [ 428.878929] s0: entered allmulticast mode [ 428.879237] s0: entered promiscuous mode [ 428.893315] bond0: (slave eth0): making interface the new active one [ 428.893703] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.894362] br0: port 1(s0) entered blocking state [ 428.894623] br0: port 1(s0) entered forwarding state [ 428.945846] br0: port 2(s1) entered blocking state [ 428.946140] br0: port 2(s1) entered disabled state [ 428.946402] s1: entered allmulticast mode [ 428.946703] s1: entered promiscuous mode [ 428.958870] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.959766] br0: port 2(s1) entered blocking state [ 428.960032] br0: port 2(s1) entered forwarding state [ 429.066461] br0: port 3(c0) entered blocking state [ 429.066785] br0: port 3(c0) entered disabled state [ 429.067154] c0: entered allmulticast mode [ 429.067475] c0: entered promiscuous mode [ 429.080582] br0: port 3(c0) entered blocking state [ 429.080894] br0: port 3(c0) entered forwarding state [ 429.190284] bond0 (unregistering): (slave eth0): Releasing backup interface [ 429.197956] bond0 (unregistering): (slave eth1): Releasing backup interface [ 429.205820] bond0 (unregistering): Released all slaves [ 429.257553] bond0: (slave eth0): making interface the new active one [ 429.258112] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.274455] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.909064] 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 ] [ 443.474587] eth0: left promiscuous mode [ 443.488560] bond0 (unregistering): (slave eth0): Releasing backup interface [ 443.493942] bond0 (unregistering): (slave eth1): Releasing backup interface [ 443.499827] bond0 (unregistering): Released all slaves [ 443.500528] br0: port 1(s0) entered disabled state [ 443.501052] br0: port 2(s1) entered disabled state [ 443.542339] bond0: (slave eth0): making interface the new active one [ 443.542735] bond0: (slave eth0): Enslaving as an active interface with an up link [ 443.543348] br0: port 1(s0) entered blocking state [ 443.543614] br0: port 1(s0) entered forwarding state [ 443.557640] bond0: (slave eth1): Enslaving as an active interface with an up link [ 443.558167] br0: port 2(s1) entered blocking state [ 443.558431] br0: port 2(s1) entered forwarding state [ 445.140194] 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 ] [ 457.714730] eth0: left promiscuous mode [ 457.729385] bond0 (unregistering): (slave eth0): Releasing active interface [ 457.740879] bond0 (unregistering): (slave eth1): Releasing active interface [ 457.749830] bond0 (unregistering): Released all slaves [ 457.750560] br0: port 1(s0) entered disabled state [ 457.750956] br0: port 2(s1) entered disabled state [ 457.797181] bond0: (slave eth0): making interface the new active one [ 457.797736] bond0: (slave eth0): Enslaving as an active interface with an up link [ 457.798589] br0: port 1(s0) entered blocking state [ 457.798948] br0: port 1(s0) entered forwarding state [ 457.813332] bond0: (slave eth1): Enslaving as an active interface with an up link [ 457.814010] br0: port 2(s1) entered blocking state [ 457.814274] br0: port 2(s1) entered forwarding state [ 459.162020] 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 ] [ 471.747713] eth0: left promiscuous mode [ 471.785515] br0: port 3(c0) entered disabled state [ 471.786222] c0 (unregistering): left allmulticast mode [ 471.786504] c0 (unregistering): left promiscuous mode [ 471.786794] br0: port 3(c0) entered disabled state [ 471.852085] br0: port 1(s0) entered disabled state [ 471.852498] bond0: (slave eth0): Releasing active interface [ 471.852906] bond0: (slave eth0): the permanent HWaddr of slave - 2a:c0:41:2c:73:5e - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 471.853780] bond0: (slave eth1): making interface the new active one [ 471.866205] s0 (unregistering): left allmulticast mode [ 471.866640] s0 (unregistering): left promiscuous mode [ 471.867058] br0: port 1(s0) entered disabled state [ 471.890110] br0: port 2(s1) entered disabled state [ 471.890780] bond0: (slave eth1): Releasing active interface [ 471.902388] s1 (unregistering): left allmulticast mode [ 471.902848] s1 (unregistering): left promiscuous mode [ 471.903250] br0: port 2(s1) entered disabled state [ 471.925358] 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__->