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 [ 433.064883] br0: port 1(s0) entered blocking state [ 433.065182] br0: port 1(s0) entered disabled state [ 433.065479] s0: entered allmulticast mode [ 433.065807] s0: entered promiscuous mode [ 433.082285] bond0: (slave eth0): making interface the new active one [ 433.082851] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.083887] br0: port 1(s0) entered blocking state [ 433.084284] br0: port 1(s0) entered forwarding state [ 433.152462] br0: port 2(s1) entered blocking state [ 433.152788] br0: port 2(s1) entered disabled state [ 433.153075] s1: entered allmulticast mode [ 433.153384] s1: entered promiscuous mode [ 433.170248] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.170958] br0: port 2(s1) entered blocking state [ 433.171220] br0: port 2(s1) entered forwarding state [ 433.303569] br0: port 3(c0) entered blocking state [ 433.303888] br0: port 3(c0) entered disabled state [ 433.304156] c0: entered allmulticast mode [ 433.304459] c0: entered promiscuous mode [ 433.321931] br0: port 3(c0) entered blocking state [ 433.322292] br0: port 3(c0) entered forwarding state [ 433.436764] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.452055] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.457887] bond0 (unregistering): Released all slaves [ 433.508743] bond0: (slave eth0): making interface the new active one [ 433.509143] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.525810] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.723909] 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.374110] eth0: left promiscuous mode [ 447.390559] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.401970] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.410915] bond0 (unregistering): Released all slaves [ 447.411768] br0: port 1(s0) entered disabled state [ 447.412202] br0: port 2(s1) entered disabled state [ 447.467177] bond0: (slave eth0): making interface the new active one [ 447.467581] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.468102] br0: port 1(s0) entered blocking state [ 447.468448] br0: port 1(s0) entered forwarding state [ 447.485055] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.485803] br0: port 2(s1) entered blocking state [ 447.486074] br0: port 2(s1) entered forwarding state [ 448.845101] 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.461533] eth0: left promiscuous mode [ 461.475863] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.484078] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.489894] bond0 (unregistering): Released all slaves [ 461.490646] br0: port 1(s0) entered disabled state [ 461.491047] br0: port 2(s1) entered disabled state [ 461.534340] bond0: (slave eth0): making interface the new active one [ 461.534820] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.535295] br0: port 1(s0) entered blocking state [ 461.535556] br0: port 1(s0) entered forwarding state [ 461.549341] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.550138] br0: port 2(s1) entered blocking state [ 461.550410] br0: port 2(s1) entered forwarding state [ 463.182579] 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.831938] eth0: left promiscuous mode [ 475.870704] br0: port 3(c0) entered disabled state [ 475.871852] c0 (unregistering): left allmulticast mode [ 475.872260] c0 (unregistering): left promiscuous mode [ 475.872646] br0: port 3(c0) entered disabled state [ 475.947582] br0: port 1(s0) entered disabled state [ 475.948222] bond0: (slave eth0): Releasing active interface [ 475.948536] bond0: (slave eth0): the permanent HWaddr of slave - 86:86:19:61:86:47 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.949406] bond0: (slave eth1): making interface the new active one [ 475.961210] s0 (unregistering): left allmulticast mode [ 475.961518] s0 (unregistering): left promiscuous mode [ 475.961819] br0: port 1(s0) entered disabled state [ 475.985353] br0: port 2(s1) entered disabled state [ 475.985797] bond0: (slave eth1): Releasing active interface [ 475.992340] s1 (unregistering): left allmulticast mode [ 475.992658] s1 (unregistering): left promiscuous mode [ 475.992964] br0: port 2(s1) entered disabled state [ 476.016942] 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__->