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 [ 337.918043] br0: port 1(s0) entered blocking state [ 337.918330] br0: port 1(s0) entered disabled state [ 337.918590] s0: entered allmulticast mode [ 337.918882] s0: entered promiscuous mode [ 337.934402] bond0: (slave eth0): making interface the new active one [ 337.934787] bond0: (slave eth0): Enslaving as an active interface with an up link [ 337.935556] br0: port 1(s0) entered blocking state [ 337.935830] br0: port 1(s0) entered forwarding state [ 337.991000] br0: port 2(s1) entered blocking state [ 337.991288] br0: port 2(s1) entered disabled state [ 337.991545] s1: entered allmulticast mode [ 337.991827] s1: entered promiscuous mode [ 338.006731] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 338.007601] br0: port 2(s1) entered blocking state [ 338.007900] br0: port 2(s1) entered forwarding state [ 338.119214] br0: port 3(c0) entered blocking state [ 338.119528] br0: port 3(c0) entered disabled state [ 338.119801] c0: entered allmulticast mode [ 338.120141] c0: entered promiscuous mode [ 338.134361] br0: port 3(c0) entered blocking state [ 338.134772] br0: port 3(c0) entered forwarding state [ 338.239158] bond0 (unregistering): (slave eth0): Releasing backup interface [ 338.248242] bond0 (unregistering): (slave eth1): Releasing backup interface [ 338.254030] bond0 (unregistering): Released all slaves [ 338.309383] bond0: (slave eth0): making interface the new active one [ 338.309906] bond0: (slave eth0): Enslaving as an active interface with an up link [ 338.326837] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 340.039159] 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 ] [ 352.614412] eth0: left promiscuous mode [ 352.627879] bond0 (unregistering): (slave eth0): Releasing backup interface [ 352.636099] bond0 (unregistering): (slave eth1): Releasing backup interface [ 352.645001] bond0 (unregistering): Released all slaves [ 352.645763] br0: port 1(s0) entered disabled state [ 352.646157] br0: port 2(s1) entered disabled state [ 352.691488] bond0: (slave eth0): making interface the new active one [ 352.692058] bond0: (slave eth0): Enslaving as an active interface with an up link [ 352.692971] br0: port 1(s0) entered blocking state [ 352.693364] br0: port 1(s0) entered forwarding state [ 352.707074] bond0: (slave eth1): Enslaving as an active interface with an up link [ 352.707838] br0: port 2(s1) entered blocking state [ 352.708132] br0: port 2(s1) entered forwarding state [ 354.140027] 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 ] [ 366.766632] eth0: left promiscuous mode [ 366.785623] bond0 (unregistering): (slave eth0): Releasing active interface [ 366.795276] bond0 (unregistering): (slave eth1): Releasing active interface [ 366.805004] bond0 (unregistering): Released all slaves [ 366.805839] br0: port 1(s0) entered disabled state [ 366.806223] br0: port 2(s1) entered disabled state [ 366.853915] bond0: (slave eth0): making interface the new active one [ 366.854453] bond0: (slave eth0): Enslaving as an active interface with an up link [ 366.855398] br0: port 1(s0) entered blocking state [ 366.855759] br0: port 1(s0) entered forwarding state [ 366.873061] bond0: (slave eth1): Enslaving as an active interface with an up link [ 366.873781] br0: port 2(s1) entered blocking state [ 366.874066] br0: port 2(s1) entered forwarding state [ 368.717804] 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 ] [ 381.385545] eth0: left promiscuous mode [ 381.434041] br0: port 3(c0) entered disabled state [ 381.434755] c0 (unregistering): left allmulticast mode [ 381.435061] c0 (unregistering): left promiscuous mode [ 381.435329] br0: port 3(c0) entered disabled state [ 381.503978] br0: port 1(s0) entered disabled state [ 381.504457] bond0: (slave eth0): Releasing active interface [ 381.504774] bond0: (slave eth0): the permanent HWaddr of slave - 1e:d9:69:f8:8e:18 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 381.505704] bond0: (slave eth1): making interface the new active one [ 381.516374] s0 (unregistering): left allmulticast mode [ 381.516694] s0 (unregistering): left promiscuous mode [ 381.517004] br0: port 1(s0) entered disabled state [ 381.543343] br0: port 2(s1) entered disabled state [ 381.543960] bond0: (slave eth1): Releasing active interface [ 381.553575] s1 (unregistering): left allmulticast mode [ 381.553904] s1 (unregistering): left promiscuous mode [ 381.554233] br0: port 2(s1) entered disabled state [ 381.605150] 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__->