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.026503] br0: port 1(s0) entered blocking state [ 430.026949] br0: port 1(s0) entered disabled state [ 430.027320] s0: entered allmulticast mode [ 430.027725] s0: entered promiscuous mode [ 430.044166] bond0: (slave eth0): making interface the new active one [ 430.044738] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.045539] br0: port 1(s0) entered blocking state [ 430.045945] br0: port 1(s0) entered forwarding state [ 430.113293] br0: port 2(s1) entered blocking state [ 430.113729] br0: port 2(s1) entered disabled state [ 430.114204] s1: entered allmulticast mode [ 430.114655] s1: entered promiscuous mode [ 430.130025] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.130811] br0: port 2(s1) entered blocking state [ 430.131115] br0: port 2(s1) entered forwarding state [ 430.253685] br0: port 3(c0) entered blocking state [ 430.253996] br0: port 3(c0) entered disabled state [ 430.254263] c0: entered allmulticast mode [ 430.254554] c0: entered promiscuous mode [ 430.270127] br0: port 3(c0) entered blocking state [ 430.270416] br0: port 3(c0) entered forwarding state [ 430.375406] bond0 (unregistering): (slave eth0): Releasing backup interface [ 430.385151] bond0 (unregistering): (slave eth1): Releasing backup interface [ 430.391074] bond0 (unregistering): Released all slaves [ 430.441524] bond0: (slave eth0): making interface the new active one [ 430.441927] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.457501] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.947192] 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.545259] eth0: left promiscuous mode [ 445.561853] bond0 (unregistering): (slave eth0): Releasing backup interface [ 445.574177] bond0 (unregistering): (slave eth1): Releasing backup interface [ 445.583107] bond0 (unregistering): Released all slaves [ 445.584371] br0: port 1(s0) entered disabled state [ 445.585031] br0: port 2(s1) entered disabled state [ 445.631499] bond0: (slave eth0): making interface the new active one [ 445.632000] bond0: (slave eth0): Enslaving as an active interface with an up link [ 445.632674] br0: port 1(s0) entered blocking state [ 445.632968] br0: port 1(s0) entered forwarding state [ 445.646113] bond0: (slave eth1): Enslaving as an active interface with an up link [ 445.646753] br0: port 2(s1) entered blocking state [ 445.647033] br0: port 2(s1) entered forwarding state [ 447.108164] 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.706273] eth0: left promiscuous mode [ 459.723127] bond0 (unregistering): (slave eth0): Releasing active interface [ 459.736237] bond0 (unregistering): (slave eth1): Releasing active interface [ 459.742093] bond0 (unregistering): Released all slaves [ 459.743059] br0: port 1(s0) entered disabled state [ 459.743485] br0: port 2(s1) entered disabled state [ 459.792802] bond0: (slave eth0): making interface the new active one [ 459.793229] bond0: (slave eth0): Enslaving as an active interface with an up link [ 459.793906] br0: port 1(s0) entered blocking state [ 459.794182] br0: port 1(s0) entered forwarding state [ 459.807820] bond0: (slave eth1): Enslaving as an active interface with an up link [ 459.808670] br0: port 2(s1) entered blocking state [ 459.808959] br0: port 2(s1) entered forwarding state [ 461.342459] 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.973481] eth0: left promiscuous mode [ 474.020627] br0: port 3(c0) entered disabled state [ 474.021523] c0 (unregistering): left allmulticast mode [ 474.021954] c0 (unregistering): left promiscuous mode [ 474.022319] br0: port 3(c0) entered disabled state [ 474.088589] br0: port 1(s0) entered disabled state [ 474.089192] bond0: (slave eth0): Releasing active interface [ 474.089612] bond0: (slave eth0): the permanent HWaddr of slave - 22:8d:4c:77:8c:5b - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.090844] bond0: (slave eth1): making interface the new active one [ 474.099467] s0 (unregistering): left allmulticast mode [ 474.099920] s0 (unregistering): left promiscuous mode [ 474.100311] br0: port 1(s0) entered disabled state [ 474.124053] br0: port 2(s1) entered disabled state [ 474.124450] bond0: (slave eth1): Releasing active interface [ 474.135578] s1 (unregistering): left allmulticast mode [ 474.135935] s1 (unregistering): left promiscuous mode [ 474.136203] br0: port 2(s1) entered disabled state [ 474.160727] 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__->