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.176334] br0: port 1(s0) entered blocking state [ 428.176651] br0: port 1(s0) entered disabled state [ 428.176959] s0: entered allmulticast mode [ 428.177254] s0: entered promiscuous mode [ 428.194262] bond0: (slave eth0): making interface the new active one [ 428.194811] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.195779] br0: port 1(s0) entered blocking state [ 428.196188] br0: port 1(s0) entered forwarding state [ 428.260689] br0: port 2(s1) entered blocking state [ 428.261116] br0: port 2(s1) entered disabled state [ 428.261509] s1: entered allmulticast mode [ 428.261955] s1: entered promiscuous mode [ 428.277720] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.278453] br0: port 2(s1) entered blocking state [ 428.278727] br0: port 2(s1) entered forwarding state [ 428.406659] br0: port 3(c0) entered blocking state [ 428.406959] br0: port 3(c0) entered disabled state [ 428.407223] c0: entered allmulticast mode [ 428.407532] c0: entered promiscuous mode [ 428.422465] br0: port 3(c0) entered blocking state [ 428.422753] br0: port 3(c0) entered forwarding state [ 428.527809] bond0 (unregistering): (slave eth0): Releasing backup interface [ 428.536072] bond0 (unregistering): (slave eth1): Releasing backup interface [ 428.543967] bond0 (unregistering): Released all slaves [ 428.592335] bond0: (slave eth0): making interface the new active one [ 428.592731] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.608589] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.268740] 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 ] [ 442.920224] eth0: left promiscuous mode [ 442.936769] bond0 (unregistering): (slave eth0): Releasing backup interface [ 442.945216] bond0 (unregistering): (slave eth1): Releasing backup interface [ 442.953075] bond0 (unregistering): Released all slaves [ 442.954263] br0: port 1(s0) entered disabled state [ 442.954919] br0: port 2(s1) entered disabled state [ 443.006479] bond0: (slave eth0): making interface the new active one [ 443.006942] bond0: (slave eth0): Enslaving as an active interface with an up link [ 443.007607] br0: port 1(s0) entered blocking state [ 443.007898] br0: port 1(s0) entered forwarding state [ 443.021878] bond0: (slave eth1): Enslaving as an active interface with an up link [ 443.022352] br0: port 2(s1) entered blocking state [ 443.022623] br0: port 2(s1) entered forwarding state [ 444.507113] 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.137062] eth0: left promiscuous mode [ 457.155969] bond0 (unregistering): (slave eth0): Releasing active interface [ 457.166114] bond0 (unregistering): (slave eth1): Releasing active interface [ 457.171989] bond0 (unregistering): Released all slaves [ 457.172785] br0: port 1(s0) entered disabled state [ 457.173202] br0: port 2(s1) entered disabled state [ 457.227871] bond0: (slave eth0): making interface the new active one [ 457.228417] bond0: (slave eth0): Enslaving as an active interface with an up link [ 457.229408] br0: port 1(s0) entered blocking state [ 457.229788] br0: port 1(s0) entered forwarding state [ 457.247424] bond0: (slave eth1): Enslaving as an active interface with an up link [ 457.248444] br0: port 2(s1) entered blocking state [ 457.248839] br0: port 2(s1) entered forwarding state [ 458.619181] 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.300896] eth0: left promiscuous mode [ 471.346135] br0: port 3(c0) entered disabled state [ 471.346805] c0 (unregistering): left allmulticast mode [ 471.347104] c0 (unregistering): left promiscuous mode [ 471.347374] br0: port 3(c0) entered disabled state [ 471.417348] br0: port 1(s0) entered disabled state [ 471.418160] bond0: (slave eth0): Releasing active interface [ 471.418612] bond0: (slave eth0): the permanent HWaddr of slave - 2e:f6:27:9e:28:97 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 471.419838] bond0: (slave eth1): making interface the new active one [ 471.429401] s0 (unregistering): left allmulticast mode [ 471.429856] s0 (unregistering): left promiscuous mode [ 471.430246] br0: port 1(s0) entered disabled state [ 471.455330] br0: port 2(s1) entered disabled state [ 471.455783] bond0: (slave eth1): Releasing active interface [ 471.471366] s1 (unregistering): left allmulticast mode [ 471.471714] s1 (unregistering): left promiscuous mode [ 471.472019] br0: port 2(s1) entered disabled state [ 471.494547] 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__->