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.122100] br0: port 1(s0) entered blocking state [ 432.122390] br0: port 1(s0) entered disabled state [ 432.122663] s0: entered allmulticast mode [ 432.123009] s0: entered promiscuous mode [ 432.136510] bond0: (slave eth0): making interface the new active one [ 432.136905] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.137645] br0: port 1(s0) entered blocking state [ 432.137925] br0: port 1(s0) entered forwarding state [ 432.198705] br0: port 2(s1) entered blocking state [ 432.199035] br0: port 2(s1) entered disabled state [ 432.199320] s1: entered allmulticast mode [ 432.199634] s1: entered promiscuous mode [ 432.215160] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.215834] br0: port 2(s1) entered blocking state [ 432.216095] br0: port 2(s1) entered forwarding state [ 432.339896] br0: port 3(c0) entered blocking state [ 432.340195] br0: port 3(c0) entered disabled state [ 432.340457] c0: entered allmulticast mode [ 432.340853] c0: entered promiscuous mode [ 432.357067] br0: port 3(c0) entered blocking state [ 432.357477] br0: port 3(c0) entered forwarding state [ 432.465911] bond0 (unregistering): (slave eth0): Releasing backup interface [ 432.476005] bond0 (unregistering): (slave eth1): Releasing backup interface [ 432.481908] bond0 (unregistering): Released all slaves [ 432.528448] bond0: (slave eth0): making interface the new active one [ 432.528997] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.543590] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.859736] 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.470898] eth0: left promiscuous mode [ 446.484300] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.498151] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.507954] bond0 (unregistering): Released all slaves [ 446.508823] br0: port 1(s0) entered disabled state [ 446.509278] br0: port 2(s1) entered disabled state [ 446.557134] bond0: (slave eth0): making interface the new active one [ 446.557536] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.558209] br0: port 1(s0) entered blocking state [ 446.558476] br0: port 1(s0) entered forwarding state [ 446.571850] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.572722] br0: port 2(s1) entered blocking state [ 446.573092] br0: port 2(s1) entered forwarding state [ 447.871532] 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.510115] eth0: left promiscuous mode [ 460.523913] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.536084] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.543910] bond0 (unregistering): Released all slaves [ 460.544629] br0: port 1(s0) entered disabled state [ 460.544997] br0: port 2(s1) entered disabled state [ 460.589011] bond0: (slave eth0): making interface the new active one [ 460.589420] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.590119] br0: port 1(s0) entered blocking state [ 460.590382] br0: port 1(s0) entered forwarding state [ 460.606286] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.607234] br0: port 2(s1) entered blocking state [ 460.607631] br0: port 2(s1) entered forwarding state [ 461.940431] 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.606546] eth0: left promiscuous mode [ 474.649590] br0: port 3(c0) entered disabled state [ 474.650548] c0 (unregistering): left allmulticast mode [ 474.650967] c0 (unregistering): left promiscuous mode [ 474.651336] br0: port 3(c0) entered disabled state [ 474.724341] br0: port 1(s0) entered disabled state [ 474.724836] bond0: (slave eth0): Releasing active interface [ 474.725165] bond0: (slave eth0): the permanent HWaddr of slave - ba:c1:0d:91:88:ff - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.725964] bond0: (slave eth1): making interface the new active one [ 474.738243] s0 (unregistering): left allmulticast mode [ 474.738548] s0 (unregistering): left promiscuous mode [ 474.738879] br0: port 1(s0) entered disabled state [ 474.761995] br0: port 2(s1) entered disabled state [ 474.762582] bond0: (slave eth1): Releasing active interface [ 474.774307] s1 (unregistering): left allmulticast mode [ 474.774607] s1 (unregistering): left promiscuous mode [ 474.774889] br0: port 2(s1) entered disabled state [ 474.798519] 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__->