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.125512] br0: port 1(s0) entered blocking state [ 433.125913] br0: port 1(s0) entered disabled state [ 433.126325] s0: entered allmulticast mode [ 433.126740] s0: entered promiscuous mode [ 433.141502] bond0: (slave eth0): making interface the new active one [ 433.141885] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.142341] br0: port 1(s0) entered blocking state [ 433.142614] br0: port 1(s0) entered forwarding state [ 433.207921] br0: port 2(s1) entered blocking state [ 433.208286] br0: port 2(s1) entered disabled state [ 433.208551] s1: entered allmulticast mode [ 433.208884] s1: entered promiscuous mode [ 433.224492] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.225248] br0: port 2(s1) entered blocking state [ 433.225538] br0: port 2(s1) entered forwarding state [ 433.351793] br0: port 3(c0) entered blocking state [ 433.352132] br0: port 3(c0) entered disabled state [ 433.352399] c0: entered allmulticast mode [ 433.352788] c0: entered promiscuous mode [ 433.368523] br0: port 3(c0) entered blocking state [ 433.368822] br0: port 3(c0) entered forwarding state [ 433.476223] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.484330] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.490186] bond0 (unregistering): Released all slaves [ 433.545542] bond0: (slave eth0): making interface the new active one [ 433.546099] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.562142] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 435.078111] 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.670751] eth0: left promiscuous mode [ 447.685217] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.694303] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.700059] bond0 (unregistering): Released all slaves [ 447.700748] br0: port 1(s0) entered disabled state [ 447.701169] br0: port 2(s1) entered disabled state [ 447.748647] bond0: (slave eth0): making interface the new active one [ 447.749157] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.749842] br0: port 1(s0) entered blocking state [ 447.750140] br0: port 1(s0) entered forwarding state [ 447.764569] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.765293] br0: port 2(s1) entered blocking state [ 447.765558] br0: port 2(s1) entered forwarding state [ 449.346193] 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.949508] eth0: left promiscuous mode [ 461.964390] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.973334] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.979165] bond0 (unregistering): Released all slaves [ 461.980242] br0: port 1(s0) entered disabled state [ 461.980753] br0: port 2(s1) entered disabled state [ 462.028760] bond0: (slave eth0): making interface the new active one [ 462.029175] bond0: (slave eth0): Enslaving as an active interface with an up link [ 462.029857] br0: port 1(s0) entered blocking state [ 462.030148] br0: port 1(s0) entered forwarding state [ 462.045083] bond0: (slave eth1): Enslaving as an active interface with an up link [ 462.046048] br0: port 2(s1) entered blocking state [ 462.046427] br0: port 2(s1) entered forwarding state [ 463.609606] 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 ] [ 476.219567] eth0: left promiscuous mode [ 476.260261] br0: port 3(c0) entered disabled state [ 476.260918] c0 (unregistering): left allmulticast mode [ 476.261220] c0 (unregistering): left promiscuous mode [ 476.261482] br0: port 3(c0) entered disabled state [ 476.335581] br0: port 1(s0) entered disabled state [ 476.336022] bond0: (slave eth0): Releasing active interface [ 476.336320] bond0: (slave eth0): the permanent HWaddr of slave - d6:01:04:77:bc:1d - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 476.337367] bond0: (slave eth1): making interface the new active one [ 476.350419] s0 (unregistering): left allmulticast mode [ 476.350823] s0 (unregistering): left promiscuous mode [ 476.351202] br0: port 1(s0) entered disabled state [ 476.374788] br0: port 2(s1) entered disabled state [ 476.375373] bond0: (slave eth1): Releasing active interface [ 476.383438] s1 (unregistering): left allmulticast mode [ 476.383759] s1 (unregistering): left promiscuous mode [ 476.384047] br0: port 2(s1) entered disabled state [ 476.410362] 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__->