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 [ 342.922713] br0: port 1(s0) entered blocking state [ 342.923012] br0: port 1(s0) entered disabled state [ 342.923275] s0: entered allmulticast mode [ 342.923555] s0: entered promiscuous mode [ 342.937757] bond0: (slave eth0): making interface the new active one [ 342.938298] bond0: (slave eth0): Enslaving as an active interface with an up link [ 342.938999] br0: port 1(s0) entered blocking state [ 342.939262] br0: port 1(s0) entered forwarding state [ 342.993591] br0: port 2(s1) entered blocking state [ 342.993941] br0: port 2(s1) entered disabled state [ 342.994197] s1: entered allmulticast mode [ 342.994486] s1: entered promiscuous mode [ 343.008472] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.009169] br0: port 2(s1) entered blocking state [ 343.009471] br0: port 2(s1) entered forwarding state [ 343.120134] br0: port 3(c0) entered blocking state [ 343.120436] br0: port 3(c0) entered disabled state [ 343.120696] c0: entered allmulticast mode [ 343.121018] c0: entered promiscuous mode [ 343.135130] br0: port 3(c0) entered blocking state [ 343.135417] br0: port 3(c0) entered forwarding state [ 343.229286] bond0 (unregistering): (slave eth0): Releasing backup interface [ 343.238988] bond0 (unregistering): (slave eth1): Releasing backup interface [ 343.244866] bond0 (unregistering): Released all slaves [ 343.286143] bond0: (slave eth0): making interface the new active one [ 343.286538] bond0: (slave eth0): Enslaving as an active interface with an up link [ 343.298861] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 344.887370] 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 ] [ 357.474195] eth0: left promiscuous mode [ 357.491395] bond0 (unregistering): (slave eth0): Releasing backup interface [ 357.502944] bond0 (unregistering): (slave eth1): Releasing backup interface [ 357.511882] bond0 (unregistering): Released all slaves [ 357.512741] br0: port 1(s0) entered disabled state [ 357.513149] br0: port 2(s1) entered disabled state [ 357.556599] bond0: (slave eth0): making interface the new active one [ 357.557027] bond0: (slave eth0): Enslaving as an active interface with an up link [ 357.557638] br0: port 1(s0) entered blocking state [ 357.557910] br0: port 1(s0) entered forwarding state [ 357.575243] bond0: (slave eth1): Enslaving as an active interface with an up link [ 357.576229] br0: port 2(s1) entered blocking state [ 357.576610] br0: port 2(s1) entered forwarding state [ 358.905742] 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 ] [ 371.510817] eth0: left promiscuous mode [ 371.527357] bond0 (unregistering): (slave eth0): Releasing active interface [ 371.538985] bond0 (unregistering): (slave eth1): Releasing active interface [ 371.547916] bond0 (unregistering): Released all slaves [ 371.549027] br0: port 1(s0) entered disabled state [ 371.549549] br0: port 2(s1) entered disabled state [ 371.604424] bond0: (slave eth0): making interface the new active one [ 371.604877] bond0: (slave eth0): Enslaving as an active interface with an up link [ 371.605520] br0: port 1(s0) entered blocking state [ 371.605793] br0: port 1(s0) entered forwarding state [ 371.621972] bond0: (slave eth1): Enslaving as an active interface with an up link [ 371.622629] br0: port 2(s1) entered blocking state [ 371.622981] br0: port 2(s1) entered forwarding state [ 372.985287] 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.620141] eth0: left promiscuous mode [ 385.659498] br0: port 3(c0) entered disabled state [ 385.660213] c0 (unregistering): left allmulticast mode [ 385.660493] c0 (unregistering): left promiscuous mode [ 385.660776] br0: port 3(c0) entered disabled state [ 385.722297] br0: port 1(s0) entered disabled state [ 385.723041] bond0: (slave eth0): Releasing active interface [ 385.723357] bond0: (slave eth0): the permanent HWaddr of slave - 1e:b5:f1:0d:45:b8 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 385.724232] bond0: (slave eth1): making interface the new active one [ 385.731265] s0 (unregistering): left allmulticast mode [ 385.731568] s0 (unregistering): left promiscuous mode [ 385.731844] br0: port 1(s0) entered disabled state [ 385.757560] br0: port 2(s1) entered disabled state [ 385.758028] bond0: (slave eth1): Releasing active interface [ 385.769271] s1 (unregistering): left allmulticast mode [ 385.769562] s1 (unregistering): left promiscuous mode [ 385.769866] br0: port 2(s1) entered disabled state [ 385.803626] 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__->