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 [ 911.806577][ T6074] br0: port 1(s0) entered blocking state [ 911.806901][ T6074] br0: port 1(s0) entered disabled state [ 911.807229][ T6074] s0: entered allmulticast mode [ 911.814870][ T6074] s0: entered promiscuous mode [ 911.975976][ T6075] bond0: (slave eth0): making interface the new active one [ 911.976757][ T6075] bond0: (slave eth0): Enslaving as an active interface with an up link [ 911.978580][ T247] br0: port 1(s0) entered blocking state [ 911.978915][ T247] br0: port 1(s0) entered forwarding state [ 912.698629][ T6079] br0: port 2(s1) entered blocking state [ 912.698956][ T6079] br0: port 2(s1) entered disabled state [ 912.699287][ T6079] s1: entered allmulticast mode [ 912.701164][ T6079] s1: entered promiscuous mode [ 912.869326][ T6080] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 912.870542][ T247] br0: port 2(s1) entered blocking state [ 912.870869][ T247] br0: port 2(s1) entered forwarding state [ 914.312155][ T6088] br0: port 3(c0) entered blocking state [ 914.312493][ T6088] br0: port 3(c0) entered disabled state [ 914.313548][ T6088] c0: entered allmulticast mode [ 914.314894][ T6088] c0: entered promiscuous mode [ 914.524665][ T4591] br0: port 3(c0) entered blocking state [ 914.525012][ T4591] br0: port 3(c0) entered forwarding state [ 915.747383][ T6098] bond0 (unregistering): (slave eth0): Releasing backup interface [ 915.775448][ T6098] bond0 (unregistering): (slave eth1): Releasing backup interface [ 915.784534][ T6098] bond0 (unregistering): Released all slaves [ 915.799901][ T4350] br0: port 1(s0) entered disabled state [ 915.801543][ T4350] br0: port 2(s1) entered disabled state [ 916.297020][ T6102] bond0: (slave eth0): making interface the new active one [ 916.297914][ T6102] bond0: (slave eth0): Enslaving as an active interface with an up link [ 916.300818][ T4591] br0: port 1(s0) entered blocking state [ 916.301169][ T4591] br0: port 1(s0) entered forwarding state [ 916.479357][ T6103] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 916.482802][ T4591] br0: port 2(s1) entered blocking state [ 916.483128][ T4591] br0: port 2(s1) entered forwarding state [ 919.438763][ T6117] 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 ] [ 938.256737][ T6147] eth0: left promiscuous mode [ 938.459638][ T6148] bond0 (unregistering): (slave eth0): Releasing backup interface [ 938.475790][ T6148] bond0 (unregistering): (slave eth1): Releasing backup interface [ 938.485688][ T6148] bond0 (unregistering): Released all slaves [ 938.498246][ T9] br0: port 1(s0) entered disabled state [ 938.507310][ T9] br0: port 2(s1) entered disabled state [ 939.058953][ T6152] bond0: (slave eth0): making interface the new active one [ 939.060251][ T6152] bond0: (slave eth0): Enslaving as an active interface with an up link [ 939.061364][ T4350] br0: port 1(s0) entered blocking state [ 939.061856][ T4350] br0: port 1(s0) entered forwarding state [ 939.234459][ T6153] bond0: (slave eth1): Enslaving as an active interface with an up link [ 939.235239][ T4591] br0: port 2(s1) entered blocking state [ 939.235554][ T4591] br0: port 2(s1) entered forwarding state [ 941.424467][ T6164] 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 ] [ 960.278174][ T6194] eth0: left promiscuous mode [ 960.476070][ T6195] bond0 (unregistering): (slave eth0): Releasing active interface [ 960.483857][ T6195] bond0 (unregistering): (slave eth1): Releasing active interface [ 960.494410][ T6195] bond0 (unregistering): Released all slaves [ 960.514182][ T9] br0: port 1(s0) entered disabled state [ 960.515688][ T9] br0: port 2(s1) entered disabled state [ 961.043230][ T6199] bond0: (slave eth0): making interface the new active one [ 961.044240][ T6199] bond0: (slave eth0): Enslaving as an active interface with an up link [ 961.044953][ T4350] br0: port 1(s0) entered blocking state [ 961.045273][ T4350] br0: port 1(s0) entered forwarding state [ 961.221380][ T6200] bond0: (slave eth1): Enslaving as an active interface with an up link [ 961.228764][ T9] br0: port 2(s1) entered blocking state [ 961.229341][ T9] br0: port 2(s1) entered forwarding state [ 964.227273][ T6214] 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 ] [ 983.282251][ T6243] eth0: left promiscuous mode [ 983.627378][ T6245] br0: port 3(c0) entered disabled state [ 983.631694][ T6245] c0 (unregistering): left allmulticast mode [ 983.632025][ T6245] c0 (unregistering): left promiscuous mode [ 983.632328][ T6245] br0: port 3(c0) entered disabled state [ 984.270181][ T6252] br0: port 1(s0) entered disabled state [ 984.271930][ T6252] bond0: (slave eth0): Releasing active interface [ 984.272270][ T6252] bond0: (slave eth0): the permanent HWaddr of slave - 46:9e:b7:cd:b6:ff - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 984.273603][ T6252] bond0: (slave eth1): making interface the new active one [ 984.284371][ T6252] s0 (unregistering): left allmulticast mode [ 984.284721][ T6252] s0 (unregistering): left promiscuous mode [ 984.285038][ T6252] br0: port 1(s0) entered disabled state [ 984.453919][ T6253] br0: port 2(s1) entered disabled state [ 984.455852][ T6253] bond0: (slave eth1): Releasing active interface [ 984.474065][ T6253] s1 (unregistering): left allmulticast mode [ 984.475040][ T6253] s1 (unregistering): left promiscuous mode [ 984.475514][ T6253] br0: port 2(s1) entered disabled state [ 984.660679][ T2912] 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__->