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 [ 337.918000] br0: port 1(s0) entered blocking state [ 337.918313] br0: port 1(s0) entered disabled state [ 337.918605] s0: entered allmulticast mode [ 337.918919] s0: entered promiscuous mode [ 337.934366] bond0: (slave eth0): making interface the new active one [ 337.934850] bond0: (slave eth0): Enslaving as an active interface with an up link [ 337.935447] br0: port 1(s0) entered blocking state [ 337.935743] br0: port 1(s0) entered forwarding state [ 337.995585] br0: port 2(s1) entered blocking state [ 337.995990] br0: port 2(s1) entered disabled state [ 337.996337] s1: entered allmulticast mode [ 337.996739] s1: entered promiscuous mode [ 338.013504] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 338.014201] br0: port 2(s1) entered blocking state [ 338.014481] br0: port 2(s1) entered forwarding state [ 338.131228] br0: port 3(c0) entered blocking state [ 338.131608] br0: port 3(c0) entered disabled state [ 338.131923] c0: entered allmulticast mode [ 338.132216] c0: entered promiscuous mode [ 338.150148] br0: port 3(c0) entered blocking state [ 338.150543] br0: port 3(c0) entered forwarding state [ 338.250705] bond0 (unregistering): (slave eth0): Releasing backup interface [ 338.259918] bond0 (unregistering): (slave eth1): Releasing backup interface [ 338.265801] bond0 (unregistering): Released all slaves [ 338.321080] bond0: (slave eth0): making interface the new active one [ 338.321591] bond0: (slave eth0): Enslaving as an active interface with an up link [ 338.336476] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 340.276275] 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 ] [ 352.854662] eth0: left promiscuous mode [ 352.870799] bond0 (unregistering): (slave eth0): Releasing backup interface [ 352.880993] bond0 (unregistering): (slave eth1): Releasing backup interface [ 352.886781] bond0 (unregistering): Released all slaves [ 352.887701] br0: port 1(s0) entered disabled state [ 352.888129] br0: port 2(s1) entered disabled state [ 352.942509] bond0: (slave eth0): making interface the new active one [ 352.943113] bond0: (slave eth0): Enslaving as an active interface with an up link [ 352.944087] br0: port 1(s0) entered blocking state [ 352.944457] br0: port 1(s0) entered forwarding state [ 352.959901] bond0: (slave eth1): Enslaving as an active interface with an up link [ 352.960597] br0: port 2(s1) entered blocking state [ 352.960869] br0: port 2(s1) entered forwarding state [ 354.264991] 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 ] [ 366.841127] eth0: left promiscuous mode [ 366.858156] bond0 (unregistering): (slave eth0): Releasing active interface [ 366.869948] bond0 (unregistering): (slave eth1): Releasing active interface [ 366.878849] bond0 (unregistering): Released all slaves [ 366.880159] br0: port 1(s0) entered disabled state [ 366.880713] br0: port 2(s1) entered disabled state [ 366.929320] bond0: (slave eth0): making interface the new active one [ 366.929729] bond0: (slave eth0): Enslaving as an active interface with an up link [ 366.930448] br0: port 1(s0) entered blocking state [ 366.930719] br0: port 1(s0) entered forwarding state [ 366.948315] bond0: (slave eth1): Enslaving as an active interface with an up link [ 366.949299] br0: port 2(s1) entered blocking state [ 366.949704] br0: port 2(s1) entered forwarding state [ 368.418374] 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 ] [ 381.028477] eth0: left promiscuous mode [ 381.077596] br0: port 3(c0) entered disabled state [ 381.078248] c0 (unregistering): left allmulticast mode [ 381.078528] c0 (unregistering): left promiscuous mode [ 381.078845] br0: port 3(c0) entered disabled state [ 381.157439] br0: port 1(s0) entered disabled state [ 381.158174] bond0: (slave eth0): Releasing active interface [ 381.158606] bond0: (slave eth0): the permanent HWaddr of slave - d2:32:f4:e1:d9:f6 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 381.159844] bond0: (slave eth1): making interface the new active one [ 381.170049] s0 (unregistering): left allmulticast mode [ 381.170356] s0 (unregistering): left promiscuous mode [ 381.170663] br0: port 1(s0) entered disabled state [ 381.194674] br0: port 2(s1) entered disabled state [ 381.195306] bond0: (slave eth1): Releasing active interface [ 381.206164] s1 (unregistering): left allmulticast mode [ 381.206458] s1 (unregistering): left promiscuous mode [ 381.206801] br0: port 2(s1) entered disabled state [ 381.228874] 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__->