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 [ 429.972279] br0: port 1(s0) entered blocking state [ 429.972576] br0: port 1(s0) entered disabled state [ 429.972837] s0: entered allmulticast mode [ 429.973117] s0: entered promiscuous mode [ 429.990024] bond0: (slave eth0): making interface the new active one [ 429.990402] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.990833] br0: port 1(s0) entered blocking state [ 429.991086] br0: port 1(s0) entered forwarding state [ 430.058563] br0: port 2(s1) entered blocking state [ 430.058844] br0: port 2(s1) entered disabled state [ 430.059098] s1: entered allmulticast mode [ 430.059385] s1: entered promiscuous mode [ 430.075923] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.076627] br0: port 2(s1) entered blocking state [ 430.076900] br0: port 2(s1) entered forwarding state [ 430.199663] br0: port 3(c0) entered blocking state [ 430.199948] br0: port 3(c0) entered disabled state [ 430.200228] c0: entered allmulticast mode [ 430.200539] c0: entered promiscuous mode [ 430.218790] br0: port 3(c0) entered blocking state [ 430.219192] br0: port 3(c0) entered forwarding state [ 430.331326] bond0 (unregistering): (slave eth0): Releasing backup interface [ 430.343734] bond0 (unregistering): (slave eth1): Releasing backup interface [ 430.352570] bond0 (unregistering): Released all slaves [ 430.408456] bond0: (slave eth0): making interface the new active one [ 430.408833] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.426357] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.728717] 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 ] [ 444.324490] eth0: left promiscuous mode [ 444.340244] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.349726] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.357573] bond0 (unregistering): Released all slaves [ 444.358605] br0: port 1(s0) entered disabled state [ 444.359167] br0: port 2(s1) entered disabled state [ 444.410767] bond0: (slave eth0): making interface the new active one [ 444.411329] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.412249] br0: port 1(s0) entered blocking state [ 444.412649] br0: port 1(s0) entered forwarding state [ 444.427068] bond0: (slave eth1): Enslaving as an active interface with an up link [ 444.427709] br0: port 2(s1) entered blocking state [ 444.427968] br0: port 2(s1) entered forwarding state [ 445.924230] 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 ] [ 458.534070] eth0: left promiscuous mode [ 458.550139] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.563645] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.572477] bond0 (unregistering): Released all slaves [ 458.573145] br0: port 1(s0) entered disabled state [ 458.573534] br0: port 2(s1) entered disabled state [ 458.617449] bond0: (slave eth0): making interface the new active one [ 458.617832] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.618492] br0: port 1(s0) entered blocking state [ 458.618775] br0: port 1(s0) entered forwarding state [ 458.633574] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.634443] br0: port 2(s1) entered blocking state [ 458.634803] br0: port 2(s1) entered forwarding state [ 460.238816] 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.888142] eth0: left promiscuous mode [ 472.934491] br0: port 3(c0) entered disabled state [ 472.935276] c0 (unregistering): left allmulticast mode [ 472.935639] c0 (unregistering): left promiscuous mode [ 472.935921] br0: port 3(c0) entered disabled state [ 473.013771] br0: port 1(s0) entered disabled state [ 473.014630] bond0: (slave eth0): Releasing active interface [ 473.015059] bond0: (slave eth0): the permanent HWaddr of slave - 9a:e4:32:06:1d:d9 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 473.016277] bond0: (slave eth1): making interface the new active one [ 473.026988] s0 (unregistering): left allmulticast mode [ 473.027450] s0 (unregistering): left promiscuous mode [ 473.027835] br0: port 1(s0) entered disabled state [ 473.054693] br0: port 2(s1) entered disabled state [ 473.055106] bond0: (slave eth1): Releasing active interface [ 473.065914] s1 (unregistering): left allmulticast mode [ 473.066216] s1 (unregistering): left promiscuous mode [ 473.066512] br0: port 2(s1) entered disabled state [ 473.094023] 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__->