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 [ 344.960431] br0: port 1(s0) entered blocking state [ 344.960813] br0: port 1(s0) entered disabled state [ 344.961213] s0: entered allmulticast mode [ 344.961689] s0: entered promiscuous mode [ 344.977256] bond0: (slave eth0): making interface the new active one [ 344.977642] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.978194] br0: port 1(s0) entered blocking state [ 344.978456] br0: port 1(s0) entered forwarding state [ 345.042174] br0: port 2(s1) entered blocking state [ 345.042488] br0: port 2(s1) entered disabled state [ 345.042749] s1: entered allmulticast mode [ 345.043086] s1: entered promiscuous mode [ 345.057635] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.058356] br0: port 2(s1) entered blocking state [ 345.058620] br0: port 2(s1) entered forwarding state [ 345.183430] br0: port 3(c0) entered blocking state [ 345.183712] br0: port 3(c0) entered disabled state [ 345.184113] c0: entered allmulticast mode [ 345.184404] c0: entered promiscuous mode [ 345.199777] br0: port 3(c0) entered blocking state [ 345.200078] br0: port 3(c0) entered forwarding state [ 345.305673] bond0 (unregistering): (slave eth0): Releasing backup interface [ 345.311108] bond0 (unregistering): (slave eth1): Releasing backup interface [ 345.318983] bond0 (unregistering): Released all slaves [ 345.368300] bond0: (slave eth0): making interface the new active one [ 345.368703] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.385306] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 347.633719] 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 ] [ 360.189371] eth0: left promiscuous mode [ 360.201915] bond0 (unregistering): (slave eth0): Releasing backup interface [ 360.211119] bond0 (unregistering): (slave eth1): Releasing backup interface [ 360.216974] bond0 (unregistering): Released all slaves [ 360.217898] br0: port 1(s0) entered disabled state [ 360.218281] br0: port 2(s1) entered disabled state [ 360.260626] bond0: (slave eth0): making interface the new active one [ 360.261058] bond0: (slave eth0): Enslaving as an active interface with an up link [ 360.261739] br0: port 1(s0) entered blocking state [ 360.262057] br0: port 1(s0) entered forwarding state [ 360.275070] bond0: (slave eth1): Enslaving as an active interface with an up link [ 360.275788] br0: port 2(s1) entered blocking state [ 360.276080] br0: port 2(s1) entered forwarding state [ 362.283468] 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 ] [ 374.833850] eth0: left promiscuous mode [ 374.848503] bond0 (unregistering): (slave eth0): Releasing active interface [ 374.861029] bond0 (unregistering): (slave eth1): Releasing active interface [ 374.870050] bond0 (unregistering): Released all slaves [ 374.871281] br0: port 1(s0) entered disabled state [ 374.871806] br0: port 2(s1) entered disabled state [ 374.920679] bond0: (slave eth0): making interface the new active one [ 374.921096] bond0: (slave eth0): Enslaving as an active interface with an up link [ 374.921751] br0: port 1(s0) entered blocking state [ 374.922048] br0: port 1(s0) entered forwarding state [ 374.938194] bond0: (slave eth1): Enslaving as an active interface with an up link [ 374.939195] br0: port 2(s1) entered blocking state [ 374.939591] br0: port 2(s1) entered forwarding state [ 376.147261] 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 ] [ 388.806480] eth0: left promiscuous mode [ 388.855009] br0: port 3(c0) entered disabled state [ 388.855650] c0 (unregistering): left allmulticast mode [ 388.855949] c0 (unregistering): left promiscuous mode [ 388.856214] br0: port 3(c0) entered disabled state [ 388.923013] br0: port 1(s0) entered disabled state [ 388.923415] bond0: (slave eth0): Releasing active interface [ 388.923715] bond0: (slave eth0): the permanent HWaddr of slave - ce:d3:97:07:b6:08 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 388.924678] bond0: (slave eth1): making interface the new active one [ 388.939414] s0 (unregistering): left allmulticast mode [ 388.939862] s0 (unregistering): left promiscuous mode [ 388.940268] br0: port 1(s0) entered disabled state [ 388.964194] br0: port 2(s1) entered disabled state [ 388.964582] bond0: (slave eth1): Releasing active interface [ 388.978315] s1 (unregistering): left allmulticast mode [ 388.978655] s1 (unregistering): left promiscuous mode [ 388.978943] br0: port 2(s1) entered disabled state [ 389.002374] 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__->