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.018992] br0: port 1(s0) entered blocking state [ 433.019300] br0: port 1(s0) entered disabled state [ 433.019615] s0: entered allmulticast mode [ 433.019969] s0: entered promiscuous mode [ 433.037592] bond0: (slave eth0): making interface the new active one [ 433.038132] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.039278] br0: port 1(s0) entered blocking state [ 433.039662] br0: port 1(s0) entered forwarding state [ 433.101742] br0: port 2(s1) entered blocking state [ 433.102042] br0: port 2(s1) entered disabled state [ 433.102348] s1: entered allmulticast mode [ 433.102644] s1: entered promiscuous mode [ 433.119516] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.120280] br0: port 2(s1) entered blocking state [ 433.120658] br0: port 2(s1) entered forwarding state [ 433.247168] br0: port 3(c0) entered blocking state [ 433.247457] br0: port 3(c0) entered disabled state [ 433.247722] c0: entered allmulticast mode [ 433.248014] c0: entered promiscuous mode [ 433.262966] br0: port 3(c0) entered blocking state [ 433.263283] br0: port 3(c0) entered forwarding state [ 433.369971] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.377289] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.383195] bond0 (unregistering): Released all slaves [ 433.431443] bond0: (slave eth0): making interface the new active one [ 433.431858] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.447239] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.769498] 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.373992] eth0: left promiscuous mode [ 447.389270] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.399326] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.405223] bond0 (unregistering): Released all slaves [ 447.405922] br0: port 1(s0) entered disabled state [ 447.406312] br0: port 2(s1) entered disabled state [ 447.454444] bond0: (slave eth0): making interface the new active one [ 447.454972] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.455871] br0: port 1(s0) entered blocking state [ 447.456270] br0: port 1(s0) entered forwarding state [ 447.470661] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.471312] br0: port 2(s1) entered blocking state [ 447.471588] br0: port 2(s1) entered forwarding state [ 449.082684] 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.733722] eth0: left promiscuous mode [ 461.748118] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.758528] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.768350] bond0 (unregistering): Released all slaves [ 461.769180] br0: port 1(s0) entered disabled state [ 461.769577] br0: port 2(s1) entered disabled state [ 461.825730] bond0: (slave eth0): making interface the new active one [ 461.826322] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.826948] br0: port 1(s0) entered blocking state [ 461.827342] br0: port 1(s0) entered forwarding state [ 461.845034] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.846167] br0: port 2(s1) entered blocking state [ 461.846556] br0: port 2(s1) entered forwarding state [ 463.053821] 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.717967] eth0: left promiscuous mode [ 475.757735] br0: port 3(c0) entered disabled state [ 475.758443] c0 (unregistering): left allmulticast mode [ 475.758721] c0 (unregistering): left promiscuous mode [ 475.758997] br0: port 3(c0) entered disabled state [ 475.826992] br0: port 1(s0) entered disabled state [ 475.827594] bond0: (slave eth0): Releasing active interface [ 475.828029] bond0: (slave eth0): the permanent HWaddr of slave - 7e:81:ee:9c:14:66 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.829263] bond0: (slave eth1): making interface the new active one [ 475.838626] s0 (unregistering): left allmulticast mode [ 475.839096] s0 (unregistering): left promiscuous mode [ 475.839501] br0: port 1(s0) entered disabled state [ 475.862882] br0: port 2(s1) entered disabled state [ 475.863288] bond0: (slave eth1): Releasing active interface [ 475.873630] s1 (unregistering): left allmulticast mode [ 475.873945] s1 (unregistering): left promiscuous mode [ 475.874260] br0: port 2(s1) entered disabled state [ 475.897691] 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__->