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 [ 426.962803] br0: port 1(s0) entered blocking state [ 426.963109] br0: port 1(s0) entered disabled state [ 426.963392] s0: entered allmulticast mode [ 426.963770] s0: entered promiscuous mode [ 426.978168] bond0: (slave eth0): making interface the new active one [ 426.978691] bond0: (slave eth0): Enslaving as an active interface with an up link [ 426.979618] br0: port 1(s0) entered blocking state [ 426.979998] br0: port 1(s0) entered forwarding state [ 427.044801] br0: port 2(s1) entered blocking state [ 427.045084] br0: port 2(s1) entered disabled state [ 427.045338] s1: entered allmulticast mode [ 427.045639] s1: entered promiscuous mode [ 427.062266] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 427.063176] br0: port 2(s1) entered blocking state [ 427.063534] br0: port 2(s1) entered forwarding state [ 427.190359] br0: port 3(c0) entered blocking state [ 427.190686] br0: port 3(c0) entered disabled state [ 427.190945] c0: entered allmulticast mode [ 427.191236] c0: entered promiscuous mode [ 427.206043] br0: port 3(c0) entered blocking state [ 427.206339] br0: port 3(c0) entered forwarding state [ 427.312534] bond0 (unregistering): (slave eth0): Releasing backup interface [ 427.320603] bond0 (unregistering): (slave eth1): Releasing backup interface [ 427.326533] bond0 (unregistering): Released all slaves [ 427.374102] bond0: (slave eth0): making interface the new active one [ 427.374495] bond0: (slave eth0): Enslaving as an active interface with an up link [ 427.391658] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.731076] 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 ] [ 441.308312] eth0: left promiscuous mode [ 441.325756] bond0 (unregistering): (slave eth0): Releasing backup interface [ 441.335702] bond0 (unregistering): (slave eth1): Releasing backup interface [ 441.348562] bond0 (unregistering): Released all slaves [ 441.349307] br0: port 1(s0) entered disabled state [ 441.349750] br0: port 2(s1) entered disabled state [ 441.401847] bond0: (slave eth0): making interface the new active one [ 441.402235] bond0: (slave eth0): Enslaving as an active interface with an up link [ 441.402880] br0: port 1(s0) entered blocking state [ 441.403140] br0: port 1(s0) entered forwarding state [ 441.419160] bond0: (slave eth1): Enslaving as an active interface with an up link [ 441.419908] br0: port 2(s1) entered blocking state [ 441.420171] br0: port 2(s1) entered forwarding state [ 442.768014] 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 ] [ 455.398772] eth0: left promiscuous mode [ 455.414687] bond0 (unregistering): (slave eth0): Releasing active interface [ 455.425696] bond0 (unregistering): (slave eth1): Releasing active interface [ 455.431574] bond0 (unregistering): Released all slaves [ 455.432262] br0: port 1(s0) entered disabled state [ 455.432625] br0: port 2(s1) entered disabled state [ 455.479719] bond0: (slave eth0): making interface the new active one [ 455.480120] bond0: (slave eth0): Enslaving as an active interface with an up link [ 455.480754] br0: port 1(s0) entered blocking state [ 455.481015] br0: port 1(s0) entered forwarding state [ 455.494376] bond0: (slave eth1): Enslaving as an active interface with an up link [ 455.495015] br0: port 2(s1) entered blocking state [ 455.495292] br0: port 2(s1) entered forwarding state [ 456.823725] 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 ] [ 469.452315] eth0: left promiscuous mode [ 469.487147] br0: port 3(c0) entered disabled state [ 469.487804] c0 (unregistering): left allmulticast mode [ 469.488090] c0 (unregistering): left promiscuous mode [ 469.488438] br0: port 3(c0) entered disabled state [ 469.553131] br0: port 1(s0) entered disabled state [ 469.553690] bond0: (slave eth0): Releasing active interface [ 469.554001] bond0: (slave eth0): the permanent HWaddr of slave - 06:d2:75:79:97:f9 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 469.554864] bond0: (slave eth1): making interface the new active one [ 469.565765] s0 (unregistering): left allmulticast mode [ 469.566056] s0 (unregistering): left promiscuous mode [ 469.566317] br0: port 1(s0) entered disabled state [ 469.594820] br0: port 2(s1) entered disabled state [ 469.595201] bond0: (slave eth1): Releasing active interface [ 469.609862] s1 (unregistering): left allmulticast mode [ 469.610167] s1 (unregistering): left promiscuous mode [ 469.610472] br0: port 2(s1) entered disabled state [ 469.633450] 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__->