make -C tools/testing/selftests TARGETS=drivers/net/bonding TEST_PROGS=modde-1-recovery-updelay.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: mode-1-recovery-updelay.sh [ 860.294473][ T6092] eth0: renamed from lag1 [ 860.531560][ T6097] eth0: renamed from lag1-end [ 861.006178][ T6106] eth1: renamed from lag1 [ 861.256445][ T6109] eth1: renamed from lag1-end [ 862.030500][ T6111] br0: port 1(eth0) entered blocking state [ 862.030866][ T6111] br0: port 1(eth0) entered disabled state [ 862.031213][ T6111] eth0: entered allmulticast mode [ 862.032602][ T6111] eth0: entered promiscuous mode [ 862.372421][ T6112] br0: port 2(eth1) entered blocking state [ 862.373261][ T6112] br0: port 2(eth1) entered disabled state [ 862.373605][ T6112] eth1: entered allmulticast mode [ 862.374995][ T6112] eth1: entered promiscuous mode [ 864.040025][ T6118] bond0: (slave eth0): making interface the new active one [ 864.040864][ T6118] bond0: (slave eth0): Enslaving as an active interface with an up link [ 864.042205][ T329] br0: port 1(eth0) entered blocking state [ 864.042546][ T329] br0: port 1(eth0) entered forwarding state [ 864.414067][ T6119] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 864.418401][ T8] br0: port 2(eth1) entered blocking state [ 864.418752][ T8] br0: port 2(eth1) entered forwarding state [ 866.922322][ T6124] br0: port 1(eth0) entered disabled state [ 866.931898][ T5783] bond0: (slave eth0): link status definitely down, disabling slave [ 866.932716][ T5783] bond0: (slave eth1): making interface the new active one [ 869.387421][ T5382] br0: port 1(eth0) entered blocking state [ 869.387816][ T5382] br0: port 1(eth0) entered forwarding state [ 869.436988][ T5783] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 869.740758][ T6127] br0: port 2(eth1) entered disabled state [ 869.747138][ T5783] bond0: (slave eth1): link status definitely down, disabling slave [ 869.747661][ T5783] bond0: (slave eth0): making interface the new active one # TEST: mode (1) bond recovery [ OK ] [ 871.544486][ T6130] bond0 (unregistering): (slave eth0): Releasing backup interface [ 871.555731][ T6130] bond0 (unregistering): (slave eth1): Releasing backup interface [ 871.567182][ T6130] bond0 (unregistering): Released all slaves [ 871.587228][ T329] br0: port 1(eth0) entered disabled state [ 873.609585][ T6137] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 873.610325][ T8] br0: port 1(eth0) entered blocking state [ 873.610639][ T8] br0: port 1(eth0) entered forwarding state [ 873.989050][ T6138] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 873.993460][ T5382] br0: port 2(eth1) entered blocking state [ 873.993816][ T5382] br0: port 2(eth1) entered forwarding state [ 874.317394][ T5783] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 874.318183][ T5783] bond0: (slave eth0): making interface the new active one [ 874.319650][ T5783] bond0: active interface up! [ 874.427092][ T268] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 876.469846][ T6143] br0: port 1(eth0) entered disabled state [ 876.507277][ T268] bond0: (slave eth0): link status definitely down, disabling slave [ 876.507952][ T268] bond0: (slave eth1): making interface the new active one [ 878.910148][ T8] br0: port 1(eth0) entered blocking state [ 878.910526][ T8] br0: port 1(eth0) entered forwarding state [ 879.010919][ T268] bond0: (slave eth0): link status up, enabling it in 200 ms [ 879.011649][ T268] bond0: (slave eth0): invalid new link 3 on slave [ 879.217326][ T6146] br0: port 2(eth1) entered disabled state [ 879.219058][ T268] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 879.220265][ T268] bond0: (slave eth1): link status definitely down, disabling slave [ 879.220873][ T268] bond0: (slave eth0): making interface the new active one # TEST: mode (1) bond recovery [ OK ] [ 881.017714][ T6149] bond0 (unregistering): (slave eth0): Releasing backup interface [ 881.032843][ T6149] bond0 (unregistering): (slave eth1): Releasing backup interface [ 881.043560][ T6149] bond0 (unregistering): Released all slaves [ 881.054922][ T8] br0: port 1(eth0) entered disabled state [ 883.167344][ T6156] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 883.170930][ T329] br0: port 1(eth0) entered blocking state [ 883.171257][ T329] br0: port 1(eth0) entered forwarding state [ 883.479508][ T6157] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 883.480789][ T8] br0: port 2(eth1) entered blocking state [ 883.481262][ T8] br0: port 2(eth1) entered forwarding state [ 883.813309][ T268] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 883.813864][ T268] bond0: (slave eth0): making interface the new active one [ 883.814912][ T268] bond0: active interface up! [ 884.131104][ T5783] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 885.960227][ T6162] br0: port 1(eth0) entered disabled state [ 886.004181][ T5783] bond0: (slave eth0): link status definitely down, disabling slave [ 886.004790][ T5783] bond0: (slave eth1): making interface the new active one [ 888.446284][ T5382] br0: port 1(eth0) entered blocking state [ 888.446688][ T5382] br0: port 1(eth0) entered forwarding state [ 888.514752][ T5783] bond0: (slave eth0): link status up, enabling it in 500 ms [ 888.515304][ T5783] bond0: (slave eth0): invalid new link 3 on slave [ 888.763104][ T6165] br0: port 2(eth1) entered disabled state [ 888.827329][ T5783] bond0: (slave eth1): link status definitely down, disabling slave [ 888.828011][ T5783] bond0: (slave eth0): making interface the new active one 400 ms earlier # TEST: mode (1) bond recovery [ OK ] [ 890.626349][ T6168] bond0 (unregistering): (slave eth0): Releasing backup interface [ 890.642319][ T6168] bond0 (unregistering): (slave eth1): Releasing backup interface [ 890.652305][ T6168] bond0 (unregistering): Released all slaves [ 890.680301][ T8] br0: port 1(eth0) entered disabled state [ 892.783921][ T6175] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 892.784821][ T484] br0: port 1(eth0) entered blocking state [ 892.785313][ T484] br0: port 1(eth0) entered forwarding state [ 893.095645][ T6176] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 893.096857][ T8] br0: port 2(eth1) entered blocking state [ 893.097176][ T8] br0: port 2(eth1) entered forwarding state [ 893.420309][ T5783] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 893.420890][ T5783] bond0: (slave eth0): making interface the new active one [ 893.421865][ T5783] bond0: active interface up! [ 894.355048][ T5783] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 895.635849][ T6181] br0: port 1(eth0) entered disabled state [ 895.707144][ T5783] bond0: (slave eth0): link status definitely down, disabling slave [ 895.707622][ T5783] bond0: (slave eth1): making interface the new active one [ 898.057103][ T5781] br0: port 1(eth0) entered blocking state [ 898.057475][ T5781] br0: port 1(eth0) entered forwarding state [ 898.098738][ T5783] bond0: (slave eth0): link status up, enabling it in 1000 ms [ 898.099276][ T5783] bond0: (slave eth0): invalid new link 3 on slave [ 898.395189][ T6184] br0: port 2(eth1) entered disabled state [ 898.411116][ T5783] bond0: (slave eth1): link status definitely down, disabling slave [ 898.411632][ T5783] bond0: (slave eth0): making interface the new active one 400 ms earlier # TEST: mode (1) bond recovery [ OK ] [ 900.201913][ T6187] bond0 (unregistering): (slave eth0): Releasing backup interface [ 900.212189][ T6187] bond0 (unregistering): (slave eth1): Releasing backup interface [ 900.224155][ T6187] bond0 (unregistering): Released all slaves [ 900.244806][ T5382] br0: port 1(eth0) entered disabled state [ 902.122031][ T6194] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 902.123919][ T5781] br0: port 1(eth0) entered blocking state [ 902.124243][ T5781] br0: port 1(eth0) entered forwarding state [ 902.445797][ T6195] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 902.447489][ T5382] br0: port 2(eth1) entered blocking state [ 902.447847][ T5382] br0: port 2(eth1) entered forwarding state [ 902.789223][ T5783] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 902.789800][ T5783] bond0: (slave eth0): making interface the new active one [ 902.790822][ T5783] bond0: active interface up! [ 904.772023][ T268] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 904.962397][ T6200] br0: port 1(eth0) entered disabled state [ 904.979155][ T268] bond0: (slave eth0): link status definitely down, disabling slave [ 904.979630][ T268] bond0: (slave eth1): making interface the new active one [ 907.415475][ T5382] br0: port 1(eth0) entered blocking state [ 907.415879][ T5382] br0: port 1(eth0) entered forwarding state [ 907.474917][ T268] bond0: (slave eth0): link status up, enabling it in 2000 ms [ 907.475664][ T268] bond0: (slave eth0): invalid new link 3 on slave [ 907.759118][ T6203] br0: port 2(eth1) entered disabled state [ 907.788226][ T268] bond0: (slave eth1): link status definitely down, disabling slave [ 907.788704][ T268] bond0: (slave eth0): making interface the new active one 400 ms earlier # TEST: mode (1) bond recovery [ OK ] [ 909.591130][ T6206] bond0 (unregistering): (slave eth0): Releasing backup interface [ 909.603219][ T6206] bond0 (unregistering): (slave eth1): Releasing backup interface [ 909.614632][ T6206] bond0 (unregistering): Released all slaves [ 909.632164][ T5382] br0: port 1(eth0) entered disabled state [ 911.637061][ T6213] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 911.638253][ T5781] br0: port 1(eth0) entered blocking state [ 911.638577][ T5781] br0: port 1(eth0) entered forwarding state [ 911.965518][ T6214] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 911.966742][ T5781] br0: port 2(eth1) entered blocking state [ 911.967059][ T5781] br0: port 2(eth1) entered forwarding state [ 912.346357][ T268] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 912.347145][ T268] bond0: (slave eth0): making interface the new active one [ 912.348576][ T268] bond0: active interface up! [ 914.529025][ T6219] br0: port 1(eth0) entered disabled state [ 914.531126][ T268] bond0: (slave eth0): link status definitely down, disabling slave [ 914.531586][ T268] bond0: (slave eth1): making interface the new active one 2300 ms earlier [ 917.055438][ T484] br0: port 1(eth0) entered blocking state [ 917.055819][ T484] br0: port 1(eth0) entered forwarding state [ 917.130775][ T268] bond0: (slave eth0): link status up, enabling it in 5000 ms [ 917.131570][ T268] bond0: (slave eth0): invalid new link 3 on slave [ 917.442258][ T6222] br0: port 2(eth1) entered disabled state [ 917.445304][ T268] bond0: (slave eth1): link status definitely down, disabling slave [ 917.445978][ T268] bond0: (slave eth0): making interface the new active one 500 ms earlier # TEST: mode (1) bond recovery [ OK ] [ 919.255453][ T6225] bond0 (unregistering): (slave eth0): Releasing backup interface [ 919.267109][ T6225] bond0 (unregistering): (slave eth1): Releasing backup interface [ 919.285514][ T6225] bond0 (unregistering): Released all slaves [ 919.300438][ T8] br0: port 1(eth0) entered disabled state [ 921.240950][ T6232] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 921.241942][ T484] br0: port 1(eth0) entered blocking state [ 921.242277][ T484] br0: port 1(eth0) entered forwarding state [ 921.586242][ T6233] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 921.588104][ T5382] br0: port 2(eth1) entered blocking state [ 921.588491][ T5382] br0: port 2(eth1) entered forwarding state [ 921.945287][ T268] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 921.945869][ T268] bond0: (slave eth0): making interface the new active one [ 921.946884][ T268] bond0: active interface up! [ 924.062420][ T6238] br0: port 1(eth0) entered disabled state [ 924.131302][ T268] bond0: (slave eth0): link status definitely down, disabling slave [ 924.132314][ T268] bond0: (slave eth1): making interface the new active one 2300 ms earlier [ 926.555102][ T8] br0: port 1(eth0) entered blocking state [ 926.555636][ T8] br0: port 1(eth0) entered forwarding state [ 926.635028][ T268] bond0: (slave eth0): link status up, enabling it in 10000 ms [ 926.635577][ T268] bond0: (slave eth0): invalid new link 3 on slave [ 926.882472][ T6241] br0: port 2(eth1) entered disabled state [ 926.947228][ T268] bond0: (slave eth1): link status definitely down, disabling slave [ 926.947837][ T268] bond0: (slave eth0): making interface the new active one 400 ms earlier # TEST: mode (1) bond recovery [ OK ] [ 928.720165][ T6244] bond0 (unregistering): (slave eth0): Releasing backup interface [ 928.731615][ T6244] bond0 (unregistering): (slave eth1): Releasing backup interface [ 928.742782][ T6244] bond0 (unregistering): Released all slaves [ 928.762262][ T8] br0: port 1(eth0) entered disabled state [ 929.646138][ T268] eth1: left allmulticast mode [ 929.646483][ T268] eth1: left promiscuous mode [ 929.647002][ T268] br0: port 2(eth1) entered disabled state [ 929.649066][ T268] eth0: left allmulticast mode [ 929.649348][ T268] eth0: left promiscuous mode [ 929.649755][ T268] br0: port 1(eth0) entered disabled state ok 1 selftests: drivers/net/bonding: mode-1-recovery-updelay.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__->