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.928330] br0: port 1(s0) entered blocking state [ 432.928751] br0: port 1(s0) entered disabled state [ 432.929155] s0: entered allmulticast mode [ 432.929583] s0: entered promiscuous mode [ 432.947207] bond0: (slave eth0): making interface the new active one [ 432.947767] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.948768] br0: port 1(s0) entered blocking state [ 432.949159] br0: port 1(s0) entered forwarding state [ 433.011681] br0: port 2(s1) entered blocking state [ 433.012115] br0: port 2(s1) entered disabled state [ 433.012494] s1: entered allmulticast mode [ 433.012950] s1: entered promiscuous mode [ 433.027704] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.028601] br0: port 2(s1) entered blocking state [ 433.028873] br0: port 2(s1) entered forwarding state [ 433.156677] br0: port 3(c0) entered blocking state [ 433.157120] br0: port 3(c0) entered disabled state [ 433.157526] c0: entered allmulticast mode [ 433.157989] c0: entered promiscuous mode [ 433.173559] br0: port 3(c0) entered blocking state [ 433.173997] br0: port 3(c0) entered forwarding state [ 433.289794] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.300252] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.306119] bond0 (unregistering): Released all slaves [ 433.352544] bond0: (slave eth0): making interface the new active one [ 433.352945] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.368095] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 435.155724] 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.790637] eth0: left promiscuous mode [ 447.806754] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.815242] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.821094] bond0 (unregistering): Released all slaves [ 447.822164] br0: port 1(s0) entered disabled state [ 447.822718] br0: port 2(s1) entered disabled state [ 447.870401] bond0: (slave eth0): making interface the new active one [ 447.870790] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.871441] br0: port 1(s0) entered blocking state [ 447.871769] br0: port 1(s0) entered forwarding state [ 447.887029] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.887704] br0: port 2(s1) entered blocking state [ 447.887978] br0: port 2(s1) entered forwarding state [ 449.219748] 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.845328] eth0: left promiscuous mode [ 461.860807] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.870226] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.876082] bond0 (unregistering): Released all slaves [ 461.876832] br0: port 1(s0) entered disabled state [ 461.877234] br0: port 2(s1) entered disabled state [ 461.923625] bond0: (slave eth0): making interface the new active one [ 461.924203] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.925154] br0: port 1(s0) entered blocking state [ 461.925542] br0: port 1(s0) entered forwarding state [ 461.939616] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.940299] br0: port 2(s1) entered blocking state [ 461.940567] br0: port 2(s1) entered forwarding state [ 463.586439] 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 ] [ 476.262257] eth0: left promiscuous mode [ 476.310101] br0: port 3(c0) entered disabled state [ 476.311254] c0 (unregistering): left allmulticast mode [ 476.311677] c0 (unregistering): left promiscuous mode [ 476.312108] br0: port 3(c0) entered disabled state [ 476.379557] br0: port 1(s0) entered disabled state [ 476.380047] bond0: (slave eth0): Releasing active interface [ 476.380347] bond0: (slave eth0): the permanent HWaddr of slave - 16:4c:28:b7:d8:ff - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 476.381278] bond0: (slave eth1): making interface the new active one [ 476.394357] s0 (unregistering): left allmulticast mode [ 476.394673] s0 (unregistering): left promiscuous mode [ 476.394976] br0: port 1(s0) entered disabled state [ 476.418738] br0: port 2(s1) entered disabled state [ 476.419351] bond0: (slave eth1): Releasing active interface [ 476.429470] s1 (unregistering): left allmulticast mode [ 476.429785] s1 (unregistering): left promiscuous mode [ 476.430106] br0: port 2(s1) entered disabled state [ 476.452760] 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__->