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 [ 430.554983] br0: port 1(s0) entered blocking state [ 430.555344] br0: port 1(s0) entered disabled state [ 430.555663] s0: entered allmulticast mode [ 430.556053] s0: entered promiscuous mode [ 430.574479] bond0: (slave eth0): making interface the new active one [ 430.574937] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.575743] br0: port 1(s0) entered blocking state [ 430.576057] br0: port 1(s0) entered forwarding state [ 430.653985] br0: port 2(s1) entered blocking state [ 430.654414] br0: port 2(s1) entered disabled state [ 430.654837] s1: entered allmulticast mode [ 430.655284] s1: entered promiscuous mode [ 430.674308] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.675052] br0: port 2(s1) entered blocking state [ 430.675324] br0: port 2(s1) entered forwarding state [ 430.818586] br0: port 3(c0) entered blocking state [ 430.818954] br0: port 3(c0) entered disabled state [ 430.819236] c0: entered allmulticast mode [ 430.819629] c0: entered promiscuous mode [ 430.837154] br0: port 3(c0) entered blocking state [ 430.837452] br0: port 3(c0) entered forwarding state [ 430.945272] bond0 (unregistering): (slave eth0): Releasing backup interface [ 430.953058] bond0 (unregistering): (slave eth1): Releasing backup interface [ 430.958966] bond0 (unregistering): Released all slaves [ 431.018434] bond0: (slave eth0): making interface the new active one [ 431.018864] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.037501] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.763474] 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 ] [ 445.422368] eth0: left promiscuous mode [ 445.441715] bond0 (unregistering): (slave eth0): Releasing backup interface [ 445.453091] bond0 (unregistering): (slave eth1): Releasing backup interface [ 445.461021] bond0 (unregistering): Released all slaves [ 445.462301] br0: port 1(s0) entered disabled state [ 445.462957] br0: port 2(s1) entered disabled state [ 445.516688] bond0: (slave eth0): making interface the new active one [ 445.517263] bond0: (slave eth0): Enslaving as an active interface with an up link [ 445.518268] br0: port 1(s0) entered blocking state [ 445.518652] br0: port 1(s0) entered forwarding state [ 445.533458] bond0: (slave eth1): Enslaving as an active interface with an up link [ 445.534153] br0: port 2(s1) entered blocking state [ 445.534426] br0: port 2(s1) entered forwarding state [ 447.335490] 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 ] [ 459.982697] eth0: left promiscuous mode [ 459.999043] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.010099] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.015967] bond0 (unregistering): Released all slaves [ 460.016870] br0: port 1(s0) entered disabled state [ 460.017294] br0: port 2(s1) entered disabled state [ 460.071582] bond0: (slave eth0): making interface the new active one [ 460.072184] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.073122] br0: port 1(s0) entered blocking state [ 460.073525] br0: port 1(s0) entered forwarding state [ 460.090046] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.090701] br0: port 2(s1) entered blocking state [ 460.091091] br0: port 2(s1) entered forwarding state [ 461.423546] 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 ] [ 474.143055] eth0: left promiscuous mode [ 474.186557] br0: port 3(c0) entered disabled state [ 474.187268] c0 (unregistering): left allmulticast mode [ 474.187555] c0 (unregistering): left promiscuous mode [ 474.187859] br0: port 3(c0) entered disabled state [ 474.252884] br0: port 1(s0) entered disabled state [ 474.253328] bond0: (slave eth0): Releasing active interface [ 474.253654] bond0: (slave eth0): the permanent HWaddr of slave - 72:d1:2f:c7:ea:70 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.254572] bond0: (slave eth1): making interface the new active one [ 474.267193] s0 (unregistering): left allmulticast mode [ 474.267501] s0 (unregistering): left promiscuous mode [ 474.267806] br0: port 1(s0) entered disabled state [ 474.290320] br0: port 2(s1) entered disabled state [ 474.290871] bond0: (slave eth1): Releasing active interface [ 474.299426] s1 (unregistering): left allmulticast mode [ 474.299755] s1 (unregistering): left promiscuous mode [ 474.300070] br0: port 2(s1) entered disabled state [ 474.324193] 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__->