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 [ 347.984843] br0: port 1(s0) entered blocking state [ 347.985159] br0: port 1(s0) entered disabled state [ 347.985422] s0: entered allmulticast mode [ 347.985702] s0: entered promiscuous mode [ 347.997849] bond0: (slave eth0): making interface the new active one [ 347.998341] bond0: (slave eth0): Enslaving as an active interface with an up link [ 347.999019] br0: port 1(s0) entered blocking state [ 347.999295] br0: port 1(s0) entered forwarding state [ 348.051769] br0: port 2(s1) entered blocking state [ 348.052071] br0: port 2(s1) entered disabled state [ 348.052332] s1: entered allmulticast mode [ 348.052663] s1: entered promiscuous mode [ 348.065288] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 348.065745] br0: port 2(s1) entered blocking state [ 348.066011] br0: port 2(s1) entered forwarding state [ 348.184393] br0: port 3(c0) entered blocking state [ 348.184804] br0: port 3(c0) entered disabled state [ 348.185193] c0: entered allmulticast mode [ 348.185579] c0: entered promiscuous mode [ 348.198994] br0: port 3(c0) entered blocking state [ 348.199279] br0: port 3(c0) entered forwarding state [ 348.308262] bond0 (unregistering): (slave eth0): Releasing backup interface [ 348.315358] bond0 (unregistering): (slave eth1): Releasing backup interface [ 348.323073] bond0 (unregistering): Released all slaves [ 348.371042] bond0: (slave eth0): making interface the new active one [ 348.371580] bond0: (slave eth0): Enslaving as an active interface with an up link [ 348.386754] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 350.012744] 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 ] [ 362.605060] eth0: left promiscuous mode [ 362.618974] bond0 (unregistering): (slave eth0): Releasing backup interface [ 362.626222] bond0 (unregistering): (slave eth1): Releasing backup interface [ 362.634038] bond0 (unregistering): Released all slaves [ 362.634832] br0: port 1(s0) entered disabled state [ 362.635252] br0: port 2(s1) entered disabled state [ 362.677295] bond0: (slave eth0): making interface the new active one [ 362.677704] bond0: (slave eth0): Enslaving as an active interface with an up link [ 362.678378] br0: port 1(s0) entered blocking state [ 362.678655] br0: port 1(s0) entered forwarding state [ 362.691628] bond0: (slave eth1): Enslaving as an active interface with an up link [ 362.692353] br0: port 2(s1) entered blocking state [ 362.692626] br0: port 2(s1) entered forwarding state [ 364.548315] 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 ] [ 377.166244] eth0: left promiscuous mode [ 377.178888] bond0 (unregistering): (slave eth0): Releasing active interface [ 377.191137] bond0 (unregistering): (slave eth1): Releasing active interface [ 377.200060] bond0 (unregistering): Released all slaves [ 377.200951] br0: port 1(s0) entered disabled state [ 377.201306] br0: port 2(s1) entered disabled state [ 377.249637] bond0: (slave eth0): making interface the new active one [ 377.250231] bond0: (slave eth0): Enslaving as an active interface with an up link [ 377.251130] br0: port 1(s0) entered blocking state [ 377.251515] br0: port 1(s0) entered forwarding state [ 377.269255] bond0: (slave eth1): Enslaving as an active interface with an up link [ 377.269758] br0: port 2(s1) entered blocking state [ 377.270033] br0: port 2(s1) entered forwarding state [ 378.443946] 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 ] [ 391.036659] eth0: left promiscuous mode [ 391.076806] br0: port 3(c0) entered disabled state [ 391.077797] c0 (unregistering): left allmulticast mode [ 391.078204] c0 (unregistering): left promiscuous mode [ 391.078568] br0: port 3(c0) entered disabled state [ 391.149722] br0: port 1(s0) entered disabled state [ 391.150253] bond0: (slave eth0): Releasing active interface [ 391.150564] bond0: (slave eth0): the permanent HWaddr of slave - 26:4f:90:43:26:87 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 391.151401] bond0: (slave eth1): making interface the new active one [ 391.162337] s0 (unregistering): left allmulticast mode [ 391.162642] s0 (unregistering): left promiscuous mode [ 391.162938] br0: port 1(s0) entered disabled state [ 391.188091] br0: port 2(s1) entered disabled state [ 391.188636] bond0: (slave eth1): Releasing active interface [ 391.198586] s1 (unregistering): left allmulticast mode [ 391.199028] s1 (unregistering): left promiscuous mode [ 391.199420] br0: port 2(s1) entered disabled state [ 391.222061] 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__->