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 [ 341.956445] br0: port 1(s0) entered blocking state [ 341.956950] br0: port 1(s0) entered disabled state [ 341.957345] s0: entered allmulticast mode [ 341.957796] s0: entered promiscuous mode [ 341.972007] bond0: (slave eth0): making interface the new active one [ 341.972422] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.973146] br0: port 1(s0) entered blocking state [ 341.973426] br0: port 1(s0) entered forwarding state [ 342.033246] br0: port 2(s1) entered blocking state [ 342.033561] br0: port 2(s1) entered disabled state [ 342.033840] s1: entered allmulticast mode [ 342.034151] s1: entered promiscuous mode [ 342.049524] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.050532] br0: port 2(s1) entered blocking state [ 342.050931] br0: port 2(s1) entered forwarding state [ 342.164466] br0: port 3(c0) entered blocking state [ 342.164964] br0: port 3(c0) entered disabled state [ 342.165359] c0: entered allmulticast mode [ 342.165896] c0: entered promiscuous mode [ 342.180176] br0: port 3(c0) entered blocking state [ 342.180478] br0: port 3(c0) entered forwarding state [ 342.277865] bond0 (unregistering): (slave eth0): Releasing backup interface [ 342.294117] bond0 (unregistering): (slave eth1): Releasing backup interface [ 342.300976] bond0 (unregistering): Released all slaves [ 342.354608] bond0: (slave eth0): making interface the new active one [ 342.355091] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.370952] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 344.317014] 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.907788] eth0: left promiscuous mode [ 356.924634] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.938161] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.945975] bond0 (unregistering): Released all slaves [ 356.947203] br0: port 1(s0) entered disabled state [ 356.947642] br0: port 2(s1) entered disabled state [ 356.995731] bond0: (slave eth0): making interface the new active one [ 356.996168] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.996861] br0: port 1(s0) entered blocking state [ 356.997154] br0: port 1(s0) entered forwarding state [ 357.014415] bond0: (slave eth1): Enslaving as an active interface with an up link [ 357.015076] br0: port 2(s1) entered blocking state [ 357.015460] br0: port 2(s1) entered forwarding state [ 358.490442] 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 ] [ 371.078786] eth0: left promiscuous mode [ 371.092629] bond0 (unregistering): (slave eth0): Releasing active interface [ 371.100101] bond0 (unregistering): (slave eth1): Releasing active interface [ 371.113985] bond0 (unregistering): Released all slaves [ 371.114878] br0: port 1(s0) entered disabled state [ 371.115236] br0: port 2(s1) entered disabled state [ 371.159266] bond0: (slave eth0): making interface the new active one [ 371.159684] bond0: (slave eth0): Enslaving as an active interface with an up link [ 371.160415] br0: port 1(s0) entered blocking state [ 371.160723] br0: port 1(s0) entered forwarding state [ 371.173234] bond0: (slave eth1): Enslaving as an active interface with an up link [ 371.173923] br0: port 2(s1) entered blocking state [ 371.174213] br0: port 2(s1) entered forwarding state [ 373.193361] 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 ] [ 385.866637] eth0: left promiscuous mode [ 385.913779] br0: port 3(c0) entered disabled state [ 385.915043] c0 (unregistering): left allmulticast mode [ 385.915446] c0 (unregistering): left promiscuous mode [ 385.915891] br0: port 3(c0) entered disabled state [ 385.994587] br0: port 1(s0) entered disabled state [ 385.995292] bond0: (slave eth0): Releasing active interface [ 385.995616] bond0: (slave eth0): the permanent HWaddr of slave - b2:7a:d6:36:83:6d - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 385.996492] bond0: (slave eth1): making interface the new active one [ 386.007386] s0 (unregistering): left allmulticast mode [ 386.007713] s0 (unregistering): left promiscuous mode [ 386.008010] br0: port 1(s0) entered disabled state [ 386.035229] br0: port 2(s1) entered disabled state [ 386.035761] bond0: (slave eth1): Releasing active interface [ 386.047458] s1 (unregistering): left allmulticast mode [ 386.047789] s1 (unregistering): left promiscuous mode [ 386.048101] br0: port 2(s1) entered disabled state [ 386.088001] 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__->