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 [ 343.154607] br0: port 1(s0) entered blocking state [ 343.155049] br0: port 1(s0) entered disabled state [ 343.155444] s0: entered allmulticast mode [ 343.155893] s0: entered promiscuous mode [ 343.171109] bond0: (slave eth0): making interface the new active one [ 343.171489] bond0: (slave eth0): Enslaving as an active interface with an up link [ 343.172131] br0: port 1(s0) entered blocking state [ 343.172395] br0: port 1(s0) entered forwarding state [ 343.237619] br0: port 2(s1) entered blocking state [ 343.237966] br0: port 2(s1) entered disabled state [ 343.238341] s1: entered allmulticast mode [ 343.238631] s1: entered promiscuous mode [ 343.254245] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.254761] br0: port 2(s1) entered blocking state [ 343.255035] br0: port 2(s1) entered forwarding state [ 343.386781] br0: port 3(c0) entered blocking state [ 343.387105] br0: port 3(c0) entered disabled state [ 343.387392] c0: entered allmulticast mode [ 343.387686] c0: entered promiscuous mode [ 343.403924] br0: port 3(c0) entered blocking state [ 343.404252] br0: port 3(c0) entered forwarding state [ 343.514307] bond0 (unregistering): (slave eth0): Releasing backup interface [ 343.526027] bond0 (unregistering): (slave eth1): Releasing backup interface [ 343.531933] bond0 (unregistering): Released all slaves [ 343.581399] bond0: (slave eth0): making interface the new active one [ 343.581812] bond0: (slave eth0): Enslaving as an active interface with an up link [ 343.595583] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.977046] 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 ] [ 358.600260] eth0: left promiscuous mode [ 358.616345] bond0 (unregistering): (slave eth0): Releasing backup interface [ 358.624222] bond0 (unregistering): (slave eth1): Releasing backup interface [ 358.637026] bond0 (unregistering): Released all slaves [ 358.638317] br0: port 1(s0) entered disabled state [ 358.638966] br0: port 2(s1) entered disabled state [ 358.692448] bond0: (slave eth0): making interface the new active one [ 358.692929] bond0: (slave eth0): Enslaving as an active interface with an up link [ 358.693577] br0: port 1(s0) entered blocking state [ 358.693870] br0: port 1(s0) entered forwarding state [ 358.709442] bond0: (slave eth1): Enslaving as an active interface with an up link [ 358.710137] br0: port 2(s1) entered blocking state [ 358.710405] br0: port 2(s1) entered forwarding state [ 359.945393] 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 ] [ 372.622408] eth0: left promiscuous mode [ 372.639709] bond0 (unregistering): (slave eth0): Releasing active interface [ 372.651090] bond0 (unregistering): (slave eth1): Releasing active interface [ 372.659978] bond0 (unregistering): Released all slaves [ 372.660820] br0: port 1(s0) entered disabled state [ 372.661282] br0: port 2(s1) entered disabled state [ 372.713174] bond0: (slave eth0): making interface the new active one [ 372.713574] bond0: (slave eth0): Enslaving as an active interface with an up link [ 372.714239] br0: port 1(s0) entered blocking state [ 372.714509] br0: port 1(s0) entered forwarding state [ 372.730698] bond0: (slave eth1): Enslaving as an active interface with an up link [ 372.731510] br0: port 2(s1) entered blocking state [ 372.731795] br0: port 2(s1) entered forwarding state [ 374.080504] 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 ] [ 386.736263] eth0: left promiscuous mode [ 386.779505] br0: port 3(c0) entered disabled state [ 386.780177] c0 (unregistering): left allmulticast mode [ 386.780456] c0 (unregistering): left promiscuous mode [ 386.780723] br0: port 3(c0) entered disabled state [ 386.854208] br0: port 1(s0) entered disabled state [ 386.854646] bond0: (slave eth0): Releasing active interface [ 386.854997] bond0: (slave eth0): the permanent HWaddr of slave - b2:38:de:69:50:0e - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 386.855991] bond0: (slave eth1): making interface the new active one [ 386.868228] s0 (unregistering): left allmulticast mode [ 386.868551] s0 (unregistering): left promiscuous mode [ 386.868845] br0: port 1(s0) entered disabled state [ 386.893184] br0: port 2(s1) entered disabled state [ 386.893770] bond0: (slave eth1): Releasing active interface [ 386.904309] s1 (unregistering): left allmulticast mode [ 386.904646] s1 (unregistering): left promiscuous mode [ 386.904941] br0: port 2(s1) entered disabled state [ 386.930768] 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__->