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 [ 345.179834] br0: port 1(s0) entered blocking state [ 345.180144] br0: port 1(s0) entered disabled state [ 345.180433] s0: entered allmulticast mode [ 345.180733] s0: entered promiscuous mode [ 345.196355] bond0: (slave eth0): making interface the new active one [ 345.196742] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.197420] br0: port 1(s0) entered blocking state [ 345.197685] br0: port 1(s0) entered forwarding state [ 345.262786] br0: port 2(s1) entered blocking state [ 345.263167] br0: port 2(s1) entered disabled state [ 345.263440] s1: entered allmulticast mode [ 345.263741] s1: entered promiscuous mode [ 345.280678] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.281688] br0: port 2(s1) entered blocking state [ 345.282080] br0: port 2(s1) entered forwarding state [ 345.412859] br0: port 3(c0) entered blocking state [ 345.413272] br0: port 3(c0) entered disabled state [ 345.413621] c0: entered allmulticast mode [ 345.413997] c0: entered promiscuous mode [ 345.429438] br0: port 3(c0) entered blocking state [ 345.429815] br0: port 3(c0) entered forwarding state [ 345.530694] bond0 (unregistering): (slave eth0): Releasing backup interface [ 345.542209] bond0 (unregistering): (slave eth1): Releasing backup interface [ 345.548004] bond0 (unregistering): Released all slaves [ 345.594594] bond0: (slave eth0): making interface the new active one [ 345.595072] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.610645] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 347.257242] 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 ] [ 359.860410] eth0: left promiscuous mode [ 359.877461] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.886327] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.892099] bond0 (unregistering): Released all slaves [ 359.893095] br0: port 1(s0) entered disabled state [ 359.893557] br0: port 2(s1) entered disabled state [ 359.940002] bond0: (slave eth0): making interface the new active one [ 359.940396] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.940827] br0: port 1(s0) entered blocking state [ 359.941100] br0: port 1(s0) entered forwarding state [ 359.955080] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.955756] br0: port 2(s1) entered blocking state [ 359.956071] br0: port 2(s1) entered forwarding state [ 361.416894] 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 ] [ 373.984336] eth0: left promiscuous mode [ 374.002568] bond0 (unregistering): (slave eth0): Releasing active interface [ 374.009291] bond0 (unregistering): (slave eth1): Releasing active interface [ 374.019148] bond0 (unregistering): Released all slaves [ 374.020561] br0: port 1(s0) entered disabled state [ 374.021169] br0: port 2(s1) entered disabled state [ 374.071999] bond0: (slave eth0): making interface the new active one [ 374.072430] bond0: (slave eth0): Enslaving as an active interface with an up link [ 374.073229] br0: port 1(s0) entered blocking state [ 374.073564] br0: port 1(s0) entered forwarding state [ 374.090735] bond0: (slave eth1): Enslaving as an active interface with an up link [ 374.091543] br0: port 2(s1) entered blocking state [ 374.091828] br0: port 2(s1) entered forwarding state [ 375.751033] 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 ] [ 388.418163] eth0: left promiscuous mode [ 388.474176] br0: port 3(c0) entered disabled state [ 388.475310] c0 (unregistering): left allmulticast mode [ 388.475721] c0 (unregistering): left promiscuous mode [ 388.476159] br0: port 3(c0) entered disabled state [ 388.547776] br0: port 1(s0) entered disabled state [ 388.548277] bond0: (slave eth0): Releasing active interface [ 388.548581] bond0: (slave eth0): the permanent HWaddr of slave - ba:f1:0d:75:17:62 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 388.549575] bond0: (slave eth1): making interface the new active one [ 388.562247] s0 (unregistering): left allmulticast mode [ 388.562554] s0 (unregistering): left promiscuous mode [ 388.562825] br0: port 1(s0) entered disabled state [ 388.586516] br0: port 2(s1) entered disabled state [ 388.586958] bond0: (slave eth1): Releasing active interface [ 388.598315] s1 (unregistering): left allmulticast mode [ 388.598611] s1 (unregistering): left promiscuous mode [ 388.598897] br0: port 2(s1) entered disabled state [ 388.625630] 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__->