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 [ 433.895500] br0: port 1(s0) entered blocking state [ 433.895797] br0: port 1(s0) entered disabled state [ 433.896080] s0: entered allmulticast mode [ 433.896372] s0: entered promiscuous mode [ 433.909374] bond0: (slave eth0): making interface the new active one [ 433.909863] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.910553] br0: port 1(s0) entered blocking state [ 433.910901] br0: port 1(s0) entered forwarding state [ 433.970278] br0: port 2(s1) entered blocking state [ 433.970584] br0: port 2(s1) entered disabled state [ 433.970848] s1: entered allmulticast mode [ 433.971151] s1: entered promiscuous mode [ 433.986602] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.987345] br0: port 2(s1) entered blocking state [ 433.987613] br0: port 2(s1) entered forwarding state [ 434.103021] br0: port 3(c0) entered blocking state [ 434.103318] br0: port 3(c0) entered disabled state [ 434.103596] c0: entered allmulticast mode [ 434.103934] c0: entered promiscuous mode [ 434.119617] br0: port 3(c0) entered blocking state [ 434.119945] br0: port 3(c0) entered forwarding state [ 434.216907] bond0 (unregistering): (slave eth0): Releasing backup interface [ 434.227211] bond0 (unregistering): (slave eth1): Releasing backup interface [ 434.233121] bond0 (unregistering): Released all slaves [ 434.288043] bond0: (slave eth0): making interface the new active one [ 434.288445] bond0: (slave eth0): Enslaving as an active interface with an up link [ 434.304413] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 435.789115] 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 ] [ 448.407716] eth0: left promiscuous mode [ 448.423921] bond0 (unregistering): (slave eth0): Releasing backup interface [ 448.435124] bond0 (unregistering): (slave eth1): Releasing backup interface [ 448.444091] bond0 (unregistering): Released all slaves [ 448.444854] br0: port 1(s0) entered disabled state [ 448.445282] br0: port 2(s1) entered disabled state [ 448.496865] bond0: (slave eth0): making interface the new active one [ 448.497292] bond0: (slave eth0): Enslaving as an active interface with an up link [ 448.497977] br0: port 1(s0) entered blocking state [ 448.498259] br0: port 1(s0) entered forwarding state [ 448.511049] bond0: (slave eth1): Enslaving as an active interface with an up link [ 448.511857] br0: port 2(s1) entered blocking state [ 448.512209] br0: port 2(s1) entered forwarding state [ 450.285648] 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 ] [ 462.909504] eth0: left promiscuous mode [ 462.925576] bond0 (unregistering): (slave eth0): Releasing active interface [ 462.934172] bond0 (unregistering): (slave eth1): Releasing active interface [ 462.940069] bond0 (unregistering): Released all slaves [ 462.940833] br0: port 1(s0) entered disabled state [ 462.941218] br0: port 2(s1) entered disabled state [ 462.985116] bond0: (slave eth0): making interface the new active one [ 462.985523] bond0: (slave eth0): Enslaving as an active interface with an up link [ 462.986265] br0: port 1(s0) entered blocking state [ 462.986563] br0: port 1(s0) entered forwarding state [ 463.002023] bond0: (slave eth1): Enslaving as an active interface with an up link [ 463.002931] br0: port 2(s1) entered blocking state [ 463.003241] br0: port 2(s1) entered forwarding state [ 464.201739] 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 ] [ 476.836716] eth0: left promiscuous mode [ 476.872779] br0: port 3(c0) entered disabled state [ 476.873477] c0 (unregistering): left allmulticast mode [ 476.873756] c0 (unregistering): left promiscuous mode [ 476.874044] br0: port 3(c0) entered disabled state [ 476.938848] br0: port 1(s0) entered disabled state [ 476.939336] bond0: (slave eth0): Releasing active interface [ 476.939656] bond0: (slave eth0): the permanent HWaddr of slave - 92:04:b6:cc:9d:90 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 476.940505] bond0: (slave eth1): making interface the new active one [ 476.951318] s0 (unregistering): left allmulticast mode [ 476.951628] s0 (unregistering): left promiscuous mode [ 476.951988] br0: port 1(s0) entered disabled state [ 476.976222] br0: port 2(s1) entered disabled state [ 476.976739] bond0: (slave eth1): Releasing active interface [ 476.988409] s1 (unregistering): left allmulticast mode [ 476.988750] s1 (unregistering): left promiscuous mode [ 476.989089] br0: port 2(s1) entered disabled state [ 477.012565] 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__->