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 [ 428.997425] br0: port 1(s0) entered blocking state [ 428.997887] br0: port 1(s0) entered disabled state [ 428.998278] s0: entered allmulticast mode [ 428.998725] s0: entered promiscuous mode [ 429.017329] bond0: (slave eth0): making interface the new active one [ 429.017884] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.018905] br0: port 1(s0) entered blocking state [ 429.019283] br0: port 1(s0) entered forwarding state [ 429.084145] br0: port 2(s1) entered blocking state [ 429.084437] br0: port 2(s1) entered disabled state [ 429.084736] s1: entered allmulticast mode [ 429.085117] s1: entered promiscuous mode [ 429.099639] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 429.100696] br0: port 2(s1) entered blocking state [ 429.101001] br0: port 2(s1) entered forwarding state [ 429.236114] br0: port 3(c0) entered blocking state [ 429.236533] br0: port 3(c0) entered disabled state [ 429.237042] c0: entered allmulticast mode [ 429.237482] c0: entered promiscuous mode [ 429.256690] br0: port 3(c0) entered blocking state [ 429.257138] br0: port 3(c0) entered forwarding state [ 429.358367] bond0 (unregistering): (slave eth0): Releasing backup interface [ 429.367053] bond0 (unregistering): (slave eth1): Releasing backup interface [ 429.372924] bond0 (unregistering): Released all slaves [ 429.417050] bond0: (slave eth0): making interface the new active one [ 429.417452] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.431440] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.764283] 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 ] [ 443.387075] eth0: left promiscuous mode [ 443.403197] bond0 (unregistering): (slave eth0): Releasing backup interface [ 443.416083] bond0 (unregistering): (slave eth1): Releasing backup interface [ 443.425007] bond0 (unregistering): Released all slaves [ 443.425851] br0: port 1(s0) entered disabled state [ 443.426258] br0: port 2(s1) entered disabled state [ 443.481125] bond0: (slave eth0): making interface the new active one [ 443.481707] bond0: (slave eth0): Enslaving as an active interface with an up link [ 443.482695] br0: port 1(s0) entered blocking state [ 443.483096] br0: port 1(s0) entered forwarding state [ 443.500568] bond0: (slave eth1): Enslaving as an active interface with an up link [ 443.501563] br0: port 2(s1) entered blocking state [ 443.501985] br0: port 2(s1) entered forwarding state [ 445.460209] 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 ] [ 458.085085] eth0: left promiscuous mode [ 458.102128] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.112110] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.117911] bond0 (unregistering): Released all slaves [ 458.118675] br0: port 1(s0) entered disabled state [ 458.119094] br0: port 2(s1) entered disabled state [ 458.168954] bond0: (slave eth0): making interface the new active one [ 458.169531] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.170380] br0: port 1(s0) entered blocking state [ 458.170779] br0: port 1(s0) entered forwarding state [ 458.185556] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.186369] br0: port 2(s1) entered blocking state [ 458.186718] br0: port 2(s1) entered forwarding state [ 459.382813] 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 ] [ 471.979066] eth0: left promiscuous mode [ 472.021370] br0: port 3(c0) entered disabled state [ 472.022134] c0 (unregistering): left allmulticast mode [ 472.022470] c0 (unregistering): left promiscuous mode [ 472.022735] br0: port 3(c0) entered disabled state [ 472.094047] br0: port 1(s0) entered disabled state [ 472.094485] bond0: (slave eth0): Releasing active interface [ 472.094836] bond0: (slave eth0): the permanent HWaddr of slave - 56:79:e8:6d:05:3f - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.095680] bond0: (slave eth1): making interface the new active one [ 472.103153] s0 (unregistering): left allmulticast mode [ 472.103473] s0 (unregistering): left promiscuous mode [ 472.103796] br0: port 1(s0) entered disabled state [ 472.126983] br0: port 2(s1) entered disabled state [ 472.127700] bond0: (slave eth1): Releasing active interface [ 472.139267] s1 (unregistering): left allmulticast mode [ 472.139611] s1 (unregistering): left promiscuous mode [ 472.139897] br0: port 2(s1) entered disabled state [ 472.162500] 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__->