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.980134] br0: port 1(s0) entered blocking state [ 340.980421] br0: port 1(s0) entered disabled state [ 340.980698] s0: entered allmulticast mode [ 340.980984] s0: entered promiscuous mode [ 340.995084] bond0: (slave eth0): making interface the new active one [ 340.995576] bond0: (slave eth0): Enslaving as an active interface with an up link [ 340.996238] br0: port 1(s0) entered blocking state [ 340.996491] br0: port 1(s0) entered forwarding state [ 341.052872] br0: port 2(s1) entered blocking state [ 341.053155] br0: port 2(s1) entered disabled state [ 341.053421] s1: entered allmulticast mode [ 341.053744] s1: entered promiscuous mode [ 341.066669] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 341.067367] br0: port 2(s1) entered blocking state [ 341.067633] br0: port 2(s1) entered forwarding state [ 341.176521] br0: port 3(c0) entered blocking state [ 341.176896] br0: port 3(c0) entered disabled state [ 341.177158] c0: entered allmulticast mode [ 341.177487] c0: entered promiscuous mode [ 341.190710] br0: port 3(c0) entered blocking state [ 341.190986] br0: port 3(c0) entered forwarding state [ 341.288777] bond0 (unregistering): (slave eth0): Releasing backup interface [ 341.298863] bond0 (unregistering): (slave eth1): Releasing backup interface [ 341.304756] bond0 (unregistering): Released all slaves [ 341.356531] bond0: (slave eth0): making interface the new active one [ 341.356974] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.372306] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.860531] 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.423143] eth0: left promiscuous mode [ 356.437319] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.456928] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.462768] bond0 (unregistering): Released all slaves [ 356.463716] br0: port 1(s0) entered disabled state [ 356.464141] br0: port 2(s1) entered disabled state [ 356.511160] bond0: (slave eth0): making interface the new active one [ 356.511543] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.512239] br0: port 1(s0) entered blocking state [ 356.512505] br0: port 1(s0) entered forwarding state [ 356.525871] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.526715] br0: port 2(s1) entered blocking state [ 356.526982] br0: port 2(s1) entered forwarding state [ 358.296427] 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.887789] eth0: left promiscuous mode [ 370.902757] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.910970] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.918743] bond0 (unregistering): Released all slaves [ 370.919648] br0: port 1(s0) entered disabled state [ 370.919996] br0: port 2(s1) entered disabled state [ 370.966821] bond0: (slave eth0): making interface the new active one [ 370.967225] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.967872] br0: port 1(s0) entered blocking state [ 370.968152] br0: port 1(s0) entered forwarding state [ 370.982523] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.983203] br0: port 2(s1) entered blocking state [ 370.983467] br0: port 2(s1) entered forwarding state [ 372.582957] 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.207371] eth0: left promiscuous mode [ 385.248426] br0: port 3(c0) entered disabled state [ 385.249564] c0 (unregistering): left allmulticast mode [ 385.250003] c0 (unregistering): left promiscuous mode [ 385.250393] br0: port 3(c0) entered disabled state [ 385.312561] br0: port 1(s0) entered disabled state [ 385.313369] bond0: (slave eth0): Releasing active interface [ 385.313731] bond0: (slave eth0): the permanent HWaddr of slave - ce:5b:eb:75:4d:f6 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 385.314530] bond0: (slave eth1): making interface the new active one [ 385.326224] s0 (unregistering): left allmulticast mode [ 385.326686] s0 (unregistering): left promiscuous mode [ 385.327108] br0: port 1(s0) entered disabled state [ 385.355828] br0: port 2(s1) entered disabled state [ 385.356286] bond0: (slave eth1): Releasing active interface [ 385.368245] s1 (unregistering): left allmulticast mode [ 385.368546] s1 (unregistering): left promiscuous mode [ 385.368832] br0: port 2(s1) entered disabled state [ 385.401465] 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__->