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.937641] br0: port 1(s0) entered blocking state [ 341.937953] br0: port 1(s0) entered disabled state [ 341.938223] s0: entered allmulticast mode [ 341.938508] s0: entered promiscuous mode [ 341.954766] bond0: (slave eth0): making interface the new active one [ 341.955326] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.956087] br0: port 1(s0) entered blocking state [ 341.956483] br0: port 1(s0) entered forwarding state [ 342.017324] br0: port 2(s1) entered blocking state [ 342.017714] br0: port 2(s1) entered disabled state [ 342.018086] s1: entered allmulticast mode [ 342.018486] s1: entered promiscuous mode [ 342.034447] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.035447] br0: port 2(s1) entered blocking state [ 342.035847] br0: port 2(s1) entered forwarding state [ 342.147072] br0: port 3(c0) entered blocking state [ 342.147358] br0: port 3(c0) entered disabled state [ 342.147622] c0: entered allmulticast mode [ 342.147921] c0: entered promiscuous mode [ 342.163339] br0: port 3(c0) entered blocking state [ 342.163637] br0: port 3(c0) entered forwarding state [ 342.257552] bond0 (unregistering): (slave eth0): Releasing backup interface [ 342.270059] bond0 (unregistering): (slave eth1): Releasing backup interface [ 342.275997] bond0 (unregistering): Released all slaves [ 342.323068] bond0: (slave eth0): making interface the new active one [ 342.323442] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.337009] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.633178] 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.190096] eth0: left promiscuous mode [ 356.203672] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.217061] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.225998] bond0 (unregistering): Released all slaves [ 356.226829] br0: port 1(s0) entered disabled state [ 356.227268] br0: port 2(s1) entered disabled state [ 356.270070] bond0: (slave eth0): making interface the new active one [ 356.270471] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.271107] br0: port 1(s0) entered blocking state [ 356.271471] br0: port 1(s0) entered forwarding state [ 356.285733] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.286522] br0: port 2(s1) entered blocking state [ 356.286925] br0: port 2(s1) entered forwarding state [ 356.300410] ip (11332) used greatest stack depth: 11352 bytes left [ 357.552353] 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.095869] eth0: left promiscuous mode [ 370.108809] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.116229] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.123982] bond0 (unregistering): Released all slaves [ 370.124758] br0: port 1(s0) entered disabled state [ 370.125132] br0: port 2(s1) entered disabled state [ 370.169444] bond0: (slave eth0): making interface the new active one [ 370.169835] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.170467] br0: port 1(s0) entered blocking state [ 370.170732] br0: port 1(s0) entered forwarding state [ 370.184184] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.184842] br0: port 2(s1) entered blocking state [ 370.185116] br0: port 2(s1) entered forwarding state [ 371.474103] 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.097640] eth0: left promiscuous mode [ 384.141402] br0: port 3(c0) entered disabled state [ 384.142397] c0 (unregistering): left allmulticast mode [ 384.142802] c0 (unregistering): left promiscuous mode [ 384.143211] br0: port 3(c0) entered disabled state [ 384.217894] br0: port 1(s0) entered disabled state [ 384.218421] bond0: (slave eth0): Releasing active interface [ 384.218719] bond0: (slave eth0): the permanent HWaddr of slave - fa:7c:d9:a2:c2:00 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 384.219565] bond0: (slave eth1): making interface the new active one [ 384.233280] s0 (unregistering): left allmulticast mode [ 384.233589] s0 (unregistering): left promiscuous mode [ 384.233899] br0: port 1(s0) entered disabled state [ 384.259689] br0: port 2(s1) entered disabled state [ 384.260314] bond0: (slave eth1): Releasing active interface [ 384.273602] s1 (unregistering): left allmulticast mode [ 384.274021] s1 (unregistering): left promiscuous mode [ 384.274288] br0: port 2(s1) entered disabled state [ 384.307678] 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__->