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.058324] br0: port 1(s0) entered blocking state [ 342.058634] br0: port 1(s0) entered disabled state [ 342.058923] s0: entered allmulticast mode [ 342.059237] s0: entered promiscuous mode [ 342.074160] bond0: (slave eth0): making interface the new active one [ 342.074556] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.075028] br0: port 1(s0) entered blocking state [ 342.075295] br0: port 1(s0) entered forwarding state [ 342.132050] br0: port 2(s1) entered blocking state [ 342.132359] br0: port 2(s1) entered disabled state [ 342.132632] s1: entered allmulticast mode [ 342.132961] s1: entered promiscuous mode [ 342.147673] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.148232] br0: port 2(s1) entered blocking state [ 342.148498] br0: port 2(s1) entered forwarding state [ 342.265870] br0: port 3(c0) entered blocking state [ 342.266159] br0: port 3(c0) entered disabled state [ 342.266417] c0: entered allmulticast mode [ 342.266696] c0: entered promiscuous mode [ 342.281973] br0: port 3(c0) entered blocking state [ 342.282288] br0: port 3(c0) entered forwarding state [ 342.378953] bond0 (unregistering): (slave eth0): Releasing backup interface [ 342.385913] bond0 (unregistering): (slave eth1): Releasing backup interface [ 342.399849] bond0 (unregistering): Released all slaves [ 342.446744] bond0: (slave eth0): making interface the new active one [ 342.447120] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.461751] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.781352] 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.347296] eth0: left promiscuous mode [ 356.363279] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.376977] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.382833] bond0 (unregistering): Released all slaves [ 356.383598] br0: port 1(s0) entered disabled state [ 356.383980] br0: port 2(s1) entered disabled state [ 356.426281] bond0: (slave eth0): making interface the new active one [ 356.426665] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.427101] br0: port 1(s0) entered blocking state [ 356.427363] br0: port 1(s0) entered forwarding state [ 356.441100] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.441782] br0: port 2(s1) entered blocking state [ 356.442046] br0: port 2(s1) entered forwarding state [ 357.913982] 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.490785] eth0: left promiscuous mode [ 370.504925] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.516976] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.525863] bond0 (unregistering): Released all slaves [ 370.526691] br0: port 1(s0) entered disabled state [ 370.527067] br0: port 2(s1) entered disabled state [ 370.573960] bond0: (slave eth0): making interface the new active one [ 370.574404] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.574937] br0: port 1(s0) entered blocking state [ 370.575198] br0: port 1(s0) entered forwarding state [ 370.588852] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.589517] br0: port 2(s1) entered blocking state [ 370.589813] br0: port 2(s1) entered forwarding state [ 372.208314] 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.817901] eth0: left promiscuous mode [ 384.861759] br0: port 3(c0) entered disabled state [ 384.862389] c0 (unregistering): left allmulticast mode [ 384.862662] c0 (unregistering): left promiscuous mode [ 384.862958] br0: port 3(c0) entered disabled state [ 384.927587] br0: port 1(s0) entered disabled state [ 384.928267] bond0: (slave eth0): Releasing active interface [ 384.928673] bond0: (slave eth0): the permanent HWaddr of slave - 0a:ea:ce:cc:2f:fc - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 384.929616] bond0: (slave eth1): making interface the new active one [ 384.940176] s0 (unregistering): left allmulticast mode [ 384.940531] s0 (unregistering): left promiscuous mode [ 384.940855] br0: port 1(s0) entered disabled state [ 384.962884] br0: port 2(s1) entered disabled state [ 384.963396] bond0: (slave eth1): Releasing active interface [ 384.976359] s1 (unregistering): left allmulticast mode [ 384.976784] s1 (unregistering): left promiscuous mode [ 384.977160] br0: port 2(s1) entered disabled state [ 384.999287] 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__->