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-10/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' TAP version 13 1..1 # overriding timeout to 2400 # selftests: drivers/net/bonding: bond_macvlan.sh [ 681.168962][ T5064] br0: port 1(s0) entered blocking state [ 681.169418][ T5064] br0: port 1(s0) entered disabled state [ 681.170277][ T5064] s0: entered allmulticast mode [ 681.171691][ T5064] s0: entered promiscuous mode [ 681.344475][ T5065] bond0: (slave eth0): making interface the new active one [ 681.345891][ T5065] bond0: (slave eth0): Enslaving as an active interface with an up link [ 681.348959][ T2806] br0: port 1(s0) entered blocking state [ 681.349313][ T2806] br0: port 1(s0) entered forwarding state [ 682.105155][ T5069] br0: port 2(s1) entered blocking state [ 682.105515][ T5069] br0: port 2(s1) entered disabled state [ 682.105853][ T5069] s1: entered allmulticast mode [ 682.107253][ T5069] s1: entered promiscuous mode [ 682.288648][ T5070] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 682.292807][ T4993] br0: port 2(s1) entered blocking state [ 682.293185][ T4993] br0: port 2(s1) entered forwarding state [ 683.866415][ T5078] br0: port 3(c0) entered blocking state [ 683.866889][ T5078] br0: port 3(c0) entered disabled state [ 683.867415][ T5078] c0: entered allmulticast mode [ 683.869925][ T5078] c0: entered promiscuous mode [ 684.060005][ T2407] br0: port 3(c0) entered blocking state [ 684.060381][ T2407] br0: port 3(c0) entered forwarding state [ 685.374432][ T5088] bond0 (unregistering): (slave eth0): Releasing backup interface [ 685.387786][ T5088] bond0 (unregistering): (slave eth1): Releasing backup interface [ 685.399701][ T5088] bond0 (unregistering): Released all slaves [ 685.426634][ T2806] br0: port 1(s0) entered disabled state [ 685.428041][ T2806] br0: port 2(s1) entered disabled state [ 686.030943][ T5092] bond0: (slave eth0): making interface the new active one [ 686.031884][ T5092] bond0: (slave eth0): Enslaving as an active interface with an up link [ 686.034405][ T2806] br0: port 1(s0) entered blocking state [ 686.034846][ T2806] br0: port 1(s0) entered forwarding state [ 686.274575][ T5093] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 686.278378][ T2806] br0: port 2(s1) entered blocking state [ 686.278733][ T2806] br0: port 2(s1) entered forwarding state [ 688.605371][ T5104] 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 ] [ 707.807679][ T5134] eth0: left promiscuous mode [ 708.046577][ T5135] bond0 (unregistering): (slave eth0): Releasing backup interface [ 708.064559][ T5135] bond0 (unregistering): (slave eth1): Releasing backup interface [ 708.074270][ T5135] bond0 (unregistering): Released all slaves [ 708.088979][ T4993] br0: port 1(s0) entered disabled state [ 708.090738][ T4993] br0: port 2(s1) entered disabled state [ 708.689004][ T5139] bond0: (slave eth0): making interface the new active one [ 708.690306][ T5139] bond0: (slave eth0): Enslaving as an active interface with an up link [ 708.692524][ T2407] br0: port 1(s0) entered blocking state [ 708.693007][ T2407] br0: port 1(s0) entered forwarding state [ 708.856551][ T5140] bond0: (slave eth1): Enslaving as an active interface with an up link [ 708.858568][ T4993] br0: port 2(s1) entered blocking state [ 708.858909][ T4993] br0: port 2(s1) entered forwarding state [ 711.216450][ T5151] 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 ] [ 730.407113][ T5181] eth0: left promiscuous mode [ 730.635248][ T5182] bond0 (unregistering): (slave eth0): Releasing active interface [ 730.655011][ T5182] bond0 (unregistering): (slave eth1): Releasing active interface [ 730.667041][ T5182] bond0 (unregistering): Released all slaves [ 730.686634][ T2407] br0: port 1(s0) entered disabled state [ 730.688836][ T2407] br0: port 2(s1) entered disabled state [ 731.206300][ T5186] bond0: (slave eth0): making interface the new active one [ 731.208219][ T5186] bond0: (slave eth0): Enslaving as an active interface with an up link [ 731.210397][ T4993] br0: port 1(s0) entered blocking state [ 731.210729][ T4993] br0: port 1(s0) entered forwarding state [ 731.416013][ T5187] bond0: (slave eth1): Enslaving as an active interface with an up link [ 731.418493][ T4997] br0: port 2(s1) entered blocking state [ 731.418951][ T4997] br0: port 2(s1) entered forwarding state [ 734.505043][ T5201] 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 ] [ 754.072111][ T5230] eth0: left promiscuous mode [ 754.440676][ T5233] br0: port 3(c0) entered disabled state [ 754.445650][ T5233] c0 (unregistering): left allmulticast mode [ 754.446001][ T5233] c0 (unregistering): left promiscuous mode [ 754.446621][ T5233] br0: port 3(c0) entered disabled state [ 755.265656][ T5241] br0: port 1(s0) entered disabled state [ 755.269023][ T5241] bond0: (slave eth0): Releasing active interface [ 755.269589][ T5241] bond0: (slave eth0): the permanent HWaddr of slave - 52:a0:33:a9:de:bf - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 755.270975][ T5241] bond0: (slave eth1): making interface the new active one [ 755.294903][ T5241] s0 (unregistering): left allmulticast mode [ 755.295475][ T5241] s0 (unregistering): left promiscuous mode [ 755.295966][ T5241] br0: port 1(s0) entered disabled state [ 755.553363][ T5242] br0: port 2(s1) entered disabled state [ 755.556142][ T5242] bond0: (slave eth1): Releasing active interface [ 755.574062][ T5242] s1 (unregistering): left allmulticast mode [ 755.575041][ T5242] s1 (unregistering): left promiscuous mode [ 755.575544][ T5242] br0: port 2(s1) entered disabled state [ 755.781148][ T4984] bond0 (unregistering): Released all slaves ok 1 selftests: drivers/net/bonding: bond_macvlan.sh make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing-10/tools/testing/selftests' xx__-> echo $? 0 xx__->