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 [ 340.977501] br0: port 1(s0) entered blocking state [ 340.977936] br0: port 1(s0) entered disabled state [ 340.978332] s0: entered allmulticast mode [ 340.978766] s0: entered promiscuous mode [ 340.993353] bond0: (slave eth0): making interface the new active one [ 340.993726] bond0: (slave eth0): Enslaving as an active interface with an up link [ 340.994398] br0: port 1(s0) entered blocking state [ 340.994660] br0: port 1(s0) entered forwarding state [ 341.048515] br0: port 2(s1) entered blocking state [ 341.048805] br0: port 2(s1) entered disabled state [ 341.049074] s1: entered allmulticast mode [ 341.049364] s1: entered promiscuous mode [ 341.062571] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 341.063345] br0: port 2(s1) entered blocking state [ 341.063606] br0: port 2(s1) entered forwarding state [ 341.179790] br0: port 3(c0) entered blocking state [ 341.180103] br0: port 3(c0) entered disabled state [ 341.180368] c0: entered allmulticast mode [ 341.180659] c0: entered promiscuous mode [ 341.194683] br0: port 3(c0) entered blocking state [ 341.194985] br0: port 3(c0) entered forwarding state [ 341.291769] bond0 (unregistering): (slave eth0): Releasing backup interface [ 341.301146] bond0 (unregistering): (slave eth1): Releasing backup interface [ 341.309054] bond0 (unregistering): Released all slaves [ 341.359001] bond0: (slave eth0): making interface the new active one [ 341.359511] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.375212] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.761639] 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 ] [ 356.327607] eth0: left promiscuous mode [ 356.344248] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.353149] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.366072] bond0 (unregistering): Released all slaves [ 356.367175] br0: port 1(s0) entered disabled state [ 356.367683] br0: port 2(s1) entered disabled state [ 356.417876] bond0: (slave eth0): making interface the new active one [ 356.418549] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.419176] br0: port 1(s0) entered blocking state [ 356.419546] br0: port 1(s0) entered forwarding state [ 356.433878] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.434572] br0: port 2(s1) entered blocking state [ 356.434856] br0: port 2(s1) entered forwarding state [ 357.783891] 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 ] [ 370.358617] eth0: left promiscuous mode [ 370.372597] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.384133] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.393055] bond0 (unregistering): Released all slaves [ 370.393916] br0: port 1(s0) entered disabled state [ 370.394281] br0: port 2(s1) entered disabled state [ 370.447449] bond0: (slave eth0): making interface the new active one [ 370.447848] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.448551] br0: port 1(s0) entered blocking state [ 370.448820] br0: port 1(s0) entered forwarding state [ 370.465582] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.466563] br0: port 2(s1) entered blocking state [ 370.466964] br0: port 2(s1) entered forwarding state [ 371.844132] 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 ] [ 384.517935] eth0: left promiscuous mode [ 384.569026] br0: port 3(c0) entered disabled state [ 384.569739] c0 (unregistering): left allmulticast mode [ 384.570038] c0 (unregistering): left promiscuous mode [ 384.570313] br0: port 3(c0) entered disabled state [ 384.645586] br0: port 1(s0) entered disabled state [ 384.646299] bond0: (slave eth0): Releasing active interface [ 384.646612] bond0: (slave eth0): the permanent HWaddr of slave - c2:e1:78:8d:2a:d5 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 384.647474] bond0: (slave eth1): making interface the new active one [ 384.658375] s0 (unregistering): left allmulticast mode [ 384.658721] s0 (unregistering): left promiscuous mode [ 384.659045] br0: port 1(s0) entered disabled state [ 384.683848] br0: port 2(s1) entered disabled state [ 384.684300] bond0: (slave eth1): Releasing active interface [ 384.695473] s1 (unregistering): left allmulticast mode [ 384.695857] s1 (unregistering): left promiscuous mode [ 384.696140] br0: port 2(s1) entered disabled state [ 384.727880] 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__->