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 [ 435.963351] br0: port 1(s0) entered blocking state [ 435.963754] br0: port 1(s0) entered disabled state [ 435.964123] s0: entered allmulticast mode [ 435.964547] s0: entered promiscuous mode [ 435.979325] bond0: (slave eth0): making interface the new active one [ 435.979918] bond0: (slave eth0): Enslaving as an active interface with an up link [ 435.980637] br0: port 1(s0) entered blocking state [ 435.980977] br0: port 1(s0) entered forwarding state [ 436.041324] br0: port 2(s1) entered blocking state [ 436.041618] br0: port 2(s1) entered disabled state [ 436.041890] s1: entered allmulticast mode [ 436.042246] s1: entered promiscuous mode [ 436.055247] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 436.055947] br0: port 2(s1) entered blocking state [ 436.056219] br0: port 2(s1) entered forwarding state [ 436.185982] br0: port 3(c0) entered blocking state [ 436.186277] br0: port 3(c0) entered disabled state [ 436.186556] c0: entered allmulticast mode [ 436.186949] c0: entered promiscuous mode [ 436.205079] br0: port 3(c0) entered blocking state [ 436.205495] br0: port 3(c0) entered forwarding state [ 436.326127] bond0 (unregistering): (slave eth0): Releasing backup interface [ 436.338051] bond0 (unregistering): (slave eth1): Releasing backup interface [ 436.343930] bond0 (unregistering): Released all slaves [ 436.397311] bond0: (slave eth0): making interface the new active one [ 436.397702] bond0: (slave eth0): Enslaving as an active interface with an up link [ 436.415267] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 438.845689] 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 ] [ 451.456261] eth0: left promiscuous mode [ 451.471428] bond0 (unregistering): (slave eth0): Releasing backup interface [ 451.482973] bond0 (unregistering): (slave eth1): Releasing backup interface [ 451.491934] bond0 (unregistering): Released all slaves [ 451.493013] br0: port 1(s0) entered disabled state [ 451.493413] br0: port 2(s1) entered disabled state [ 451.548208] bond0: (slave eth0): making interface the new active one [ 451.548600] bond0: (slave eth0): Enslaving as an active interface with an up link [ 451.549232] br0: port 1(s0) entered blocking state [ 451.549500] br0: port 1(s0) entered forwarding state [ 451.565728] bond0: (slave eth1): Enslaving as an active interface with an up link [ 451.566433] br0: port 2(s1) entered blocking state [ 451.566719] br0: port 2(s1) entered forwarding state [ 452.929287] 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 ] [ 465.601406] eth0: left promiscuous mode [ 465.620604] bond0 (unregistering): (slave eth0): Releasing active interface [ 465.630122] bond0 (unregistering): (slave eth1): Releasing active interface [ 465.635890] bond0 (unregistering): Released all slaves [ 465.636676] br0: port 1(s0) entered disabled state [ 465.637057] br0: port 2(s1) entered disabled state [ 465.687229] bond0: (slave eth0): making interface the new active one [ 465.687651] bond0: (slave eth0): Enslaving as an active interface with an up link [ 465.688363] br0: port 1(s0) entered blocking state [ 465.688640] br0: port 1(s0) entered forwarding state [ 465.706764] bond0: (slave eth1): Enslaving as an active interface with an up link [ 465.707468] br0: port 2(s1) entered blocking state [ 465.707744] br0: port 2(s1) entered forwarding state [ 467.208662] 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 ] [ 479.885973] eth0: left promiscuous mode [ 479.930032] br0: port 3(c0) entered disabled state [ 479.930679] c0 (unregistering): left allmulticast mode [ 479.930984] c0 (unregistering): left promiscuous mode [ 479.931262] br0: port 3(c0) entered disabled state [ 479.991603] br0: port 1(s0) entered disabled state [ 479.992065] bond0: (slave eth0): Releasing active interface [ 479.992417] bond0: (slave eth0): the permanent HWaddr of slave - f6:ec:e5:bd:40:5e - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 479.993252] bond0: (slave eth1): making interface the new active one [ 480.004168] s0 (unregistering): left allmulticast mode [ 480.004535] s0 (unregistering): left promiscuous mode [ 480.004893] br0: port 1(s0) entered disabled state [ 480.027466] br0: port 2(s1) entered disabled state [ 480.028038] bond0: (slave eth1): Releasing active interface [ 480.036245] s1 (unregistering): left allmulticast mode [ 480.036548] s1 (unregistering): left promiscuous mode [ 480.036844] br0: port 2(s1) entered disabled state [ 480.060538] 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__->