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.018423] br0: port 1(s0) entered blocking state [ 432.018739] br0: port 1(s0) entered disabled state [ 432.019046] s0: entered allmulticast mode [ 432.019352] s0: entered promiscuous mode [ 432.036551] bond0: (slave eth0): making interface the new active one [ 432.036993] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.037701] br0: port 1(s0) entered blocking state [ 432.037988] br0: port 1(s0) entered forwarding state [ 432.097637] br0: port 2(s1) entered blocking state [ 432.097937] br0: port 2(s1) entered disabled state [ 432.098203] s1: entered allmulticast mode [ 432.098513] s1: entered promiscuous mode [ 432.114160] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.114664] br0: port 2(s1) entered blocking state [ 432.114959] br0: port 2(s1) entered forwarding state [ 432.250180] br0: port 3(c0) entered blocking state [ 432.250549] br0: port 3(c0) entered disabled state [ 432.250907] c0: entered allmulticast mode [ 432.251280] c0: entered promiscuous mode [ 432.266579] br0: port 3(c0) entered blocking state [ 432.266893] br0: port 3(c0) entered forwarding state [ 432.375875] bond0 (unregistering): (slave eth0): Releasing backup interface [ 432.389074] bond0 (unregistering): (slave eth1): Releasing backup interface [ 432.394964] bond0 (unregistering): Released all slaves [ 432.445373] bond0: (slave eth0): making interface the new active one [ 432.445806] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.461623] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.125725] 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.747973] eth0: left promiscuous mode [ 446.765816] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.775193] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.780981] bond0 (unregistering): Released all slaves [ 446.781767] br0: port 1(s0) entered disabled state [ 446.782212] br0: port 2(s1) entered disabled state [ 446.834327] bond0: (slave eth0): making interface the new active one [ 446.834747] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.835484] br0: port 1(s0) entered blocking state [ 446.835762] br0: port 1(s0) entered forwarding state [ 446.851409] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.852550] br0: port 2(s1) entered blocking state [ 446.852964] br0: port 2(s1) entered forwarding state [ 448.529252] 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.187092] eth0: left promiscuous mode [ 461.203091] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.212204] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.217939] bond0 (unregistering): Released all slaves [ 461.218696] br0: port 1(s0) entered disabled state [ 461.219094] br0: port 2(s1) entered disabled state [ 461.265928] bond0: (slave eth0): making interface the new active one [ 461.266309] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.266925] br0: port 1(s0) entered blocking state [ 461.267187] br0: port 1(s0) entered forwarding state [ 461.280887] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.281556] br0: port 2(s1) entered blocking state [ 461.281830] br0: port 2(s1) entered forwarding state [ 462.780199] 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.440605] eth0: left promiscuous mode [ 475.484650] br0: port 3(c0) entered disabled state [ 475.485713] c0 (unregistering): left allmulticast mode [ 475.486169] c0 (unregistering): left promiscuous mode [ 475.486577] br0: port 3(c0) entered disabled state [ 475.557014] br0: port 1(s0) entered disabled state [ 475.557649] bond0: (slave eth0): Releasing active interface [ 475.558115] bond0: (slave eth0): the permanent HWaddr of slave - d2:40:db:c8:da:d6 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.559267] bond0: (slave eth1): making interface the new active one [ 475.569225] s0 (unregistering): left allmulticast mode [ 475.569577] s0 (unregistering): left promiscuous mode [ 475.569904] br0: port 1(s0) entered disabled state [ 475.597846] br0: port 2(s1) entered disabled state [ 475.598552] bond0: (slave eth1): Releasing active interface [ 475.608421] s1 (unregistering): left allmulticast mode [ 475.608880] s1 (unregistering): left promiscuous mode [ 475.609295] br0: port 2(s1) entered disabled state [ 475.633819] 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__->