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 [ 344.038536] br0: port 1(s0) entered blocking state [ 344.038997] br0: port 1(s0) entered disabled state [ 344.039389] s0: entered allmulticast mode [ 344.039825] s0: entered promiscuous mode [ 344.054048] bond0: (slave eth0): making interface the new active one [ 344.054442] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.055288] br0: port 1(s0) entered blocking state [ 344.055641] br0: port 1(s0) entered forwarding state [ 344.113189] br0: port 2(s1) entered blocking state [ 344.113497] br0: port 2(s1) entered disabled state [ 344.113766] s1: entered allmulticast mode [ 344.114067] s1: entered promiscuous mode [ 344.127455] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 344.128051] br0: port 2(s1) entered blocking state [ 344.128345] br0: port 2(s1) entered forwarding state [ 344.236159] br0: port 3(c0) entered blocking state [ 344.236546] br0: port 3(c0) entered disabled state [ 344.236934] c0: entered allmulticast mode [ 344.237311] c0: entered promiscuous mode [ 344.252192] br0: port 3(c0) entered blocking state [ 344.252608] br0: port 3(c0) entered forwarding state [ 344.347252] bond0 (unregistering): (slave eth0): Releasing backup interface [ 344.357092] bond0 (unregistering): (slave eth1): Releasing backup interface [ 344.362972] bond0 (unregistering): Released all slaves [ 344.411864] bond0: (slave eth0): making interface the new active one [ 344.412408] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.427689] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.427381] 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.987481] eth0: left promiscuous mode [ 359.001502] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.010048] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.017907] bond0 (unregistering): Released all slaves [ 359.018680] br0: port 1(s0) entered disabled state [ 359.019111] br0: port 2(s1) entered disabled state [ 359.062543] bond0: (slave eth0): making interface the new active one [ 359.062966] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.063559] br0: port 1(s0) entered blocking state [ 359.063858] br0: port 1(s0) entered forwarding state [ 359.077686] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.078597] br0: port 2(s1) entered blocking state [ 359.078981] br0: port 2(s1) entered forwarding state [ 360.350578] 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.935403] eth0: left promiscuous mode [ 372.951384] bond0 (unregistering): (slave eth0): Releasing active interface [ 372.964124] bond0 (unregistering): (slave eth1): Releasing active interface [ 372.972930] bond0 (unregistering): Released all slaves [ 372.973735] br0: port 1(s0) entered disabled state [ 372.974128] br0: port 2(s1) entered disabled state [ 373.019360] bond0: (slave eth0): making interface the new active one [ 373.019771] bond0: (slave eth0): Enslaving as an active interface with an up link [ 373.020431] br0: port 1(s0) entered blocking state [ 373.020714] br0: port 1(s0) entered forwarding state [ 373.034343] bond0: (slave eth1): Enslaving as an active interface with an up link [ 373.034980] br0: port 2(s1) entered blocking state [ 373.035243] br0: port 2(s1) entered forwarding state [ 374.356744] 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.952622] eth0: left promiscuous mode [ 386.990342] br0: port 3(c0) entered disabled state [ 386.991055] c0 (unregistering): left allmulticast mode [ 386.991354] c0 (unregistering): left promiscuous mode [ 386.991644] br0: port 3(c0) entered disabled state [ 387.058463] br0: port 1(s0) entered disabled state [ 387.058940] bond0: (slave eth0): Releasing active interface [ 387.059247] bond0: (slave eth0): the permanent HWaddr of slave - 96:07:b7:37:19:77 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 387.060091] bond0: (slave eth1): making interface the new active one [ 387.072367] s0 (unregistering): left allmulticast mode [ 387.072673] s0 (unregistering): left promiscuous mode [ 387.072962] br0: port 1(s0) entered disabled state [ 387.097908] br0: port 2(s1) entered disabled state [ 387.098361] bond0: (slave eth1): Releasing active interface [ 387.105329] s1 (unregistering): left allmulticast mode [ 387.105616] s1 (unregistering): left promiscuous mode [ 387.105911] br0: port 2(s1) entered disabled state [ 387.141665] 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__->