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 [ 346.036856] br0: port 1(s0) entered blocking state [ 346.037155] br0: port 1(s0) entered disabled state [ 346.037415] s0: entered allmulticast mode [ 346.037724] s0: entered promiscuous mode [ 346.052926] bond0: (slave eth0): making interface the new active one [ 346.053340] bond0: (slave eth0): Enslaving as an active interface with an up link [ 346.054026] br0: port 1(s0) entered blocking state [ 346.054304] br0: port 1(s0) entered forwarding state [ 346.115636] br0: port 2(s1) entered blocking state [ 346.116106] br0: port 2(s1) entered disabled state [ 346.116493] s1: entered allmulticast mode [ 346.116922] s1: entered promiscuous mode [ 346.130204] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.130877] br0: port 2(s1) entered blocking state [ 346.131149] br0: port 2(s1) entered forwarding state [ 346.245267] br0: port 3(c0) entered blocking state [ 346.245569] br0: port 3(c0) entered disabled state [ 346.245857] c0: entered allmulticast mode [ 346.246162] c0: entered promiscuous mode [ 346.258834] br0: port 3(c0) entered blocking state [ 346.259134] br0: port 3(c0) entered forwarding state [ 346.356903] bond0 (unregistering): (slave eth0): Releasing backup interface [ 346.367176] bond0 (unregistering): (slave eth1): Releasing backup interface [ 346.373060] bond0 (unregistering): Released all slaves [ 346.427603] bond0: (slave eth0): making interface the new active one [ 346.428050] bond0: (slave eth0): Enslaving as an active interface with an up link [ 346.442984] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 348.526562] 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 ] [ 361.125169] eth0: left promiscuous mode [ 361.140722] bond0 (unregistering): (slave eth0): Releasing backup interface [ 361.148310] bond0 (unregistering): (slave eth1): Releasing backup interface [ 361.156111] bond0 (unregistering): Released all slaves [ 361.156925] br0: port 1(s0) entered disabled state [ 361.157348] br0: port 2(s1) entered disabled state [ 361.201476] bond0: (slave eth0): making interface the new active one [ 361.201876] bond0: (slave eth0): Enslaving as an active interface with an up link [ 361.202620] br0: port 1(s0) entered blocking state [ 361.202882] br0: port 1(s0) entered forwarding state [ 361.216310] bond0: (slave eth1): Enslaving as an active interface with an up link [ 361.217035] br0: port 2(s1) entered blocking state [ 361.217296] br0: port 2(s1) entered forwarding state [ 362.702259] 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 ] [ 375.320716] eth0: left promiscuous mode [ 375.338200] bond0 (unregistering): (slave eth0): Releasing active interface [ 375.347297] bond0 (unregistering): (slave eth1): Releasing active interface [ 375.353120] bond0 (unregistering): Released all slaves [ 375.354004] br0: port 1(s0) entered disabled state [ 375.354380] br0: port 2(s1) entered disabled state [ 375.407394] bond0: (slave eth0): making interface the new active one [ 375.407987] bond0: (slave eth0): Enslaving as an active interface with an up link [ 375.408920] br0: port 1(s0) entered blocking state [ 375.409340] br0: port 1(s0) entered forwarding state [ 375.425530] bond0: (slave eth1): Enslaving as an active interface with an up link [ 375.426302] br0: port 2(s1) entered blocking state [ 375.426601] br0: port 2(s1) entered forwarding state [ 376.756746] 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 ] [ 389.424822] eth0: left promiscuous mode [ 389.471894] br0: port 3(c0) entered disabled state [ 389.472566] c0 (unregistering): left allmulticast mode [ 389.472842] c0 (unregistering): left promiscuous mode [ 389.473135] br0: port 3(c0) entered disabled state [ 389.540210] br0: port 1(s0) entered disabled state [ 389.540682] bond0: (slave eth0): Releasing active interface [ 389.541025] bond0: (slave eth0): the permanent HWaddr of slave - 16:75:8f:1c:7c:7c - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 389.541865] bond0: (slave eth1): making interface the new active one [ 389.551502] s0 (unregistering): left allmulticast mode [ 389.551906] s0 (unregistering): left promiscuous mode [ 389.552287] br0: port 1(s0) entered disabled state [ 389.578823] br0: port 2(s1) entered disabled state [ 389.579319] bond0: (slave eth1): Releasing active interface [ 389.587653] s1 (unregistering): left allmulticast mode [ 389.588061] s1 (unregistering): left promiscuous mode [ 389.588416] br0: port 2(s1) entered disabled state [ 389.618255] 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__->