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 [ 338.854635] br0: port 1(s0) entered blocking state [ 338.854951] br0: port 1(s0) entered disabled state [ 338.855217] s0: entered allmulticast mode [ 338.855499] s0: entered promiscuous mode [ 338.871380] bond0: (slave eth0): making interface the new active one [ 338.871768] bond0: (slave eth0): Enslaving as an active interface with an up link [ 338.872503] br0: port 1(s0) entered blocking state [ 338.872768] br0: port 1(s0) entered forwarding state [ 338.929058] br0: port 2(s1) entered blocking state [ 338.929428] br0: port 2(s1) entered disabled state [ 338.929772] s1: entered allmulticast mode [ 338.930166] s1: entered promiscuous mode [ 338.944213] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 338.944917] br0: port 2(s1) entered blocking state [ 338.945187] br0: port 2(s1) entered forwarding state [ 339.053721] br0: port 3(c0) entered blocking state [ 339.054028] br0: port 3(c0) entered disabled state [ 339.054292] c0: entered allmulticast mode [ 339.054579] c0: entered promiscuous mode [ 339.067468] br0: port 3(c0) entered blocking state [ 339.067753] br0: port 3(c0) entered forwarding state [ 339.163034] bond0 (unregistering): (slave eth0): Releasing backup interface [ 339.174125] bond0 (unregistering): (slave eth1): Releasing backup interface [ 339.183032] bond0 (unregistering): Released all slaves [ 339.228738] bond0: (slave eth0): making interface the new active one [ 339.229160] bond0: (slave eth0): Enslaving as an active interface with an up link [ 339.243823] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 340.923728] 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 ] [ 353.443882] eth0: left promiscuous mode [ 353.459015] bond0 (unregistering): (slave eth0): Releasing backup interface [ 353.468243] bond0 (unregistering): (slave eth1): Releasing backup interface [ 353.474040] bond0 (unregistering): Released all slaves [ 353.474873] br0: port 1(s0) entered disabled state [ 353.475310] br0: port 2(s1) entered disabled state [ 353.517754] bond0: (slave eth0): making interface the new active one [ 353.518159] bond0: (slave eth0): Enslaving as an active interface with an up link [ 353.518819] br0: port 1(s0) entered blocking state [ 353.519095] br0: port 1(s0) entered forwarding state [ 353.534177] bond0: (slave eth1): Enslaving as an active interface with an up link [ 353.534893] br0: port 2(s1) entered blocking state [ 353.535173] br0: port 2(s1) entered forwarding state [ 354.940927] 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 ] [ 367.479458] eth0: left promiscuous mode [ 367.495354] bond0 (unregistering): (slave eth0): Releasing active interface [ 367.502272] bond0 (unregistering): (slave eth1): Releasing active interface [ 367.510113] bond0 (unregistering): Released all slaves [ 367.511370] br0: port 1(s0) entered disabled state [ 367.511898] br0: port 2(s1) entered disabled state [ 367.557431] bond0: (slave eth0): making interface the new active one [ 367.557981] bond0: (slave eth0): Enslaving as an active interface with an up link [ 367.558846] br0: port 1(s0) entered blocking state [ 367.559235] br0: port 1(s0) entered forwarding state [ 367.572925] bond0: (slave eth1): Enslaving as an active interface with an up link [ 367.573554] br0: port 2(s1) entered blocking state [ 367.573811] br0: port 2(s1) entered forwarding state [ 369.153801] 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 ] [ 381.735454] eth0: left promiscuous mode [ 381.768621] br0: port 3(c0) entered disabled state [ 381.769338] c0 (unregistering): left allmulticast mode [ 381.769640] c0 (unregistering): left promiscuous mode [ 381.769941] br0: port 3(c0) entered disabled state [ 381.829538] br0: port 1(s0) entered disabled state [ 381.829996] bond0: (slave eth0): Releasing active interface [ 381.830331] bond0: (slave eth0): the permanent HWaddr of slave - 82:83:4f:d3:19:6e - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 381.831286] bond0: (slave eth1): making interface the new active one [ 381.839466] s0 (unregistering): left allmulticast mode [ 381.839791] s0 (unregistering): left promiscuous mode [ 381.840083] br0: port 1(s0) entered disabled state [ 381.862975] br0: port 2(s1) entered disabled state [ 381.863541] bond0: (slave eth1): Releasing active interface [ 381.873419] s1 (unregistering): left allmulticast mode [ 381.873742] s1 (unregistering): left promiscuous mode [ 381.874048] br0: port 2(s1) entered disabled state [ 381.902642] 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__->