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 [ 436.976413] br0: port 1(s0) entered blocking state [ 436.976708] br0: port 1(s0) entered disabled state [ 436.976993] s0: entered allmulticast mode [ 436.977288] s0: entered promiscuous mode [ 436.993024] bond0: (slave eth0): making interface the new active one [ 436.993403] bond0: (slave eth0): Enslaving as an active interface with an up link [ 436.994088] br0: port 1(s0) entered blocking state [ 436.994353] br0: port 1(s0) entered forwarding state [ 437.053978] br0: port 2(s1) entered blocking state [ 437.054271] br0: port 2(s1) entered disabled state [ 437.054534] s1: entered allmulticast mode [ 437.054835] s1: entered promiscuous mode [ 437.068711] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 437.069667] br0: port 2(s1) entered blocking state [ 437.070039] br0: port 2(s1) entered forwarding state [ 437.189287] br0: port 3(c0) entered blocking state [ 437.189574] br0: port 3(c0) entered disabled state [ 437.189905] c0: entered allmulticast mode [ 437.190188] c0: entered promiscuous mode [ 437.203315] br0: port 3(c0) entered blocking state [ 437.203608] br0: port 3(c0) entered forwarding state [ 437.307583] bond0 (unregistering): (slave eth0): Releasing backup interface [ 437.321025] bond0 (unregistering): (slave eth1): Releasing backup interface [ 437.326055] bond0 (unregistering): Released all slaves [ 437.378231] bond0: (slave eth0): making interface the new active one [ 437.378608] bond0: (slave eth0): Enslaving as an active interface with an up link [ 437.395962] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 438.763465] 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.421859] eth0: left promiscuous mode [ 451.436726] bond0 (unregistering): (slave eth0): Releasing backup interface [ 451.448032] bond0 (unregistering): (slave eth1): Releasing backup interface [ 451.457045] bond0 (unregistering): Released all slaves [ 451.458346] br0: port 1(s0) entered disabled state [ 451.458977] br0: port 2(s1) entered disabled state [ 451.510026] bond0: (slave eth0): making interface the new active one [ 451.510451] bond0: (slave eth0): Enslaving as an active interface with an up link [ 451.511155] br0: port 1(s0) entered blocking state [ 451.511441] br0: port 1(s0) entered forwarding state [ 451.525392] bond0: (slave eth1): Enslaving as an active interface with an up link [ 451.526249] br0: port 2(s1) entered blocking state [ 451.526542] br0: port 2(s1) entered forwarding state [ 452.838195] 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.443423] eth0: left promiscuous mode [ 465.462391] bond0 (unregistering): (slave eth0): Releasing active interface [ 465.470081] bond0 (unregistering): (slave eth1): Releasing active interface [ 465.475977] bond0 (unregistering): Released all slaves [ 465.476829] br0: port 1(s0) entered disabled state [ 465.477227] br0: port 2(s1) entered disabled state [ 465.527969] bond0: (slave eth0): making interface the new active one [ 465.528392] bond0: (slave eth0): Enslaving as an active interface with an up link [ 465.529083] br0: port 1(s0) entered blocking state [ 465.529358] br0: port 1(s0) entered forwarding state [ 465.543556] bond0: (slave eth1): Enslaving as an active interface with an up link [ 465.544258] br0: port 2(s1) entered blocking state [ 465.544538] br0: port 2(s1) entered forwarding state [ 466.873787] 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.465134] eth0: left promiscuous mode [ 479.508533] br0: port 3(c0) entered disabled state [ 479.509192] c0 (unregistering): left allmulticast mode [ 479.509471] c0 (unregistering): left promiscuous mode [ 479.509736] br0: port 3(c0) entered disabled state [ 479.583753] br0: port 1(s0) entered disabled state [ 479.584226] bond0: (slave eth0): Releasing active interface [ 479.584523] bond0: (slave eth0): the permanent HWaddr of slave - 42:d5:57:f7:d6:e7 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 479.585349] bond0: (slave eth1): making interface the new active one [ 479.603257] s0 (unregistering): left allmulticast mode [ 479.603588] s0 (unregistering): left promiscuous mode [ 479.603889] br0: port 1(s0) entered disabled state [ 479.628642] br0: port 2(s1) entered disabled state [ 479.629129] bond0: (slave eth1): Releasing active interface [ 479.638459] s1 (unregistering): left allmulticast mode [ 479.638834] s1 (unregistering): left promiscuous mode [ 479.639121] br0: port 2(s1) entered disabled state [ 479.664622] 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__->