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 [ 434.999930] br0: port 1(s0) entered blocking state [ 435.000233] br0: port 1(s0) entered disabled state [ 435.000493] s0: entered allmulticast mode [ 435.000783] s0: entered promiscuous mode [ 435.015015] bond0: (slave eth0): making interface the new active one [ 435.015385] bond0: (slave eth0): Enslaving as an active interface with an up link [ 435.016058] br0: port 1(s0) entered blocking state [ 435.016317] br0: port 1(s0) entered forwarding state [ 435.077496] br0: port 2(s1) entered blocking state [ 435.077948] br0: port 2(s1) entered disabled state [ 435.078308] s1: entered allmulticast mode [ 435.078694] s1: entered promiscuous mode [ 435.094021] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 435.094753] br0: port 2(s1) entered blocking state [ 435.095041] br0: port 2(s1) entered forwarding state [ 435.207662] br0: port 3(c0) entered blocking state [ 435.208033] br0: port 3(c0) entered disabled state [ 435.208337] c0: entered allmulticast mode [ 435.208649] c0: entered promiscuous mode [ 435.224854] br0: port 3(c0) entered blocking state [ 435.225256] br0: port 3(c0) entered forwarding state [ 435.329379] bond0 (unregistering): (slave eth0): Releasing backup interface [ 435.340979] bond0 (unregistering): (slave eth1): Releasing backup interface [ 435.346982] bond0 (unregistering): Released all slaves [ 435.398896] bond0: (slave eth0): making interface the new active one [ 435.399290] bond0: (slave eth0): Enslaving as an active interface with an up link [ 435.414238] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 437.819972] 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 ] [ 450.475211] eth0: left promiscuous mode [ 450.491800] bond0 (unregistering): (slave eth0): Releasing backup interface [ 450.501129] bond0 (unregistering): (slave eth1): Releasing backup interface [ 450.507000] bond0 (unregistering): Released all slaves [ 450.507781] br0: port 1(s0) entered disabled state [ 450.508186] br0: port 2(s1) entered disabled state [ 450.553993] bond0: (slave eth0): making interface the new active one [ 450.554564] bond0: (slave eth0): Enslaving as an active interface with an up link [ 450.555547] br0: port 1(s0) entered blocking state [ 450.555951] br0: port 1(s0) entered forwarding state [ 450.572219] bond0: (slave eth1): Enslaving as an active interface with an up link [ 450.573282] br0: port 2(s1) entered blocking state [ 450.573669] br0: port 2(s1) entered forwarding state [ 451.912975] 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 ] [ 464.579873] eth0: left promiscuous mode [ 464.596339] bond0 (unregistering): (slave eth0): Releasing active interface [ 464.605269] bond0 (unregistering): (slave eth1): Releasing active interface [ 464.615031] bond0 (unregistering): Released all slaves [ 464.616139] br0: port 1(s0) entered disabled state [ 464.616642] br0: port 2(s1) entered disabled state [ 464.667048] bond0: (slave eth0): making interface the new active one [ 464.667620] bond0: (slave eth0): Enslaving as an active interface with an up link [ 464.668532] br0: port 1(s0) entered blocking state [ 464.668933] br0: port 1(s0) entered forwarding state [ 464.684790] bond0: (slave eth1): Enslaving as an active interface with an up link [ 464.685729] br0: port 2(s1) entered blocking state [ 464.686131] br0: port 2(s1) entered forwarding state [ 465.889613] 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 ] [ 478.539593] eth0: left promiscuous mode [ 478.591675] br0: port 3(c0) entered disabled state [ 478.592700] c0 (unregistering): left allmulticast mode [ 478.593130] c0 (unregistering): left promiscuous mode [ 478.593510] br0: port 3(c0) entered disabled state [ 478.658172] br0: port 1(s0) entered disabled state [ 478.658590] bond0: (slave eth0): Releasing active interface [ 478.658917] bond0: (slave eth0): the permanent HWaddr of slave - d6:9a:8d:2d:f9:2c - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 478.659773] bond0: (slave eth1): making interface the new active one [ 478.674345] s0 (unregistering): left allmulticast mode [ 478.674812] s0 (unregistering): left promiscuous mode [ 478.675222] br0: port 1(s0) entered disabled state [ 478.700175] br0: port 2(s1) entered disabled state [ 478.700724] bond0: (slave eth1): Releasing active interface [ 478.718438] s1 (unregistering): left allmulticast mode [ 478.718898] s1 (unregistering): left promiscuous mode [ 478.719294] br0: port 2(s1) entered disabled state [ 478.743523] 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__->