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 [ 339.919894] br0: port 1(s0) entered blocking state [ 339.920266] br0: port 1(s0) entered disabled state [ 339.920615] s0: entered allmulticast mode [ 339.920985] s0: entered promiscuous mode [ 339.935003] bond0: (slave eth0): making interface the new active one [ 339.935386] bond0: (slave eth0): Enslaving as an active interface with an up link [ 339.936078] br0: port 1(s0) entered blocking state [ 339.936350] br0: port 1(s0) entered forwarding state [ 339.998523] br0: port 2(s1) entered blocking state [ 339.998935] br0: port 2(s1) entered disabled state [ 339.999402] s1: entered allmulticast mode [ 339.999875] s1: entered promiscuous mode [ 340.015288] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 340.015979] br0: port 2(s1) entered blocking state [ 340.016238] br0: port 2(s1) entered forwarding state [ 340.139402] br0: port 3(c0) entered blocking state [ 340.139818] br0: port 3(c0) entered disabled state [ 340.140278] c0: entered allmulticast mode [ 340.140714] c0: entered promiscuous mode [ 340.157021] br0: port 3(c0) entered blocking state [ 340.157402] br0: port 3(c0) entered forwarding state [ 340.265925] bond0 (unregistering): (slave eth0): Releasing backup interface [ 340.271427] bond0 (unregistering): (slave eth1): Releasing backup interface [ 340.279176] bond0 (unregistering): Released all slaves [ 340.330468] bond0: (slave eth0): making interface the new active one [ 340.330885] bond0: (slave eth0): Enslaving as an active interface with an up link [ 340.345957] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 342.216380] 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 ] [ 354.814083] eth0: left promiscuous mode [ 354.829472] bond0 (unregistering): (slave eth0): Releasing backup interface [ 354.838245] bond0 (unregistering): (slave eth1): Releasing backup interface [ 354.844175] bond0 (unregistering): Released all slaves [ 354.845450] br0: port 1(s0) entered disabled state [ 354.846093] br0: port 2(s1) entered disabled state [ 354.889106] bond0: (slave eth0): making interface the new active one [ 354.889488] bond0: (slave eth0): Enslaving as an active interface with an up link [ 354.890174] br0: port 1(s0) entered blocking state [ 354.890437] br0: port 1(s0) entered forwarding state [ 354.902659] bond0: (slave eth1): Enslaving as an active interface with an up link [ 354.903457] br0: port 2(s1) entered blocking state [ 354.903735] br0: port 2(s1) entered forwarding state [ 356.205902] 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 ] [ 368.792405] eth0: left promiscuous mode [ 368.805826] bond0 (unregistering): (slave eth0): Releasing active interface [ 368.814256] bond0 (unregistering): (slave eth1): Releasing active interface [ 368.820141] bond0 (unregistering): Released all slaves [ 368.821024] br0: port 1(s0) entered disabled state [ 368.821395] br0: port 2(s1) entered disabled state [ 368.867651] bond0: (slave eth0): making interface the new active one [ 368.868129] bond0: (slave eth0): Enslaving as an active interface with an up link [ 368.868867] br0: port 1(s0) entered blocking state [ 368.869156] br0: port 1(s0) entered forwarding state [ 368.884065] bond0: (slave eth1): Enslaving as an active interface with an up link [ 368.885014] br0: port 2(s1) entered blocking state [ 368.885400] br0: port 2(s1) entered forwarding state [ 370.328924] 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 ] [ 382.996396] eth0: left promiscuous mode [ 383.048772] br0: port 3(c0) entered disabled state [ 383.049763] c0 (unregistering): left allmulticast mode [ 383.050198] c0 (unregistering): left promiscuous mode [ 383.050591] br0: port 3(c0) entered disabled state [ 383.118944] br0: port 1(s0) entered disabled state [ 383.119405] bond0: (slave eth0): Releasing active interface [ 383.119704] bond0: (slave eth0): the permanent HWaddr of slave - 8a:3b:86:f1:f9:fb - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 383.120561] bond0: (slave eth1): making interface the new active one [ 383.133416] s0 (unregistering): left allmulticast mode [ 383.133748] s0 (unregistering): left promiscuous mode [ 383.134066] br0: port 1(s0) entered disabled state [ 383.158345] br0: port 2(s1) entered disabled state [ 383.158898] bond0: (slave eth1): Releasing active interface [ 383.170471] s1 (unregistering): left allmulticast mode [ 383.170799] s1 (unregistering): left promiscuous mode [ 383.171094] br0: port 2(s1) entered disabled state [ 383.194668] 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__->