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 [ 431.929620] br0: port 1(s0) entered blocking state [ 431.930025] br0: port 1(s0) entered disabled state [ 431.930388] s0: entered allmulticast mode [ 431.930833] s0: entered promiscuous mode [ 431.947605] bond0: (slave eth0): making interface the new active one [ 431.948075] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.948962] br0: port 1(s0) entered blocking state [ 431.949231] br0: port 1(s0) entered forwarding state [ 432.016409] br0: port 2(s1) entered blocking state [ 432.016785] br0: port 2(s1) entered disabled state [ 432.017074] s1: entered allmulticast mode [ 432.017442] s1: entered promiscuous mode [ 432.033265] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.034269] br0: port 2(s1) entered blocking state [ 432.034665] br0: port 2(s1) entered forwarding state [ 432.169475] br0: port 3(c0) entered blocking state [ 432.169832] br0: port 3(c0) entered disabled state [ 432.170105] c0: entered allmulticast mode [ 432.170493] c0: entered promiscuous mode [ 432.189050] br0: port 3(c0) entered blocking state [ 432.189471] br0: port 3(c0) entered forwarding state [ 432.301024] bond0 (unregistering): (slave eth0): Releasing backup interface [ 432.310180] bond0 (unregistering): (slave eth1): Releasing backup interface [ 432.318059] bond0 (unregistering): Released all slaves [ 432.367392] bond0: (slave eth0): making interface the new active one [ 432.367797] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.386161] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.081479] 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 ] [ 446.762970] eth0: left promiscuous mode [ 446.781432] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.792141] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.797979] bond0 (unregistering): Released all slaves [ 446.798764] br0: port 1(s0) entered disabled state [ 446.799163] br0: port 2(s1) entered disabled state [ 446.852182] bond0: (slave eth0): making interface the new active one [ 446.852718] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.853684] br0: port 1(s0) entered blocking state [ 446.853978] br0: port 1(s0) entered forwarding state [ 446.869871] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.870532] br0: port 2(s1) entered blocking state [ 446.870803] br0: port 2(s1) entered forwarding state [ 448.101712] 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 ] [ 460.735213] eth0: left promiscuous mode [ 460.751104] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.765168] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.774030] bond0 (unregistering): Released all slaves [ 460.774952] br0: port 1(s0) entered disabled state [ 460.775356] br0: port 2(s1) entered disabled state [ 460.824966] bond0: (slave eth0): making interface the new active one [ 460.825723] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.826680] br0: port 1(s0) entered blocking state [ 460.827080] br0: port 1(s0) entered forwarding state [ 460.842614] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.843690] br0: port 2(s1) entered blocking state [ 460.844091] br0: port 2(s1) entered forwarding state [ 462.189951] 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 ] [ 474.842759] eth0: left promiscuous mode [ 474.887031] br0: port 3(c0) entered disabled state [ 474.887972] c0 (unregistering): left allmulticast mode [ 474.888388] c0 (unregistering): left promiscuous mode [ 474.888788] br0: port 3(c0) entered disabled state [ 474.957205] br0: port 1(s0) entered disabled state [ 474.957612] bond0: (slave eth0): Releasing active interface [ 474.957933] bond0: (slave eth0): the permanent HWaddr of slave - 42:30:f3:90:e0:e8 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.958742] bond0: (slave eth1): making interface the new active one [ 474.969215] s0 (unregistering): left allmulticast mode [ 474.969514] s0 (unregistering): left promiscuous mode [ 474.969798] br0: port 1(s0) entered disabled state [ 474.992939] br0: port 2(s1) entered disabled state [ 474.993375] bond0: (slave eth1): Releasing active interface [ 475.001356] s1 (unregistering): left allmulticast mode [ 475.001671] s1 (unregistering): left promiscuous mode [ 475.001970] br0: port 2(s1) entered disabled state [ 475.029067] 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__->