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 [ 434.041209] br0: port 1(s0) entered blocking state [ 434.041578] br0: port 1(s0) entered disabled state [ 434.041996] s0: entered allmulticast mode [ 434.042437] s0: entered promiscuous mode [ 434.057067] bond0: (slave eth0): making interface the new active one [ 434.057461] bond0: (slave eth0): Enslaving as an active interface with an up link [ 434.058268] br0: port 1(s0) entered blocking state [ 434.058540] br0: port 1(s0) entered forwarding state [ 434.112155] br0: port 2(s1) entered blocking state [ 434.112576] br0: port 2(s1) entered disabled state [ 434.112986] s1: entered allmulticast mode [ 434.113427] s1: entered promiscuous mode [ 434.128039] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.128736] br0: port 2(s1) entered blocking state [ 434.129009] br0: port 2(s1) entered forwarding state [ 434.248531] br0: port 3(c0) entered blocking state [ 434.248843] br0: port 3(c0) entered disabled state [ 434.249176] c0: entered allmulticast mode [ 434.249511] c0: entered promiscuous mode [ 434.267688] br0: port 3(c0) entered blocking state [ 434.268001] br0: port 3(c0) entered forwarding state [ 434.373757] bond0 (unregistering): (slave eth0): Releasing backup interface [ 434.382107] bond0 (unregistering): (slave eth1): Releasing backup interface [ 434.388040] bond0 (unregistering): Released all slaves [ 434.432584] bond0: (slave eth0): making interface the new active one [ 434.432976] bond0: (slave eth0): Enslaving as an active interface with an up link [ 434.448144] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 436.796407] 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 ] [ 449.467909] eth0: left promiscuous mode [ 449.483728] bond0 (unregistering): (slave eth0): Releasing backup interface [ 449.499060] bond0 (unregistering): (slave eth1): Releasing backup interface [ 449.508000] bond0 (unregistering): Released all slaves [ 449.508804] br0: port 1(s0) entered disabled state [ 449.509224] br0: port 2(s1) entered disabled state [ 449.561882] bond0: (slave eth0): making interface the new active one [ 449.562467] bond0: (slave eth0): Enslaving as an active interface with an up link [ 449.563491] br0: port 1(s0) entered blocking state [ 449.563891] br0: port 1(s0) entered forwarding state [ 449.579222] bond0: (slave eth1): Enslaving as an active interface with an up link [ 449.579948] br0: port 2(s1) entered blocking state [ 449.580219] br0: port 2(s1) entered forwarding state [ 451.084461] 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 ] [ 463.714204] eth0: left promiscuous mode [ 463.731562] bond0 (unregistering): (slave eth0): Releasing active interface [ 463.744147] bond0 (unregistering): (slave eth1): Releasing active interface [ 463.749995] bond0 (unregistering): Released all slaves [ 463.750781] br0: port 1(s0) entered disabled state [ 463.751226] br0: port 2(s1) entered disabled state [ 463.795039] bond0: (slave eth0): making interface the new active one [ 463.795457] bond0: (slave eth0): Enslaving as an active interface with an up link [ 463.796177] br0: port 1(s0) entered blocking state [ 463.796457] br0: port 1(s0) entered forwarding state [ 463.811382] bond0: (slave eth1): Enslaving as an active interface with an up link [ 463.812059] br0: port 2(s1) entered blocking state [ 463.812341] br0: port 2(s1) entered forwarding state [ 465.302624] 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 ] [ 477.956039] eth0: left promiscuous mode [ 477.990703] br0: port 3(c0) entered disabled state [ 477.991334] c0 (unregistering): left allmulticast mode [ 477.991614] c0 (unregistering): left promiscuous mode [ 477.991911] br0: port 3(c0) entered disabled state [ 478.063178] br0: port 1(s0) entered disabled state [ 478.063696] bond0: (slave eth0): Releasing active interface [ 478.064022] bond0: (slave eth0): the permanent HWaddr of slave - 06:e2:e0:ca:32:b4 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 478.064990] bond0: (slave eth1): making interface the new active one [ 478.078296] s0 (unregistering): left allmulticast mode [ 478.078614] s0 (unregistering): left promiscuous mode [ 478.078901] br0: port 1(s0) entered disabled state [ 478.104451] br0: port 2(s1) entered disabled state [ 478.104864] bond0: (slave eth1): Releasing active interface [ 478.116294] s1 (unregistering): left allmulticast mode [ 478.116711] s1 (unregistering): left promiscuous mode [ 478.117002] br0: port 2(s1) entered disabled state [ 478.140065] 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__->