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 [ 339.046040] br0: port 1(s0) entered blocking state [ 339.046322] br0: port 1(s0) entered disabled state [ 339.046585] s0: entered allmulticast mode [ 339.046885] s0: entered promiscuous mode [ 339.060380] bond0: (slave eth0): making interface the new active one [ 339.060834] bond0: (slave eth0): Enslaving as an active interface with an up link [ 339.061605] br0: port 1(s0) entered blocking state [ 339.061910] br0: port 1(s0) entered forwarding state [ 339.111852] br0: port 2(s1) entered blocking state [ 339.112134] br0: port 2(s1) entered disabled state [ 339.112389] s1: entered allmulticast mode [ 339.112693] s1: entered promiscuous mode [ 339.127513] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 339.128194] br0: port 2(s1) entered blocking state [ 339.128450] br0: port 2(s1) entered forwarding state [ 339.244587] br0: port 3(c0) entered blocking state [ 339.245092] br0: port 3(c0) entered disabled state [ 339.245486] c0: entered allmulticast mode [ 339.245785] c0: entered promiscuous mode [ 339.262499] br0: port 3(c0) entered blocking state [ 339.262914] br0: port 3(c0) entered forwarding state [ 339.369290] bond0 (unregistering): (slave eth0): Releasing backup interface [ 339.374975] bond0 (unregistering): (slave eth1): Releasing backup interface [ 339.383773] bond0 (unregistering): Released all slaves [ 339.429507] bond0: (slave eth0): making interface the new active one [ 339.429993] bond0: (slave eth0): Enslaving as an active interface with an up link [ 339.442948] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 341.675730] 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 ] [ 354.293856] eth0: left promiscuous mode [ 354.309115] bond0 (unregistering): (slave eth0): Releasing backup interface [ 354.317054] bond0 (unregistering): (slave eth1): Releasing backup interface [ 354.322786] bond0 (unregistering): Released all slaves [ 354.323593] br0: port 1(s0) entered disabled state [ 354.323990] br0: port 2(s1) entered disabled state [ 354.372574] bond0: (slave eth0): making interface the new active one [ 354.373230] bond0: (slave eth0): Enslaving as an active interface with an up link [ 354.374143] br0: port 1(s0) entered blocking state [ 354.374531] br0: port 1(s0) entered forwarding state [ 354.389905] bond0: (slave eth1): Enslaving as an active interface with an up link [ 354.390608] br0: port 2(s1) entered blocking state [ 354.390889] br0: port 2(s1) entered forwarding state [ 355.907540] 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 ] [ 368.500412] eth0: left promiscuous mode [ 368.514914] bond0 (unregistering): (slave eth0): Releasing active interface [ 368.527906] bond0 (unregistering): (slave eth1): Releasing active interface [ 368.533799] bond0 (unregistering): Released all slaves [ 368.534685] br0: port 1(s0) entered disabled state [ 368.535077] br0: port 2(s1) entered disabled state [ 368.583165] bond0: (slave eth0): making interface the new active one [ 368.583599] bond0: (slave eth0): Enslaving as an active interface with an up link [ 368.584311] br0: port 1(s0) entered blocking state [ 368.584608] br0: port 1(s0) entered forwarding state [ 368.600905] bond0: (slave eth1): Enslaving as an active interface with an up link [ 368.601661] br0: port 2(s1) entered blocking state [ 368.601986] br0: port 2(s1) entered forwarding state [ 369.776438] 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 ] [ 382.407363] eth0: left promiscuous mode [ 382.456077] br0: port 3(c0) entered disabled state [ 382.456781] c0 (unregistering): left allmulticast mode [ 382.457057] c0 (unregistering): left promiscuous mode [ 382.457349] br0: port 3(c0) entered disabled state [ 382.526923] br0: port 1(s0) entered disabled state [ 382.527527] bond0: (slave eth0): Releasing active interface [ 382.527860] bond0: (slave eth0): the permanent HWaddr of slave - 92:ca:1d:dc:b1:87 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 382.528685] bond0: (slave eth1): making interface the new active one [ 382.539037] s0 (unregistering): left allmulticast mode [ 382.539367] s0 (unregistering): left promiscuous mode [ 382.539648] br0: port 1(s0) entered disabled state [ 382.564485] br0: port 2(s1) entered disabled state [ 382.564928] bond0: (slave eth1): Releasing active interface [ 382.573302] s1 (unregistering): left allmulticast mode [ 382.573753] s1 (unregistering): left promiscuous mode [ 382.574147] br0: port 2(s1) entered disabled state [ 382.598740] 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__->