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 [ 752.213294] br0: port 1(s0) entered blocking state [ 752.213575] br0: port 1(s0) entered disabled state [ 752.213873] s0: entered allmulticast mode [ 752.214178] s0: entered promiscuous mode [ 752.225275] bond0: (slave eth0): making interface the new active one [ 752.225730] bond0: (slave eth0): Enslaving as an active interface with an up link [ 752.226374] br0: port 1(s0) entered blocking state [ 752.226644] br0: port 1(s0) entered forwarding state [ 752.272093] br0: port 2(s1) entered blocking state [ 752.272376] br0: port 2(s1) entered disabled state [ 752.272639] s1: entered allmulticast mode [ 752.272917] s1: entered promiscuous mode [ 752.283205] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 752.283851] br0: port 2(s1) entered blocking state [ 752.284104] br0: port 2(s1) entered forwarding state [ 754.436059] br0: port 3(c0) entered blocking state [ 754.436483] br0: port 3(c0) entered disabled state [ 754.436883] c0: entered allmulticast mode [ 754.437313] c0: entered promiscuous mode [ 754.461455] br0: port 3(c0) entered blocking state [ 754.461871] br0: port 3(c0) entered forwarding state [ 754.653344] bond0 (unregistering): (slave eth0): Releasing backup interface [ 754.662941] bond0 (unregistering): (slave eth1): Releasing backup interface [ 754.668862] bond0 (unregistering): Released all slaves [ 754.734964] bond0: (slave eth0): making interface the new active one [ 754.735565] bond0: (slave eth0): Enslaving as an active interface with an up link [ 754.761832] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 756.979648] 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 ] [ 770.568968] eth0: left promiscuous mode [ 770.632055] bond0 (unregistering): (slave eth0): Releasing backup interface [ 770.646898] bond0 (unregistering): (slave eth1): Releasing backup interface [ 770.654896] bond0 (unregistering): Released all slaves [ 770.656355] br0: port 1(s0) entered disabled state [ 770.659136] br0: port 2(s1) entered disabled state [ 770.775155] bond0: (slave eth0): making interface the new active one [ 770.777390] bond0: (slave eth0): Enslaving as an active interface with an up link [ 770.778483] br0: port 1(s0) entered blocking state [ 770.778925] br0: port 1(s0) entered forwarding state [ 770.827734] bond0: (slave eth1): Enslaving as an active interface with an up link [ 770.828458] br0: port 2(s1) entered blocking state [ 770.828897] br0: port 2(s1) entered forwarding state [ 773.112651] 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 ] [ 786.490865] eth0: left promiscuous mode [ 786.506230] bond0 (unregistering): (slave eth0): Releasing active interface [ 786.517925] bond0 (unregistering): (slave eth1): Releasing active interface [ 786.526844] bond0 (unregistering): Released all slaves [ 786.528254] br0: port 1(s0) entered disabled state [ 786.528819] br0: port 2(s1) entered disabled state [ 786.574966] bond0: (slave eth0): making interface the new active one [ 786.575356] bond0: (slave eth0): Enslaving as an active interface with an up link [ 786.575824] br0: port 1(s0) entered blocking state [ 786.576088] br0: port 1(s0) entered forwarding state [ 786.589868] bond0: (slave eth1): Enslaving as an active interface with an up link [ 786.590830] br0: port 2(s1) entered blocking state [ 786.591193] br0: port 2(s1) entered forwarding state [ 788.688990] 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 ] [ 801.247904] eth0: left promiscuous mode [ 801.283825] br0: port 3(c0) entered disabled state [ 801.284943] c0 (unregistering): left allmulticast mode [ 801.285368] c0 (unregistering): left promiscuous mode [ 801.285761] br0: port 3(c0) entered disabled state [ 801.343025] br0: port 1(s0) entered disabled state [ 801.343461] bond0: (slave eth0): Releasing active interface [ 801.343788] bond0: (slave eth0): the permanent HWaddr of slave - 36:e7:f6:07:4d:a5 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 801.344599] bond0: (slave eth1): making interface the new active one [ 801.354038] s0 (unregistering): left allmulticast mode [ 801.354320] s0 (unregistering): left promiscuous mode [ 801.354608] br0: port 1(s0) entered disabled state [ 801.378231] br0: port 2(s1) entered disabled state [ 801.378637] bond0: (slave eth1): Releasing active interface [ 801.391136] s1 (unregistering): left allmulticast mode [ 801.391421] s1 (unregistering): left promiscuous mode [ 801.391696] br0: port 2(s1) entered disabled state [ 801.442323] 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__->