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 [ 336.003785] br0: port 1(s0) entered blocking state [ 336.004074] br0: port 1(s0) entered disabled state [ 336.004336] s0: entered allmulticast mode [ 336.004616] s0: entered promiscuous mode [ 336.022087] bond0: (slave eth0): making interface the new active one [ 336.022470] bond0: (slave eth0): Enslaving as an active interface with an up link [ 336.023244] br0: port 1(s0) entered blocking state [ 336.023508] br0: port 1(s0) entered forwarding state [ 336.086066] br0: port 2(s1) entered blocking state [ 336.086350] br0: port 2(s1) entered disabled state [ 336.086640] s1: entered allmulticast mode [ 336.087066] s1: entered promiscuous mode [ 336.101823] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 336.102922] br0: port 2(s1) entered blocking state [ 336.103300] br0: port 2(s1) entered forwarding state [ 336.237507] br0: port 3(c0) entered blocking state [ 336.237870] br0: port 3(c0) entered disabled state [ 336.238142] c0: entered allmulticast mode [ 336.238445] c0: entered promiscuous mode [ 336.255829] br0: port 3(c0) entered blocking state [ 336.256125] br0: port 3(c0) entered forwarding state [ 336.360019] bond0 (unregistering): (slave eth0): Releasing backup interface [ 336.370945] bond0 (unregistering): (slave eth1): Releasing backup interface [ 336.376904] bond0 (unregistering): Released all slaves [ 336.428860] bond0: (slave eth0): making interface the new active one [ 336.429232] bond0: (slave eth0): Enslaving as an active interface with an up link [ 336.441879] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 337.641354] 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 ] [ 350.221320] eth0: left promiscuous mode [ 350.239557] bond0 (unregistering): (slave eth0): Releasing backup interface [ 350.248050] bond0 (unregistering): (slave eth1): Releasing backup interface [ 350.255958] bond0 (unregistering): Released all slaves [ 350.257248] br0: port 1(s0) entered disabled state [ 350.257919] br0: port 2(s1) entered disabled state [ 350.307954] bond0: (slave eth0): making interface the new active one [ 350.308363] bond0: (slave eth0): Enslaving as an active interface with an up link [ 350.309223] br0: port 1(s0) entered blocking state [ 350.309501] br0: port 1(s0) entered forwarding state [ 350.325496] bond0: (slave eth1): Enslaving as an active interface with an up link [ 350.326548] br0: port 2(s1) entered blocking state [ 350.327015] br0: port 2(s1) entered forwarding state [ 351.514164] 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 ] [ 364.111203] eth0: left promiscuous mode [ 364.127252] bond0 (unregistering): (slave eth0): Releasing active interface [ 364.137105] bond0 (unregistering): (slave eth1): Releasing active interface [ 364.142958] bond0 (unregistering): Released all slaves [ 364.143846] br0: port 1(s0) entered disabled state [ 364.144220] br0: port 2(s1) entered disabled state [ 364.196005] bond0: (slave eth0): making interface the new active one [ 364.196546] bond0: (slave eth0): Enslaving as an active interface with an up link [ 364.197233] br0: port 1(s0) entered blocking state [ 364.197519] br0: port 1(s0) entered forwarding state [ 364.212220] bond0: (slave eth1): Enslaving as an active interface with an up link [ 364.212960] br0: port 2(s1) entered blocking state [ 364.213236] br0: port 2(s1) entered forwarding state [ 365.991196] 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 ] [ 378.694261] eth0: left promiscuous mode [ 378.742519] br0: port 3(c0) entered disabled state [ 378.743527] c0 (unregistering): left allmulticast mode [ 378.743970] c0 (unregistering): left promiscuous mode [ 378.744364] br0: port 3(c0) entered disabled state [ 378.815560] br0: port 1(s0) entered disabled state [ 378.816060] bond0: (slave eth0): Releasing active interface [ 378.816355] bond0: (slave eth0): the permanent HWaddr of slave - d6:c6:e1:ad:08:59 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 378.817255] bond0: (slave eth1): making interface the new active one [ 378.828193] s0 (unregistering): left allmulticast mode [ 378.828497] s0 (unregistering): left promiscuous mode [ 378.828778] br0: port 1(s0) entered disabled state [ 378.852808] br0: port 2(s1) entered disabled state [ 378.853572] bond0: (slave eth1): Releasing active interface [ 378.866440] s1 (unregistering): left allmulticast mode [ 378.866921] s1 (unregistering): left promiscuous mode [ 378.867332] br0: port 2(s1) entered disabled state [ 378.891841] 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__->