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 [ 428.166778] br0: port 1(s0) entered blocking state [ 428.167062] br0: port 1(s0) entered disabled state [ 428.167371] s0: entered allmulticast mode [ 428.167658] s0: entered promiscuous mode [ 428.180942] bond0: (slave eth0): making interface the new active one [ 428.181435] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.182298] br0: port 1(s0) entered blocking state [ 428.182642] br0: port 1(s0) entered forwarding state [ 428.243187] br0: port 2(s1) entered blocking state [ 428.243591] br0: port 2(s1) entered disabled state [ 428.244015] s1: entered allmulticast mode [ 428.244443] s1: entered promiscuous mode [ 428.260127] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.261186] br0: port 2(s1) entered blocking state [ 428.261574] br0: port 2(s1) entered forwarding state [ 428.394348] br0: port 3(c0) entered blocking state [ 428.394770] br0: port 3(c0) entered disabled state [ 428.395155] c0: entered allmulticast mode [ 428.395592] c0: entered promiscuous mode [ 428.412569] br0: port 3(c0) entered blocking state [ 428.412880] br0: port 3(c0) entered forwarding state [ 428.523469] bond0 (unregistering): (slave eth0): Releasing backup interface [ 428.535036] bond0 (unregistering): (slave eth1): Releasing backup interface [ 428.540892] bond0 (unregistering): Released all slaves [ 428.586951] bond0: (slave eth0): making interface the new active one [ 428.587348] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.606115] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.120283] 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 ] [ 443.731349] eth0: left promiscuous mode [ 443.749112] bond0 (unregistering): (slave eth0): Releasing backup interface [ 443.760075] bond0 (unregistering): (slave eth1): Releasing backup interface [ 443.767932] bond0 (unregistering): Released all slaves [ 443.768933] br0: port 1(s0) entered disabled state [ 443.769494] br0: port 2(s1) entered disabled state [ 443.824863] bond0: (slave eth0): making interface the new active one [ 443.825295] bond0: (slave eth0): Enslaving as an active interface with an up link [ 443.825856] br0: port 1(s0) entered blocking state [ 443.826118] br0: port 1(s0) entered forwarding state [ 443.842191] bond0: (slave eth1): Enslaving as an active interface with an up link [ 443.843034] br0: port 2(s1) entered blocking state [ 443.843327] br0: port 2(s1) entered forwarding state [ 445.201462] 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 ] [ 457.875297] eth0: left promiscuous mode [ 457.891294] bond0 (unregistering): (slave eth0): Releasing active interface [ 457.902134] bond0 (unregistering): (slave eth1): Releasing active interface [ 457.907956] bond0 (unregistering): Released all slaves [ 457.909009] br0: port 1(s0) entered disabled state [ 457.909499] br0: port 2(s1) entered disabled state [ 457.958959] bond0: (slave eth0): making interface the new active one [ 457.959530] bond0: (slave eth0): Enslaving as an active interface with an up link [ 457.960484] br0: port 1(s0) entered blocking state [ 457.960891] br0: port 1(s0) entered forwarding state [ 457.975661] bond0: (slave eth1): Enslaving as an active interface with an up link [ 457.976348] br0: port 2(s1) entered blocking state [ 457.976623] br0: port 2(s1) entered forwarding state [ 459.327436] 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 ] [ 472.005630] eth0: left promiscuous mode [ 472.046344] br0: port 3(c0) entered disabled state [ 472.047337] c0 (unregistering): left allmulticast mode [ 472.047823] c0 (unregistering): left promiscuous mode [ 472.048229] br0: port 3(c0) entered disabled state [ 472.123596] br0: port 1(s0) entered disabled state [ 472.124076] bond0: (slave eth0): Releasing active interface [ 472.124372] bond0: (slave eth0): the permanent HWaddr of slave - 8a:7b:be:38:55:8d - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.125244] bond0: (slave eth1): making interface the new active one [ 472.138198] s0 (unregistering): left allmulticast mode [ 472.138506] s0 (unregistering): left promiscuous mode [ 472.138801] br0: port 1(s0) entered disabled state [ 472.165091] br0: port 2(s1) entered disabled state [ 472.165662] bond0: (slave eth1): Releasing active interface [ 472.174433] s1 (unregistering): left allmulticast mode [ 472.174778] s1 (unregistering): left promiscuous mode [ 472.175079] br0: port 2(s1) entered disabled state [ 472.201530] 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__->