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 [ 432.996625] br0: port 1(s0) entered blocking state [ 432.997024] br0: port 1(s0) entered disabled state [ 432.997347] s0: entered allmulticast mode [ 432.997647] s0: entered promiscuous mode [ 433.013197] bond0: (slave eth0): making interface the new active one [ 433.013592] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.014354] br0: port 1(s0) entered blocking state [ 433.014676] br0: port 1(s0) entered forwarding state [ 433.078874] br0: port 2(s1) entered blocking state [ 433.079235] br0: port 2(s1) entered disabled state [ 433.079610] s1: entered allmulticast mode [ 433.080068] s1: entered promiscuous mode [ 433.094395] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.095529] br0: port 2(s1) entered blocking state [ 433.095983] br0: port 2(s1) entered forwarding state [ 433.211965] br0: port 3(c0) entered blocking state [ 433.212256] br0: port 3(c0) entered disabled state [ 433.212522] c0: entered allmulticast mode [ 433.212908] c0: entered promiscuous mode [ 433.227988] br0: port 3(c0) entered blocking state [ 433.228401] br0: port 3(c0) entered forwarding state [ 433.331983] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.341088] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.347013] bond0 (unregistering): Released all slaves [ 433.399361] bond0: (slave eth0): making interface the new active one [ 433.399912] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.414296] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.890215] 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 ] [ 447.523569] eth0: left promiscuous mode [ 447.540358] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.553084] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.561990] bond0 (unregistering): Released all slaves [ 447.563008] br0: port 1(s0) entered disabled state [ 447.563422] br0: port 2(s1) entered disabled state [ 447.621718] bond0: (slave eth0): making interface the new active one [ 447.622287] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.623258] br0: port 1(s0) entered blocking state [ 447.623650] br0: port 1(s0) entered forwarding state [ 447.640633] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.641364] br0: port 2(s1) entered blocking state [ 447.641631] br0: port 2(s1) entered forwarding state [ 449.037821] 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 ] [ 461.692497] eth0: left promiscuous mode [ 461.710221] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.720212] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.730054] bond0 (unregistering): Released all slaves [ 461.731392] br0: port 1(s0) entered disabled state [ 461.731951] br0: port 2(s1) entered disabled state [ 461.783278] bond0: (slave eth0): making interface the new active one [ 461.783677] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.784390] br0: port 1(s0) entered blocking state [ 461.784654] br0: port 1(s0) entered forwarding state [ 461.801276] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.802309] br0: port 2(s1) entered blocking state [ 461.802710] br0: port 2(s1) entered forwarding state [ 463.128887] 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 ] [ 475.799555] eth0: left promiscuous mode [ 475.837019] br0: port 3(c0) entered disabled state [ 475.837676] c0 (unregistering): left allmulticast mode [ 475.837984] c0 (unregistering): left promiscuous mode [ 475.838273] br0: port 3(c0) entered disabled state [ 475.906057] br0: port 1(s0) entered disabled state [ 475.906570] bond0: (slave eth0): Releasing active interface [ 475.907042] bond0: (slave eth0): the permanent HWaddr of slave - be:5f:17:87:2b:3a - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.908241] bond0: (slave eth1): making interface the new active one [ 475.923170] s0 (unregistering): left allmulticast mode [ 475.923468] s0 (unregistering): left promiscuous mode [ 475.923841] br0: port 1(s0) entered disabled state [ 475.949458] br0: port 2(s1) entered disabled state [ 475.949875] bond0: (slave eth1): Releasing active interface [ 475.956295] s1 (unregistering): left allmulticast mode [ 475.956601] s1 (unregistering): left promiscuous mode [ 475.956893] br0: port 2(s1) entered disabled state [ 475.983348] 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__->