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.933161] br0: port 1(s0) entered blocking state [ 432.933459] br0: port 1(s0) entered disabled state [ 432.933723] s0: entered allmulticast mode [ 432.934019] s0: entered promiscuous mode [ 432.947345] bond0: (slave eth0): making interface the new active one [ 432.947716] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.948227] br0: port 1(s0) entered blocking state [ 432.948482] br0: port 1(s0) entered forwarding state [ 433.011564] br0: port 2(s1) entered blocking state [ 433.011871] br0: port 2(s1) entered disabled state [ 433.012130] s1: entered allmulticast mode [ 433.012414] s1: entered promiscuous mode [ 433.024980] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.025675] br0: port 2(s1) entered blocking state [ 433.025946] br0: port 2(s1) entered forwarding state [ 433.144438] br0: port 3(c0) entered blocking state [ 433.144929] br0: port 3(c0) entered disabled state [ 433.145309] c0: entered allmulticast mode [ 433.145736] c0: entered promiscuous mode [ 433.159266] br0: port 3(c0) entered blocking state [ 433.159555] br0: port 3(c0) entered forwarding state [ 433.257026] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.263147] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.271968] bond0 (unregistering): Released all slaves [ 433.317534] bond0: (slave eth0): making interface the new active one [ 433.317919] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.333242] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.616170] 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.182682] eth0: left promiscuous mode [ 447.197400] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.210957] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.218903] bond0 (unregistering): Released all slaves [ 447.219633] br0: port 1(s0) entered disabled state [ 447.220036] br0: port 2(s1) entered disabled state [ 447.269652] bond0: (slave eth0): making interface the new active one [ 447.270081] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.270822] br0: port 1(s0) entered blocking state [ 447.271086] br0: port 1(s0) entered forwarding state [ 447.283404] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.284141] br0: port 2(s1) entered blocking state [ 447.284428] br0: port 2(s1) entered forwarding state [ 448.862876] 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.480306] eth0: left promiscuous mode [ 461.496930] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.505060] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.510935] bond0 (unregistering): Released all slaves [ 461.511817] br0: port 1(s0) entered disabled state [ 461.512199] br0: port 2(s1) entered disabled state [ 461.566338] bond0: (slave eth0): making interface the new active one [ 461.566932] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.567884] br0: port 1(s0) entered blocking state [ 461.568262] br0: port 1(s0) entered forwarding state [ 461.582124] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.583070] br0: port 2(s1) entered blocking state [ 461.583450] br0: port 2(s1) entered forwarding state [ 462.930946] 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.546801] eth0: left promiscuous mode [ 475.586394] br0: port 3(c0) entered disabled state [ 475.587130] c0 (unregistering): left allmulticast mode [ 475.587428] c0 (unregistering): left promiscuous mode [ 475.587748] br0: port 3(c0) entered disabled state [ 475.650429] br0: port 1(s0) entered disabled state [ 475.651036] bond0: (slave eth0): Releasing active interface [ 475.651407] bond0: (slave eth0): the permanent HWaddr of slave - 7e:13:cf:65:1a:12 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.652408] bond0: (slave eth1): making interface the new active one [ 475.663169] s0 (unregistering): left allmulticast mode [ 475.663466] s0 (unregistering): left promiscuous mode [ 475.663728] br0: port 1(s0) entered disabled state [ 475.688475] br0: port 2(s1) entered disabled state [ 475.689057] bond0: (slave eth1): Releasing active interface [ 475.697273] s1 (unregistering): left allmulticast mode [ 475.697566] s1 (unregistering): left promiscuous mode [ 475.697849] br0: port 2(s1) entered disabled state [ 475.722983] 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__->