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.099371] br0: port 1(s0) entered blocking state [ 430.099677] br0: port 1(s0) entered disabled state [ 430.099966] s0: entered allmulticast mode [ 430.100311] s0: entered promiscuous mode [ 430.117424] bond0: (slave eth0): making interface the new active one [ 430.117801] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.118468] br0: port 1(s0) entered blocking state [ 430.118734] br0: port 1(s0) entered forwarding state [ 430.184938] br0: port 2(s1) entered blocking state [ 430.185368] br0: port 2(s1) entered disabled state [ 430.185714] s1: entered allmulticast mode [ 430.186110] s1: entered promiscuous mode [ 430.202505] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.203257] br0: port 2(s1) entered blocking state [ 430.203550] br0: port 2(s1) entered forwarding state [ 430.329796] br0: port 3(c0) entered blocking state [ 430.330240] br0: port 3(c0) entered disabled state [ 430.330585] c0: entered allmulticast mode [ 430.330980] c0: entered promiscuous mode [ 430.346709] br0: port 3(c0) entered blocking state [ 430.346995] br0: port 3(c0) entered forwarding state [ 430.454675] bond0 (unregistering): (slave eth0): Releasing backup interface [ 430.466316] bond0 (unregistering): (slave eth1): Releasing backup interface [ 430.472155] bond0 (unregistering): Released all slaves [ 430.520943] bond0: (slave eth0): making interface the new active one [ 430.521377] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.535735] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.166338] 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 ] [ 444.717121] eth0: left promiscuous mode [ 444.732805] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.741427] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.747214] bond0 (unregistering): Released all slaves [ 444.747936] br0: port 1(s0) entered disabled state [ 444.748350] br0: port 2(s1) entered disabled state [ 444.793288] bond0: (slave eth0): making interface the new active one [ 444.793671] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.794299] br0: port 1(s0) entered blocking state [ 444.794559] br0: port 1(s0) entered forwarding state [ 444.808167] bond0: (slave eth1): Enslaving as an active interface with an up link [ 444.809017] br0: port 2(s1) entered blocking state [ 444.809297] br0: port 2(s1) entered forwarding state [ 446.087538] 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 ] [ 458.658108] eth0: left promiscuous mode [ 458.674314] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.685384] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.694290] bond0 (unregistering): Released all slaves [ 458.695338] br0: port 1(s0) entered disabled state [ 458.695844] br0: port 2(s1) entered disabled state [ 458.748267] bond0: (slave eth0): making interface the new active one [ 458.748680] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.749140] br0: port 1(s0) entered blocking state [ 458.749419] br0: port 1(s0) entered forwarding state [ 458.763989] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.764660] br0: port 2(s1) entered blocking state [ 458.764922] br0: port 2(s1) entered forwarding state [ 460.262423] 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 ] [ 472.884192] eth0: left promiscuous mode [ 472.920710] br0: port 3(c0) entered disabled state [ 472.921699] c0 (unregistering): left allmulticast mode [ 472.922103] c0 (unregistering): left promiscuous mode [ 472.922472] br0: port 3(c0) entered disabled state [ 472.982591] br0: port 1(s0) entered disabled state [ 472.983222] bond0: (slave eth0): Releasing active interface [ 472.983543] bond0: (slave eth0): the permanent HWaddr of slave - 8a:4d:46:9c:9c:2e - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.984555] bond0: (slave eth1): making interface the new active one [ 472.999446] s0 (unregistering): left allmulticast mode [ 472.999754] s0 (unregistering): left promiscuous mode [ 473.000033] br0: port 1(s0) entered disabled state [ 473.023294] br0: port 2(s1) entered disabled state [ 473.023690] bond0: (slave eth1): Releasing active interface [ 473.040817] s1 (unregistering): left allmulticast mode [ 473.041282] s1 (unregistering): left promiscuous mode [ 473.041695] br0: port 2(s1) entered disabled state [ 473.064316] 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__->