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 [ 342.012506] br0: port 1(s0) entered blocking state [ 342.012842] br0: port 1(s0) entered disabled state [ 342.013183] s0: entered allmulticast mode [ 342.013476] s0: entered promiscuous mode [ 342.027830] bond0: (slave eth0): making interface the new active one [ 342.028207] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.028976] br0: port 1(s0) entered blocking state [ 342.029250] br0: port 1(s0) entered forwarding state [ 342.091283] br0: port 2(s1) entered blocking state [ 342.091592] br0: port 2(s1) entered disabled state [ 342.091933] s1: entered allmulticast mode [ 342.092227] s1: entered promiscuous mode [ 342.107711] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.108492] br0: port 2(s1) entered blocking state [ 342.108827] br0: port 2(s1) entered forwarding state [ 342.227448] br0: port 3(c0) entered blocking state [ 342.227879] br0: port 3(c0) entered disabled state [ 342.228328] c0: entered allmulticast mode [ 342.228760] c0: entered promiscuous mode [ 342.244651] br0: port 3(c0) entered blocking state [ 342.244989] br0: port 3(c0) entered forwarding state [ 342.351076] bond0 (unregistering): (slave eth0): Releasing backup interface [ 342.360969] bond0 (unregistering): (slave eth1): Releasing backup interface [ 342.366873] bond0 (unregistering): Released all slaves [ 342.414238] bond0: (slave eth0): making interface the new active one [ 342.414642] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.429258] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.076522] 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 ] [ 357.647561] eth0: left promiscuous mode [ 357.662917] bond0 (unregistering): (slave eth0): Releasing backup interface [ 357.671026] bond0 (unregistering): (slave eth1): Releasing backup interface [ 357.676922] bond0 (unregistering): Released all slaves [ 357.677823] br0: port 1(s0) entered disabled state [ 357.678202] br0: port 2(s1) entered disabled state [ 357.720826] bond0: (slave eth0): making interface the new active one [ 357.721215] bond0: (slave eth0): Enslaving as an active interface with an up link [ 357.721941] br0: port 1(s0) entered blocking state [ 357.722208] br0: port 1(s0) entered forwarding state [ 357.734270] bond0: (slave eth1): Enslaving as an active interface with an up link [ 357.734988] br0: port 2(s1) entered blocking state [ 357.735294] br0: port 2(s1) entered forwarding state [ 359.457263] 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.050441] eth0: left promiscuous mode [ 372.067878] bond0 (unregistering): (slave eth0): Releasing active interface [ 372.082046] bond0 (unregistering): (slave eth1): Releasing active interface [ 372.094937] bond0 (unregistering): Released all slaves [ 372.095873] br0: port 1(s0) entered disabled state [ 372.096272] br0: port 2(s1) entered disabled state [ 372.145076] bond0: (slave eth0): making interface the new active one [ 372.145504] bond0: (slave eth0): Enslaving as an active interface with an up link [ 372.146230] br0: port 1(s0) entered blocking state [ 372.146555] br0: port 1(s0) entered forwarding state [ 372.160488] bond0: (slave eth1): Enslaving as an active interface with an up link [ 372.160968] br0: port 2(s1) entered blocking state [ 372.161237] br0: port 2(s1) entered forwarding state [ 373.801323] 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.456887] eth0: left promiscuous mode [ 386.501514] br0: port 3(c0) entered disabled state [ 386.502463] c0 (unregistering): left allmulticast mode [ 386.502861] c0 (unregistering): left promiscuous mode [ 386.503212] br0: port 3(c0) entered disabled state [ 386.577379] br0: port 1(s0) entered disabled state [ 386.577934] bond0: (slave eth0): Releasing active interface [ 386.578248] bond0: (slave eth0): the permanent HWaddr of slave - a6:d9:7c:2e:51:c4 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 386.579117] bond0: (slave eth1): making interface the new active one [ 386.590330] s0 (unregistering): left allmulticast mode [ 386.590791] s0 (unregistering): left promiscuous mode [ 386.591194] br0: port 1(s0) entered disabled state [ 386.615927] br0: port 2(s1) entered disabled state [ 386.616505] bond0: (slave eth1): Releasing active interface [ 386.630452] s1 (unregistering): left allmulticast mode [ 386.630914] s1 (unregistering): left promiscuous mode [ 386.631322] br0: port 2(s1) entered disabled state [ 386.653892] 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__->