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 [ 430.989728] br0: port 1(s0) entered blocking state [ 430.990021] br0: port 1(s0) entered disabled state [ 430.990293] s0: entered allmulticast mode [ 430.990607] s0: entered promiscuous mode [ 431.005450] bond0: (slave eth0): making interface the new active one [ 431.005900] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.006622] br0: port 1(s0) entered blocking state [ 431.006915] br0: port 1(s0) entered forwarding state [ 431.071032] br0: port 2(s1) entered blocking state [ 431.071329] br0: port 2(s1) entered disabled state [ 431.071613] s1: entered allmulticast mode [ 431.071903] s1: entered promiscuous mode [ 431.087621] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.088356] br0: port 2(s1) entered blocking state [ 431.088640] br0: port 2(s1) entered forwarding state [ 431.215265] br0: port 3(c0) entered blocking state [ 431.215640] br0: port 3(c0) entered disabled state [ 431.215914] c0: entered allmulticast mode [ 431.216209] c0: entered promiscuous mode [ 431.231546] br0: port 3(c0) entered blocking state [ 431.231856] br0: port 3(c0) entered forwarding state [ 431.338710] bond0 (unregistering): (slave eth0): Releasing backup interface [ 431.352790] bond0 (unregistering): (slave eth1): Releasing backup interface [ 431.358716] bond0 (unregistering): Released all slaves [ 431.409852] bond0: (slave eth0): making interface the new active one [ 431.410247] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.427239] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.795279] 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.415701] eth0: left promiscuous mode [ 446.429689] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.440882] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.449761] bond0 (unregistering): Released all slaves [ 446.450541] br0: port 1(s0) entered disabled state [ 446.450974] br0: port 2(s1) entered disabled state [ 446.498761] bond0: (slave eth0): making interface the new active one [ 446.499330] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.499960] br0: port 1(s0) entered blocking state [ 446.500346] br0: port 1(s0) entered forwarding state [ 446.517037] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.518040] br0: port 2(s1) entered blocking state [ 446.518438] br0: port 2(s1) entered forwarding state [ 448.135797] 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.747963] eth0: left promiscuous mode [ 460.762984] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.772876] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.778779] bond0 (unregistering): Released all slaves [ 460.779874] br0: port 1(s0) entered disabled state [ 460.780406] br0: port 2(s1) entered disabled state [ 460.831694] bond0: (slave eth0): making interface the new active one [ 460.832277] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.832908] br0: port 1(s0) entered blocking state [ 460.833293] br0: port 1(s0) entered forwarding state [ 460.847290] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.848075] br0: port 2(s1) entered blocking state [ 460.848368] br0: port 2(s1) entered forwarding state [ 462.599834] 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.195893] eth0: left promiscuous mode [ 475.243385] br0: port 3(c0) entered disabled state [ 475.244115] c0 (unregistering): left allmulticast mode [ 475.244417] c0 (unregistering): left promiscuous mode [ 475.244760] br0: port 3(c0) entered disabled state [ 475.313752] br0: port 1(s0) entered disabled state [ 475.314384] bond0: (slave eth0): Releasing active interface [ 475.314750] bond0: (slave eth0): the permanent HWaddr of slave - d6:e1:75:57:cb:f5 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.315575] bond0: (slave eth1): making interface the new active one [ 475.325985] s0 (unregistering): left allmulticast mode [ 475.326358] s0 (unregistering): left promiscuous mode [ 475.326783] br0: port 1(s0) entered disabled state [ 475.350344] br0: port 2(s1) entered disabled state [ 475.350794] bond0: (slave eth1): Releasing active interface [ 475.362196] s1 (unregistering): left allmulticast mode [ 475.362523] s1 (unregistering): left promiscuous mode [ 475.362819] br0: port 2(s1) entered disabled state [ 475.388034] 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__->