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 [ 429.963125] br0: port 1(s0) entered blocking state [ 429.963543] br0: port 1(s0) entered disabled state [ 429.963956] s0: entered allmulticast mode [ 429.964395] s0: entered promiscuous mode [ 429.978815] bond0: (slave eth0): making interface the new active one [ 429.979189] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.979894] br0: port 1(s0) entered blocking state [ 429.980218] br0: port 1(s0) entered forwarding state [ 430.036715] br0: port 2(s1) entered blocking state [ 430.037087] br0: port 2(s1) entered disabled state [ 430.037372] s1: entered allmulticast mode [ 430.037668] s1: entered promiscuous mode [ 430.051177] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.051894] br0: port 2(s1) entered blocking state [ 430.052170] br0: port 2(s1) entered forwarding state [ 430.169837] br0: port 3(c0) entered blocking state [ 430.170149] br0: port 3(c0) entered disabled state [ 430.170417] c0: entered allmulticast mode [ 430.170715] c0: entered promiscuous mode [ 430.186640] br0: port 3(c0) entered blocking state [ 430.186940] br0: port 3(c0) entered forwarding state [ 430.284243] bond0 (unregistering): (slave eth0): Releasing backup interface [ 430.290931] bond0 (unregistering): (slave eth1): Releasing backup interface [ 430.296910] bond0 (unregistering): Released all slaves [ 430.346377] bond0: (slave eth0): making interface the new active one [ 430.346783] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.360643] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.291656] 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 ] [ 444.900368] eth0: left promiscuous mode [ 444.914681] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.930000] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.937910] bond0 (unregistering): Released all slaves [ 444.938619] br0: port 1(s0) entered disabled state [ 444.939017] br0: port 2(s1) entered disabled state [ 444.986655] bond0: (slave eth0): making interface the new active one [ 444.987196] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.988033] br0: port 1(s0) entered blocking state [ 444.988392] br0: port 1(s0) entered forwarding state [ 445.002217] bond0: (slave eth1): Enslaving as an active interface with an up link [ 445.002926] br0: port 2(s1) entered blocking state [ 445.003214] br0: port 2(s1) entered forwarding state [ 446.453213] 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.005953] eth0: left promiscuous mode [ 459.021247] bond0 (unregistering): (slave eth0): Releasing active interface [ 459.033020] bond0 (unregistering): (slave eth1): Releasing active interface [ 459.040890] bond0 (unregistering): Released all slaves [ 459.041636] br0: port 1(s0) entered disabled state [ 459.042017] br0: port 2(s1) entered disabled state [ 459.084133] bond0: (slave eth0): making interface the new active one [ 459.084549] bond0: (slave eth0): Enslaving as an active interface with an up link [ 459.085300] br0: port 1(s0) entered blocking state [ 459.085567] br0: port 1(s0) entered forwarding state [ 459.098907] bond0: (slave eth1): Enslaving as an active interface with an up link [ 459.099542] br0: port 2(s1) entered blocking state [ 459.099828] br0: port 2(s1) entered forwarding state [ 460.550713] 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 ] [ 473.138596] eth0: left promiscuous mode [ 473.175902] br0: port 3(c0) entered disabled state [ 473.176535] c0 (unregistering): left allmulticast mode [ 473.176850] c0 (unregistering): left promiscuous mode [ 473.177115] br0: port 3(c0) entered disabled state [ 473.236539] br0: port 1(s0) entered disabled state [ 473.237111] bond0: (slave eth0): Releasing active interface [ 473.237519] bond0: (slave eth0): the permanent HWaddr of slave - da:7f:1e:01:66:f8 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 473.238677] bond0: (slave eth1): making interface the new active one [ 473.249164] s0 (unregistering): left allmulticast mode [ 473.249463] s0 (unregistering): left promiscuous mode [ 473.249760] br0: port 1(s0) entered disabled state [ 473.275683] br0: port 2(s1) entered disabled state [ 473.276197] bond0: (slave eth1): Releasing active interface [ 473.287170] s1 (unregistering): left allmulticast mode [ 473.287455] s1 (unregistering): left promiscuous mode [ 473.287718] br0: port 2(s1) entered disabled state [ 473.311189] 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__->