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 [ 427.981391] br0: port 1(s0) entered blocking state [ 427.981837] br0: port 1(s0) entered disabled state [ 427.982227] s0: entered allmulticast mode [ 427.982674] s0: entered promiscuous mode [ 427.996150] bond0: (slave eth0): making interface the new active one [ 427.996603] bond0: (slave eth0): Enslaving as an active interface with an up link [ 427.997276] br0: port 1(s0) entered blocking state [ 427.997548] br0: port 1(s0) entered forwarding state [ 428.052155] br0: port 2(s1) entered blocking state [ 428.052461] br0: port 2(s1) entered disabled state [ 428.052778] s1: entered allmulticast mode [ 428.053063] s1: entered promiscuous mode [ 428.064788] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.065442] br0: port 2(s1) entered blocking state [ 428.065712] br0: port 2(s1) entered forwarding state [ 428.173242] br0: port 3(c0) entered blocking state [ 428.173639] br0: port 3(c0) entered disabled state [ 428.173905] c0: entered allmulticast mode [ 428.174190] c0: entered promiscuous mode [ 428.189908] br0: port 3(c0) entered blocking state [ 428.190224] br0: port 3(c0) entered forwarding state [ 428.279930] bond0 (unregistering): (slave eth0): Releasing backup interface [ 428.291829] bond0 (unregistering): (slave eth1): Releasing backup interface [ 428.297690] bond0 (unregistering): Released all slaves [ 428.346640] bond0: (slave eth0): making interface the new active one [ 428.347038] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.363005] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 429.807701] 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 ] [ 442.411133] eth0: left promiscuous mode [ 442.427248] bond0 (unregistering): (slave eth0): Releasing backup interface [ 442.438815] bond0 (unregistering): (slave eth1): Releasing backup interface [ 442.447712] bond0 (unregistering): Released all slaves [ 442.448416] br0: port 1(s0) entered disabled state [ 442.448862] br0: port 2(s1) entered disabled state [ 442.492470] bond0: (slave eth0): making interface the new active one [ 442.492885] bond0: (slave eth0): Enslaving as an active interface with an up link [ 442.493512] br0: port 1(s0) entered blocking state [ 442.493807] br0: port 1(s0) entered forwarding state [ 442.508108] bond0: (slave eth1): Enslaving as an active interface with an up link [ 442.508819] br0: port 2(s1) entered blocking state [ 442.509090] br0: port 2(s1) entered forwarding state [ 444.143763] 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 ] [ 456.743653] eth0: left promiscuous mode [ 456.758208] bond0 (unregistering): (slave eth0): Releasing active interface [ 456.764842] bond0 (unregistering): (slave eth1): Releasing active interface [ 456.779728] bond0 (unregistering): Released all slaves [ 456.780454] br0: port 1(s0) entered disabled state [ 456.780838] br0: port 2(s1) entered disabled state [ 456.824526] bond0: (slave eth0): making interface the new active one [ 456.825139] bond0: (slave eth0): Enslaving as an active interface with an up link [ 456.826192] br0: port 1(s0) entered blocking state [ 456.826603] br0: port 1(s0) entered forwarding state [ 456.839353] bond0: (slave eth1): Enslaving as an active interface with an up link [ 456.840017] br0: port 2(s1) entered blocking state [ 456.840285] br0: port 2(s1) entered forwarding state [ 458.290991] 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 ] [ 470.943277] eth0: left promiscuous mode [ 470.990062] br0: port 3(c0) entered disabled state [ 470.990991] c0 (unregistering): left allmulticast mode [ 470.991387] c0 (unregistering): left promiscuous mode [ 470.991807] br0: port 3(c0) entered disabled state [ 471.059693] br0: port 1(s0) entered disabled state [ 471.060283] bond0: (slave eth0): Releasing active interface [ 471.060745] bond0: (slave eth0): the permanent HWaddr of slave - 9e:b4:e9:64:10:e0 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 471.061975] bond0: (slave eth1): making interface the new active one [ 471.076111] s0 (unregistering): left allmulticast mode [ 471.076546] s0 (unregistering): left promiscuous mode [ 471.076966] br0: port 1(s0) entered disabled state [ 471.101152] br0: port 2(s1) entered disabled state [ 471.101803] bond0: (slave eth1): Releasing active interface [ 471.110248] s1 (unregistering): left allmulticast mode [ 471.110705] s1 (unregistering): left promiscuous mode [ 471.111109] br0: port 2(s1) entered disabled state [ 471.136238] 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__->