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 [ 341.258045] br0: port 1(s0) entered blocking state [ 341.258339] br0: port 1(s0) entered disabled state [ 341.258615] s0: entered allmulticast mode [ 341.258944] s0: entered promiscuous mode [ 341.273300] bond0: (slave eth0): making interface the new active one [ 341.273688] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.274331] br0: port 1(s0) entered blocking state [ 341.274590] br0: port 1(s0) entered forwarding state [ 341.333838] br0: port 2(s1) entered blocking state [ 341.334154] br0: port 2(s1) entered disabled state [ 341.334428] s1: entered allmulticast mode [ 341.334741] s1: entered promiscuous mode [ 341.348959] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 341.349648] br0: port 2(s1) entered blocking state [ 341.349938] br0: port 2(s1) entered forwarding state [ 341.462404] br0: port 3(c0) entered blocking state [ 341.462704] br0: port 3(c0) entered disabled state [ 341.462966] c0: entered allmulticast mode [ 341.463263] c0: entered promiscuous mode [ 341.477842] br0: port 3(c0) entered blocking state [ 341.478153] br0: port 3(c0) entered forwarding state [ 341.578163] bond0 (unregistering): (slave eth0): Releasing backup interface [ 341.587239] bond0 (unregistering): (slave eth1): Releasing backup interface [ 341.601207] bond0 (unregistering): Released all slaves [ 341.649225] bond0: (slave eth0): making interface the new active one [ 341.649615] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.664934] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.972052] 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.538562] eth0: left promiscuous mode [ 356.554085] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.565292] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.574187] bond0 (unregistering): Released all slaves [ 356.574996] br0: port 1(s0) entered disabled state [ 356.575404] br0: port 2(s1) entered disabled state [ 356.617795] bond0: (slave eth0): making interface the new active one [ 356.618223] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.618864] br0: port 1(s0) entered blocking state [ 356.619153] br0: port 1(s0) entered forwarding state [ 356.633346] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.634128] br0: port 2(s1) entered blocking state [ 356.634415] br0: port 2(s1) entered forwarding state [ 358.222806] 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.881840] eth0: left promiscuous mode [ 370.900336] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.908371] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.914226] bond0 (unregistering): Released all slaves [ 370.915109] br0: port 1(s0) entered disabled state [ 370.915546] br0: port 2(s1) entered disabled state [ 370.971078] bond0: (slave eth0): making interface the new active one [ 370.971494] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.971943] br0: port 1(s0) entered blocking state [ 370.972234] br0: port 1(s0) entered forwarding state [ 370.991072] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.992025] br0: port 2(s1) entered blocking state [ 370.992427] br0: port 2(s1) entered forwarding state [ 372.493695] 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 ] [ 385.097839] eth0: left promiscuous mode [ 385.138552] br0: port 3(c0) entered disabled state [ 385.139584] c0 (unregistering): left allmulticast mode [ 385.139998] c0 (unregistering): left promiscuous mode [ 385.140488] br0: port 3(c0) entered disabled state [ 385.207207] br0: port 1(s0) entered disabled state [ 385.207640] bond0: (slave eth0): Releasing active interface [ 385.207935] bond0: (slave eth0): the permanent HWaddr of slave - 92:f2:7f:17:d3:88 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 385.208827] bond0: (slave eth1): making interface the new active one [ 385.224475] s0 (unregistering): left allmulticast mode [ 385.224784] s0 (unregistering): left promiscuous mode [ 385.225072] br0: port 1(s0) entered disabled state [ 385.247194] br0: port 2(s1) entered disabled state [ 385.247603] bond0: (slave eth1): Releasing active interface [ 385.256611] s1 (unregistering): left allmulticast mode [ 385.256907] s1 (unregistering): left promiscuous mode [ 385.257190] br0: port 2(s1) entered disabled state [ 385.280392] 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__->