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 [ 343.964642] br0: port 1(s0) entered blocking state [ 343.964981] br0: port 1(s0) entered disabled state [ 343.965273] s0: entered allmulticast mode [ 343.965736] s0: entered promiscuous mode [ 343.979392] bond0: (slave eth0): making interface the new active one [ 343.979777] bond0: (slave eth0): Enslaving as an active interface with an up link [ 343.980312] br0: port 1(s0) entered blocking state [ 343.980580] br0: port 1(s0) entered forwarding state [ 344.037505] br0: port 2(s1) entered blocking state [ 344.037849] br0: port 2(s1) entered disabled state [ 344.038183] s1: entered allmulticast mode [ 344.038491] s1: entered promiscuous mode [ 344.052364] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 344.053033] br0: port 2(s1) entered blocking state [ 344.053311] br0: port 2(s1) entered forwarding state [ 344.168972] br0: port 3(c0) entered blocking state [ 344.169261] br0: port 3(c0) entered disabled state [ 344.169529] c0: entered allmulticast mode [ 344.169820] c0: entered promiscuous mode [ 344.184052] br0: port 3(c0) entered blocking state [ 344.184346] br0: port 3(c0) entered forwarding state [ 344.287227] bond0 (unregistering): (slave eth0): Releasing backup interface [ 344.295138] bond0 (unregistering): (slave eth1): Releasing backup interface [ 344.301062] bond0 (unregistering): Released all slaves [ 344.346954] bond0: (slave eth0): making interface the new active one [ 344.347327] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.362080] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.806196] 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 ] [ 359.397615] eth0: left promiscuous mode [ 359.411863] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.421294] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.427011] bond0 (unregistering): Released all slaves [ 359.427784] br0: port 1(s0) entered disabled state [ 359.428176] br0: port 2(s1) entered disabled state [ 359.474872] bond0: (slave eth0): making interface the new active one [ 359.475561] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.476201] br0: port 1(s0) entered blocking state [ 359.476462] br0: port 1(s0) entered forwarding state [ 359.489527] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.490197] br0: port 2(s1) entered blocking state [ 359.490459] br0: port 2(s1) entered forwarding state [ 360.768344] 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 ] [ 373.337607] eth0: left promiscuous mode [ 373.353277] bond0 (unregistering): (slave eth0): Releasing active interface [ 373.361140] bond0 (unregistering): (slave eth1): Releasing active interface [ 373.369059] bond0 (unregistering): Released all slaves [ 373.369926] br0: port 1(s0) entered disabled state [ 373.370301] br0: port 2(s1) entered disabled state [ 373.422650] bond0: (slave eth0): making interface the new active one [ 373.423052] bond0: (slave eth0): Enslaving as an active interface with an up link [ 373.423705] br0: port 1(s0) entered blocking state [ 373.423979] br0: port 1(s0) entered forwarding state [ 373.437626] bond0: (slave eth1): Enslaving as an active interface with an up link [ 373.438341] br0: port 2(s1) entered blocking state [ 373.438610] br0: port 2(s1) entered forwarding state [ 375.171518] 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 ] [ 387.827493] eth0: left promiscuous mode [ 387.881932] br0: port 3(c0) entered disabled state [ 387.883065] c0 (unregistering): left allmulticast mode [ 387.883479] c0 (unregistering): left promiscuous mode [ 387.883860] br0: port 3(c0) entered disabled state [ 387.949957] br0: port 1(s0) entered disabled state [ 387.950417] bond0: (slave eth0): Releasing active interface [ 387.950737] bond0: (slave eth0): the permanent HWaddr of slave - ee:9c:b3:6a:43:bc - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 387.951644] bond0: (slave eth1): making interface the new active one [ 387.962297] s0 (unregistering): left allmulticast mode [ 387.962630] s0 (unregistering): left promiscuous mode [ 387.962936] br0: port 1(s0) entered disabled state [ 387.988362] br0: port 2(s1) entered disabled state [ 387.988969] bond0: (slave eth1): Releasing active interface [ 387.998659] s1 (unregistering): left allmulticast mode [ 387.999113] s1 (unregistering): left promiscuous mode [ 387.999503] br0: port 2(s1) entered disabled state [ 388.023086] 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__->