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 [ 436.182008] br0: port 1(s0) entered blocking state [ 436.182290] br0: port 1(s0) entered disabled state [ 436.182552] s0: entered allmulticast mode [ 436.182850] s0: entered promiscuous mode [ 436.196714] bond0: (slave eth0): making interface the new active one [ 436.197105] bond0: (slave eth0): Enslaving as an active interface with an up link [ 436.197762] br0: port 1(s0) entered blocking state [ 436.198017] br0: port 1(s0) entered forwarding state [ 436.257041] br0: port 2(s1) entered blocking state [ 436.257354] br0: port 2(s1) entered disabled state [ 436.257631] s1: entered allmulticast mode [ 436.257985] s1: entered promiscuous mode [ 436.273261] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 436.274002] br0: port 2(s1) entered blocking state [ 436.274262] br0: port 2(s1) entered forwarding state [ 436.404849] br0: port 3(c0) entered blocking state [ 436.405317] br0: port 3(c0) entered disabled state [ 436.405825] c0: entered allmulticast mode [ 436.406309] c0: entered promiscuous mode [ 436.424082] br0: port 3(c0) entered blocking state [ 436.424383] br0: port 3(c0) entered forwarding state [ 436.539535] bond0 (unregistering): (slave eth0): Releasing backup interface [ 436.550971] bond0 (unregistering): (slave eth1): Releasing backup interface [ 436.556842] bond0 (unregistering): Released all slaves [ 436.609079] bond0: (slave eth0): making interface the new active one [ 436.609469] bond0: (slave eth0): Enslaving as an active interface with an up link [ 436.626417] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 437.835542] 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 ] [ 450.487894] eth0: left promiscuous mode [ 450.504252] bond0 (unregistering): (slave eth0): Releasing backup interface [ 450.517035] bond0 (unregistering): (slave eth1): Releasing backup interface [ 450.522938] bond0 (unregistering): Released all slaves [ 450.523992] br0: port 1(s0) entered disabled state [ 450.524552] br0: port 2(s1) entered disabled state [ 450.574459] bond0: (slave eth0): making interface the new active one [ 450.574976] bond0: (slave eth0): Enslaving as an active interface with an up link [ 450.575813] br0: port 1(s0) entered blocking state [ 450.576156] br0: port 1(s0) entered forwarding state [ 450.590982] bond0: (slave eth1): Enslaving as an active interface with an up link [ 450.591883] br0: port 2(s1) entered blocking state [ 450.592163] br0: port 2(s1) entered forwarding state [ 451.760179] 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 ] [ 464.428974] eth0: left promiscuous mode [ 464.444968] bond0 (unregistering): (slave eth0): Releasing active interface [ 464.455991] bond0 (unregistering): (slave eth1): Releasing active interface [ 464.461875] bond0 (unregistering): Released all slaves [ 464.462629] br0: port 1(s0) entered disabled state [ 464.463020] br0: port 2(s1) entered disabled state [ 464.507328] bond0: (slave eth0): making interface the new active one [ 464.507715] bond0: (slave eth0): Enslaving as an active interface with an up link [ 464.508444] br0: port 1(s0) entered blocking state [ 464.508728] br0: port 1(s0) entered forwarding state [ 464.522317] bond0: (slave eth1): Enslaving as an active interface with an up link [ 464.523178] br0: port 2(s1) entered blocking state [ 464.523532] br0: port 2(s1) entered forwarding state [ 466.151874] 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 ] [ 478.788998] eth0: left promiscuous mode [ 478.825061] br0: port 3(c0) entered disabled state [ 478.825765] c0 (unregistering): left allmulticast mode [ 478.826066] c0 (unregistering): left promiscuous mode [ 478.826343] br0: port 3(c0) entered disabled state [ 478.897227] br0: port 1(s0) entered disabled state [ 478.897624] bond0: (slave eth0): Releasing active interface [ 478.897945] bond0: (slave eth0): the permanent HWaddr of slave - d2:34:57:9d:9d:65 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 478.898769] bond0: (slave eth1): making interface the new active one [ 478.910254] s0 (unregistering): left allmulticast mode [ 478.910684] s0 (unregistering): left promiscuous mode [ 478.911105] br0: port 1(s0) entered disabled state [ 478.932735] br0: port 2(s1) entered disabled state [ 478.933114] bond0: (slave eth1): Releasing active interface [ 478.942191] s1 (unregistering): left allmulticast mode [ 478.942475] s1 (unregistering): left promiscuous mode [ 478.942753] br0: port 2(s1) entered disabled state [ 478.966717] 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__->