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 [ 427.925031] br0: port 1(s0) entered blocking state [ 427.925337] br0: port 1(s0) entered disabled state [ 427.925601] s0: entered allmulticast mode [ 427.925917] s0: entered promiscuous mode [ 427.940216] bond0: (slave eth0): making interface the new active one [ 427.940614] bond0: (slave eth0): Enslaving as an active interface with an up link [ 427.941431] br0: port 1(s0) entered blocking state [ 427.941745] br0: port 1(s0) entered forwarding state [ 427.999716] br0: port 2(s1) entered blocking state [ 428.000030] br0: port 2(s1) entered disabled state [ 428.000297] s1: entered allmulticast mode [ 428.000594] s1: entered promiscuous mode [ 428.015490] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.016221] br0: port 2(s1) entered blocking state [ 428.016483] br0: port 2(s1) entered forwarding state [ 428.137443] br0: port 3(c0) entered blocking state [ 428.137750] br0: port 3(c0) entered disabled state [ 428.138015] c0: entered allmulticast mode [ 428.138296] c0: entered promiscuous mode [ 428.155200] br0: port 3(c0) entered blocking state [ 428.155632] br0: port 3(c0) entered forwarding state [ 428.268534] bond0 (unregistering): (slave eth0): Releasing backup interface [ 428.283855] bond0 (unregistering): (slave eth1): Releasing backup interface [ 428.293817] bond0 (unregistering): Released all slaves [ 428.343943] bond0: (slave eth0): making interface the new active one [ 428.344378] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.361378] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.029223] 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 ] [ 443.604568] eth0: left promiscuous mode [ 443.619272] bond0 (unregistering): (slave eth0): Releasing backup interface [ 443.629914] bond0 (unregistering): (slave eth1): Releasing backup interface [ 443.637839] bond0 (unregistering): Released all slaves [ 443.638725] br0: port 1(s0) entered disabled state [ 443.639122] br0: port 2(s1) entered disabled state [ 443.682965] bond0: (slave eth0): making interface the new active one [ 443.683358] bond0: (slave eth0): Enslaving as an active interface with an up link [ 443.684000] br0: port 1(s0) entered blocking state [ 443.684263] br0: port 1(s0) entered forwarding state [ 443.697928] bond0: (slave eth1): Enslaving as an active interface with an up link [ 443.698596] br0: port 2(s1) entered blocking state [ 443.698884] br0: port 2(s1) entered forwarding state [ 445.636626] 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.235372] eth0: left promiscuous mode [ 458.250395] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.261980] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.267804] bond0 (unregistering): Released all slaves [ 458.268639] br0: port 1(s0) entered disabled state [ 458.269027] br0: port 2(s1) entered disabled state [ 458.313546] bond0: (slave eth0): making interface the new active one [ 458.313995] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.314659] br0: port 1(s0) entered blocking state [ 458.314959] br0: port 1(s0) entered forwarding state [ 458.329043] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.329716] br0: port 2(s1) entered blocking state [ 458.329999] br0: port 2(s1) entered forwarding state [ 460.108154] 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.767696] eth0: left promiscuous mode [ 472.810416] br0: port 3(c0) entered disabled state [ 472.811102] c0 (unregistering): left allmulticast mode [ 472.811472] c0 (unregistering): left promiscuous mode [ 472.811809] br0: port 3(c0) entered disabled state [ 472.878520] br0: port 1(s0) entered disabled state [ 472.879017] bond0: (slave eth0): Releasing active interface [ 472.879415] bond0: (slave eth0): the permanent HWaddr of slave - be:97:c6:4c:d8:42 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.880616] bond0: (slave eth1): making interface the new active one [ 472.897118] s0 (unregistering): left allmulticast mode [ 472.897441] s0 (unregistering): left promiscuous mode [ 472.897843] br0: port 1(s0) entered disabled state [ 472.921642] br0: port 2(s1) entered disabled state [ 472.922084] bond0: (slave eth1): Releasing active interface [ 472.933233] s1 (unregistering): left allmulticast mode [ 472.933531] s1 (unregistering): left promiscuous mode [ 472.933820] br0: port 2(s1) entered disabled state [ 472.964688] 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__->