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.022929] br0: port 1(s0) entered blocking state [ 432.023338] br0: port 1(s0) entered disabled state [ 432.023744] s0: entered allmulticast mode [ 432.024172] s0: entered promiscuous mode [ 432.041165] bond0: (slave eth0): making interface the new active one [ 432.041779] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.042712] br0: port 1(s0) entered blocking state [ 432.043094] br0: port 1(s0) entered forwarding state [ 432.107028] br0: port 2(s1) entered blocking state [ 432.107442] br0: port 2(s1) entered disabled state [ 432.107837] s1: entered allmulticast mode [ 432.108267] s1: entered promiscuous mode [ 432.122775] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.123507] br0: port 2(s1) entered blocking state [ 432.123782] br0: port 2(s1) entered forwarding state [ 432.241469] br0: port 3(c0) entered blocking state [ 432.241899] br0: port 3(c0) entered disabled state [ 432.242282] c0: entered allmulticast mode [ 432.242737] c0: entered promiscuous mode [ 432.257214] br0: port 3(c0) entered blocking state [ 432.257502] br0: port 3(c0) entered forwarding state [ 432.368976] bond0 (unregistering): (slave eth0): Releasing backup interface [ 432.379977] bond0 (unregistering): (slave eth1): Releasing backup interface [ 432.385854] bond0 (unregistering): Released all slaves [ 432.442132] bond0: (slave eth0): making interface the new active one [ 432.442541] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.460421] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.975106] 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 ] [ 446.601876] eth0: left promiscuous mode [ 446.618881] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.627073] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.636869] bond0 (unregistering): Released all slaves [ 446.637896] br0: port 1(s0) entered disabled state [ 446.638408] br0: port 2(s1) entered disabled state [ 446.696352] bond0: (slave eth0): making interface the new active one [ 446.696946] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.697576] br0: port 1(s0) entered blocking state [ 446.697989] br0: port 1(s0) entered forwarding state [ 446.713211] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.713942] br0: port 2(s1) entered blocking state [ 446.714247] br0: port 2(s1) entered forwarding state [ 448.069437] 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 ] [ 460.711808] eth0: left promiscuous mode [ 460.727037] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.735925] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.741812] bond0 (unregistering): Released all slaves [ 460.742560] br0: port 1(s0) entered disabled state [ 460.742954] br0: port 2(s1) entered disabled state [ 460.789629] bond0: (slave eth0): making interface the new active one [ 460.790250] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.791150] br0: port 1(s0) entered blocking state [ 460.791536] br0: port 1(s0) entered forwarding state [ 460.806286] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.806959] br0: port 2(s1) entered blocking state [ 460.807225] br0: port 2(s1) entered forwarding state [ 462.312991] 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 ] [ 474.995358] eth0: left promiscuous mode [ 475.043714] br0: port 3(c0) entered disabled state [ 475.044423] c0 (unregistering): left allmulticast mode [ 475.044739] c0 (unregistering): left promiscuous mode [ 475.045028] br0: port 3(c0) entered disabled state [ 475.108013] br0: port 1(s0) entered disabled state [ 475.108603] bond0: (slave eth0): Releasing active interface [ 475.108928] bond0: (slave eth0): the permanent HWaddr of slave - ee:87:95:68:df:bd - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.109771] bond0: (slave eth1): making interface the new active one [ 475.124046] s0 (unregistering): left allmulticast mode [ 475.124388] s0 (unregistering): left promiscuous mode [ 475.124672] br0: port 1(s0) entered disabled state [ 475.148738] br0: port 2(s1) entered disabled state [ 475.149324] bond0: (slave eth1): Releasing active interface [ 475.160238] s1 (unregistering): left allmulticast mode [ 475.160582] s1 (unregistering): left promiscuous mode [ 475.160897] br0: port 2(s1) entered disabled state [ 475.183155] 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__->