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 [ 342.083059] br0: port 1(s0) entered blocking state [ 342.083365] br0: port 1(s0) entered disabled state [ 342.083646] s0: entered allmulticast mode [ 342.083970] s0: entered promiscuous mode [ 342.100725] bond0: (slave eth0): making interface the new active one [ 342.101271] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.102094] br0: port 1(s0) entered blocking state [ 342.102381] br0: port 1(s0) entered forwarding state [ 342.169500] br0: port 2(s1) entered blocking state [ 342.169930] br0: port 2(s1) entered disabled state [ 342.170315] s1: entered allmulticast mode [ 342.170731] s1: entered promiscuous mode [ 342.188776] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.189729] br0: port 2(s1) entered blocking state [ 342.190115] br0: port 2(s1) entered forwarding state [ 342.325455] br0: port 3(c0) entered blocking state [ 342.325754] br0: port 3(c0) entered disabled state [ 342.326032] c0: entered allmulticast mode [ 342.326322] c0: entered promiscuous mode [ 342.340625] br0: port 3(c0) entered blocking state [ 342.340934] br0: port 3(c0) entered forwarding state [ 342.453249] bond0 (unregistering): (slave eth0): Releasing backup interface [ 342.469114] bond0 (unregistering): (slave eth1): Releasing backup interface [ 342.475010] bond0 (unregistering): Released all slaves [ 342.521815] bond0: (slave eth0): making interface the new active one [ 342.522202] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.539386] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.992063] 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 ] [ 356.566763] eth0: left promiscuous mode [ 356.581882] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.594163] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.604054] bond0 (unregistering): Released all slaves [ 356.605137] br0: port 1(s0) entered disabled state [ 356.605517] br0: port 2(s1) entered disabled state [ 356.653019] bond0: (slave eth0): making interface the new active one [ 356.653423] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.654138] br0: port 1(s0) entered blocking state [ 356.654427] br0: port 1(s0) entered forwarding state [ 356.669338] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.670354] br0: port 2(s1) entered blocking state [ 356.670754] br0: port 2(s1) entered forwarding state [ 358.137252] 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 ] [ 370.718824] eth0: left promiscuous mode [ 370.734510] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.749227] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.755012] bond0 (unregistering): Released all slaves [ 370.755801] br0: port 1(s0) entered disabled state [ 370.756172] br0: port 2(s1) entered disabled state [ 370.802737] bond0: (slave eth0): making interface the new active one [ 370.803162] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.803786] br0: port 1(s0) entered blocking state [ 370.804075] br0: port 1(s0) entered forwarding state [ 370.817316] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.818007] br0: port 2(s1) entered blocking state [ 370.818295] br0: port 2(s1) entered forwarding state [ 372.301204] 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 ] [ 384.900304] eth0: left promiscuous mode [ 384.948990] br0: port 3(c0) entered disabled state [ 384.950043] c0 (unregistering): left allmulticast mode [ 384.950453] c0 (unregistering): left promiscuous mode [ 384.950847] br0: port 3(c0) entered disabled state [ 385.015286] br0: port 1(s0) entered disabled state [ 385.015783] bond0: (slave eth0): Releasing active interface [ 385.016136] bond0: (slave eth0): the permanent HWaddr of slave - ca:05:07:24:b8:9f - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 385.017000] bond0: (slave eth1): making interface the new active one [ 385.028227] s0 (unregistering): left allmulticast mode [ 385.028560] s0 (unregistering): left promiscuous mode [ 385.028835] br0: port 1(s0) entered disabled state [ 385.050492] br0: port 2(s1) entered disabled state [ 385.050880] bond0: (slave eth1): Releasing active interface [ 385.058506] s1 (unregistering): left allmulticast mode [ 385.058948] s1 (unregistering): left promiscuous mode [ 385.059341] br0: port 2(s1) entered disabled state [ 385.081978] 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__->