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 [ 343.022173] br0: port 1(s0) entered blocking state [ 343.022581] br0: port 1(s0) entered disabled state [ 343.022967] s0: entered allmulticast mode [ 343.023405] s0: entered promiscuous mode [ 343.042363] bond0: (slave eth0): making interface the new active one [ 343.042758] bond0: (slave eth0): Enslaving as an active interface with an up link [ 343.043324] br0: port 1(s0) entered blocking state [ 343.043586] br0: port 1(s0) entered forwarding state [ 343.114913] br0: port 2(s1) entered blocking state [ 343.115354] br0: port 2(s1) entered disabled state [ 343.115748] s1: entered allmulticast mode [ 343.116201] s1: entered promiscuous mode [ 343.132928] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.133770] br0: port 2(s1) entered blocking state [ 343.134085] br0: port 2(s1) entered forwarding state [ 343.263790] br0: port 3(c0) entered blocking state [ 343.264226] br0: port 3(c0) entered disabled state [ 343.264610] c0: entered allmulticast mode [ 343.265051] c0: entered promiscuous mode [ 343.280570] br0: port 3(c0) entered blocking state [ 343.280859] br0: port 3(c0) entered forwarding state [ 343.381669] bond0 (unregistering): (slave eth0): Releasing backup interface [ 343.393175] bond0 (unregistering): (slave eth1): Releasing backup interface [ 343.402142] bond0 (unregistering): Released all slaves [ 343.452157] bond0: (slave eth0): making interface the new active one [ 343.452563] bond0: (slave eth0): Enslaving as an active interface with an up link [ 343.468201] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.396719] 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 ] [ 357.984696] eth0: left promiscuous mode [ 358.000101] bond0 (unregistering): (slave eth0): Releasing backup interface [ 358.009553] bond0 (unregistering): (slave eth1): Releasing backup interface [ 358.021262] bond0 (unregistering): Released all slaves [ 358.022521] br0: port 1(s0) entered disabled state [ 358.023179] br0: port 2(s1) entered disabled state [ 358.071349] bond0: (slave eth0): making interface the new active one [ 358.071776] bond0: (slave eth0): Enslaving as an active interface with an up link [ 358.072489] br0: port 1(s0) entered blocking state [ 358.072755] br0: port 1(s0) entered forwarding state [ 358.086215] bond0: (slave eth1): Enslaving as an active interface with an up link [ 358.086919] br0: port 2(s1) entered blocking state [ 358.087210] br0: port 2(s1) entered forwarding state [ 359.895788] 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 ] [ 372.503176] eth0: left promiscuous mode [ 372.520976] bond0 (unregistering): (slave eth0): Releasing active interface [ 372.532427] bond0 (unregistering): (slave eth1): Releasing active interface [ 372.541207] bond0 (unregistering): Released all slaves [ 372.542086] br0: port 1(s0) entered disabled state [ 372.542456] br0: port 2(s1) entered disabled state [ 372.596320] bond0: (slave eth0): making interface the new active one [ 372.596727] bond0: (slave eth0): Enslaving as an active interface with an up link [ 372.597183] br0: port 1(s0) entered blocking state [ 372.597447] br0: port 1(s0) entered forwarding state [ 372.612789] bond0: (slave eth1): Enslaving as an active interface with an up link [ 372.613266] br0: port 2(s1) entered blocking state [ 372.613527] br0: port 2(s1) entered forwarding state [ 373.961648] 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 ] [ 386.571044] eth0: left promiscuous mode [ 386.618924] br0: port 3(c0) entered disabled state [ 386.619603] c0 (unregistering): left allmulticast mode [ 386.619895] c0 (unregistering): left promiscuous mode [ 386.620202] br0: port 3(c0) entered disabled state [ 386.694340] br0: port 1(s0) entered disabled state [ 386.695090] bond0: (slave eth0): Releasing active interface [ 386.695530] bond0: (slave eth0): the permanent HWaddr of slave - 5e:88:27:26:8c:b2 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 386.696751] bond0: (slave eth1): making interface the new active one [ 386.707482] s0 (unregistering): left allmulticast mode [ 386.707833] s0 (unregistering): left promiscuous mode [ 386.708184] br0: port 1(s0) entered disabled state [ 386.734817] br0: port 2(s1) entered disabled state [ 386.735277] bond0: (slave eth1): Releasing active interface [ 386.744709] s1 (unregistering): left allmulticast mode [ 386.745164] s1 (unregistering): left promiscuous mode [ 386.745557] br0: port 2(s1) entered disabled state [ 386.770701] 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__->