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 [ 346.141747] br0: port 1(s0) entered blocking state [ 346.142175] br0: port 1(s0) entered disabled state [ 346.142557] s0: entered allmulticast mode [ 346.142977] s0: entered promiscuous mode [ 346.159831] bond0: (slave eth0): making interface the new active one [ 346.160489] bond0: (slave eth0): Enslaving as an active interface with an up link [ 346.161586] br0: port 1(s0) entered blocking state [ 346.161983] br0: port 1(s0) entered forwarding state [ 346.233531] br0: port 2(s1) entered blocking state [ 346.233943] br0: port 2(s1) entered disabled state [ 346.234325] s1: entered allmulticast mode [ 346.234736] s1: entered promiscuous mode [ 346.250272] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.251003] br0: port 2(s1) entered blocking state [ 346.251312] br0: port 2(s1) entered forwarding state [ 346.381413] br0: port 3(c0) entered blocking state [ 346.381833] br0: port 3(c0) entered disabled state [ 346.382252] c0: entered allmulticast mode [ 346.382681] c0: entered promiscuous mode [ 346.400341] br0: port 3(c0) entered blocking state [ 346.400751] br0: port 3(c0) entered forwarding state [ 346.512581] bond0 (unregistering): (slave eth0): Releasing backup interface [ 346.523303] bond0 (unregistering): (slave eth1): Releasing backup interface [ 346.529211] bond0 (unregistering): Released all slaves [ 346.587930] bond0: (slave eth0): making interface the new active one [ 346.588341] bond0: (slave eth0): Enslaving as an active interface with an up link [ 346.605538] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 348.123600] 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.768491] eth0: left promiscuous mode [ 360.783502] bond0 (unregistering): (slave eth0): Releasing backup interface [ 360.792319] bond0 (unregistering): (slave eth1): Releasing backup interface [ 360.798248] bond0 (unregistering): Released all slaves [ 360.799178] br0: port 1(s0) entered disabled state [ 360.799577] br0: port 2(s1) entered disabled state [ 360.851465] bond0: (slave eth0): making interface the new active one [ 360.852037] bond0: (slave eth0): Enslaving as an active interface with an up link [ 360.852973] br0: port 1(s0) entered blocking state [ 360.853370] br0: port 1(s0) entered forwarding state [ 360.868815] bond0: (slave eth1): Enslaving as an active interface with an up link [ 360.869382] br0: port 2(s1) entered blocking state [ 360.869641] br0: port 2(s1) entered forwarding state [ 362.671714] 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 ] [ 375.325341] eth0: left promiscuous mode [ 375.343005] bond0 (unregistering): (slave eth0): Releasing active interface [ 375.354362] bond0 (unregistering): (slave eth1): Releasing active interface [ 375.363276] bond0 (unregistering): Released all slaves [ 375.364607] br0: port 1(s0) entered disabled state [ 375.365169] br0: port 2(s1) entered disabled state [ 375.416878] bond0: (slave eth0): making interface the new active one [ 375.417474] bond0: (slave eth0): Enslaving as an active interface with an up link [ 375.418111] br0: port 1(s0) entered blocking state [ 375.418509] br0: port 1(s0) entered forwarding state [ 375.432352] bond0: (slave eth1): Enslaving as an active interface with an up link [ 375.433071] br0: port 2(s1) entered blocking state [ 375.433353] br0: port 2(s1) entered forwarding state [ 376.967245] 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 ] [ 389.610651] eth0: left promiscuous mode [ 389.655185] br0: port 3(c0) entered disabled state [ 389.656254] c0 (unregistering): left allmulticast mode [ 389.656665] c0 (unregistering): left promiscuous mode [ 389.657131] br0: port 3(c0) entered disabled state [ 389.731219] br0: port 1(s0) entered disabled state [ 389.731799] bond0: (slave eth0): Releasing active interface [ 389.732126] bond0: (slave eth0): the permanent HWaddr of slave - a6:09:36:e6:be:2c - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 389.732950] bond0: (slave eth1): making interface the new active one [ 389.742439] s0 (unregistering): left allmulticast mode [ 389.742774] s0 (unregistering): left promiscuous mode [ 389.743109] br0: port 1(s0) entered disabled state [ 389.768888] br0: port 2(s1) entered disabled state [ 389.769416] bond0: (slave eth1): Releasing active interface [ 389.778651] s1 (unregistering): left allmulticast mode [ 389.778959] s1 (unregistering): left promiscuous mode [ 389.779256] br0: port 2(s1) entered disabled state [ 389.804574] 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__->