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 # timeout set to 1200 # selftests: drivers/net/bonding: bond_macvlan.sh [ 1090.412114][ T3256] br0: port 1(s0) entered blocking state [ 1090.412552][ T3256] br0: port 1(s0) entered disabled state [ 1090.413027][ T3256] s0: entered allmulticast mode [ 1090.414372][ T3256] s0: entered promiscuous mode [ 1090.589415][ T3257] bond0: (slave eth0): making interface the new active one [ 1090.590142][ T3257] bond0: (slave eth0): Enslaving as an active interface with an up link [ 1090.591262][ T2399] br0: port 1(s0) entered blocking state [ 1090.591578][ T2399] br0: port 1(s0) entered forwarding state [ 1091.296958][ T3261] br0: port 2(s1) entered blocking state [ 1091.297296][ T3261] br0: port 2(s1) entered disabled state [ 1091.304760][ T3261] s1: entered allmulticast mode [ 1091.306329][ T3261] s1: entered promiscuous mode [ 1091.488681][ T3262] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 1091.489810][ T2384] br0: port 2(s1) entered blocking state [ 1091.490115][ T2384] br0: port 2(s1) entered forwarding state [ 1095.014208][ T3271] br0: port 3(c0) entered blocking state [ 1095.014570][ T3271] br0: port 3(c0) entered disabled state [ 1095.014911][ T3271] c0: entered allmulticast mode [ 1095.016234][ T3271] c0: entered promiscuous mode [ 1095.185421][ T2399] br0: port 3(c0) entered blocking state [ 1095.185777][ T2399] br0: port 3(c0) entered forwarding state [ 1096.471357][ T3281] bond0 (unregistering): (slave eth0): Releasing backup interface [ 1096.486493][ T3281] bond0 (unregistering): (slave eth1): Releasing backup interface [ 1096.497277][ T3281] bond0 (unregistering): Released all slaves [ 1096.511794][ T2384] br0: port 1(s0) entered disabled state [ 1096.513137][ T2384] br0: port 2(s1) entered disabled state [ 1097.092173][ T3285] bond0: (slave eth0): making interface the new active one [ 1097.092936][ T3285] bond0: (slave eth0): Enslaving as an active interface with an up link [ 1097.093698][ T2399] br0: port 1(s0) entered blocking state [ 1097.094022][ T2399] br0: port 1(s0) entered forwarding state [ 1097.278249][ T3286] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 1097.280790][ T2384] br0: port 2(s1) entered blocking state [ 1097.281114][ T2384] br0: port 2(s1) entered forwarding state [ 1100.469419][ T3293] 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 ] [ 1119.282005][ T3323] eth0: left promiscuous mode [ 1119.474704][ T3324] bond0 (unregistering): (slave eth0): Releasing backup interface [ 1119.487953][ T3324] bond0 (unregistering): (slave eth1): Releasing backup interface [ 1119.495315][ T3324] bond0 (unregistering): Released all slaves [ 1119.509587][ T47] br0: port 1(s0) entered disabled state [ 1119.511214][ T47] br0: port 2(s1) entered disabled state [ 1120.007078][ T3328] bond0: (slave eth0): making interface the new active one [ 1120.007960][ T3328] bond0: (slave eth0): Enslaving as an active interface with an up link [ 1120.008757][ T2282] br0: port 1(s0) entered blocking state [ 1120.009073][ T2282] br0: port 1(s0) entered forwarding state [ 1120.187004][ T3329] bond0: (slave eth1): Enslaving as an active interface with an up link [ 1120.189015][ T2282] br0: port 2(s1) entered blocking state [ 1120.189339][ T2282] br0: port 2(s1) entered forwarding state [ 1123.385539][ T3336] 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 ] [ 1142.258041][ T3367] eth0: left promiscuous mode [ 1142.471995][ T3368] bond0 (unregistering): (slave eth0): Releasing active interface [ 1142.486063][ T3368] bond0 (unregistering): (slave eth1): Releasing active interface [ 1142.496510][ T3368] bond0 (unregistering): Released all slaves [ 1142.517927][ T47] br0: port 1(s0) entered disabled state [ 1142.519329][ T47] br0: port 2(s1) entered disabled state [ 1143.016923][ T3373] bond0: (slave eth0): making interface the new active one [ 1143.017958][ T3373] bond0: (slave eth0): Enslaving as an active interface with an up link [ 1143.019190][ T2384] br0: port 1(s0) entered blocking state [ 1143.019530][ T2384] br0: port 1(s0) entered forwarding state [ 1143.186568][ T3374] bond0: (slave eth1): Enslaving as an active interface with an up link [ 1143.187336][ T47] br0: port 2(s1) entered blocking state [ 1143.187660][ T47] br0: port 2(s1) entered forwarding state [ 1146.346919][ T3381] 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 ] [ 1165.535327][ T3410] eth0: left promiscuous mode [ 1165.894212][ T3412] br0: port 3(c0) entered disabled state [ 1165.901549][ T3412] c0 (unregistering): left allmulticast mode [ 1165.902052][ T3412] c0 (unregistering): left promiscuous mode [ 1165.903157][ T3412] br0: port 3(c0) entered disabled state [ 1166.545947][ T3419] br0: port 1(s0) entered disabled state [ 1166.548497][ T3419] bond0: (slave eth0): Releasing active interface [ 1166.548844][ T3419] bond0: (slave eth0): the permanent HWaddr of slave - 96:6e:ee:c5:4b:f7 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 1166.549730][ T3419] bond0: (slave eth1): making interface the new active one [ 1166.569417][ T3419] s0 (unregistering): left allmulticast mode [ 1166.569935][ T3419] s0 (unregistering): left promiscuous mode [ 1166.570395][ T3419] br0: port 1(s0) entered disabled state [ 1166.748082][ T3420] br0: port 2(s1) entered disabled state [ 1166.749470][ T3420] bond0: (slave eth1): Releasing active interface [ 1166.763294][ T3420] s1 (unregistering): left allmulticast mode [ 1166.763639][ T3420] s1 (unregistering): left promiscuous mode [ 1166.763945][ T3420] br0: port 2(s1) entered disabled state [ 1166.983598][ T3344] 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__->