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 [ 431.911818] br0: port 1(s0) entered blocking state [ 431.912103] br0: port 1(s0) entered disabled state [ 431.912360] s0: entered allmulticast mode [ 431.912672] s0: entered promiscuous mode [ 431.926367] bond0: (slave eth0): making interface the new active one [ 431.926832] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.927482] br0: port 1(s0) entered blocking state [ 431.927751] br0: port 1(s0) entered forwarding state [ 431.984553] br0: port 2(s1) entered blocking state [ 431.984854] br0: port 2(s1) entered disabled state [ 431.985116] s1: entered allmulticast mode [ 431.985407] s1: entered promiscuous mode [ 431.999912] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.000611] br0: port 2(s1) entered blocking state [ 432.000901] br0: port 2(s1) entered forwarding state [ 432.112913] br0: port 3(c0) entered blocking state [ 432.113228] br0: port 3(c0) entered disabled state [ 432.113554] c0: entered allmulticast mode [ 432.113963] c0: entered promiscuous mode [ 432.128845] br0: port 3(c0) entered blocking state [ 432.129135] br0: port 3(c0) entered forwarding state [ 432.233278] bond0 (unregistering): (slave eth0): Releasing backup interface [ 432.245860] bond0 (unregistering): (slave eth1): Releasing backup interface [ 432.251823] bond0 (unregistering): Released all slaves [ 432.301325] bond0: (slave eth0): making interface the new active one [ 432.301967] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.316340] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.621073] 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 ] [ 446.264306] eth0: left promiscuous mode [ 446.278165] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.287908] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.293840] bond0 (unregistering): Released all slaves [ 446.294929] br0: port 1(s0) entered disabled state [ 446.295488] br0: port 2(s1) entered disabled state [ 446.345032] bond0: (slave eth0): making interface the new active one [ 446.345413] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.346065] br0: port 1(s0) entered blocking state [ 446.346327] br0: port 1(s0) entered forwarding state [ 446.360452] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.361112] br0: port 2(s1) entered blocking state [ 446.361396] br0: port 2(s1) entered forwarding state [ 447.702019] 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 ] [ 460.338112] eth0: left promiscuous mode [ 460.354779] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.362957] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.368782] bond0 (unregistering): Released all slaves [ 460.369525] br0: port 1(s0) entered disabled state [ 460.369907] br0: port 2(s1) entered disabled state [ 460.416254] bond0: (slave eth0): making interface the new active one [ 460.416659] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.417353] br0: port 1(s0) entered blocking state [ 460.417715] br0: port 1(s0) entered forwarding state [ 460.432157] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.432940] br0: port 2(s1) entered blocking state [ 460.433226] br0: port 2(s1) entered forwarding state [ 462.510490] 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 ] [ 475.165768] eth0: left promiscuous mode [ 475.208744] br0: port 3(c0) entered disabled state [ 475.209499] c0 (unregistering): left allmulticast mode [ 475.209818] c0 (unregistering): left promiscuous mode [ 475.210116] br0: port 3(c0) entered disabled state [ 475.281343] br0: port 1(s0) entered disabled state [ 475.282176] bond0: (slave eth0): Releasing active interface [ 475.282658] bond0: (slave eth0): the permanent HWaddr of slave - 8e:81:43:e0:44:91 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.283862] bond0: (slave eth1): making interface the new active one [ 475.296219] s0 (unregistering): left allmulticast mode [ 475.296688] s0 (unregistering): left promiscuous mode [ 475.297090] br0: port 1(s0) entered disabled state [ 475.322141] br0: port 2(s1) entered disabled state [ 475.323017] bond0: (slave eth1): Releasing active interface [ 475.332351] s1 (unregistering): left allmulticast mode [ 475.332788] s1 (unregistering): left promiscuous mode [ 475.333169] br0: port 2(s1) entered disabled state [ 475.359871] 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__->