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 [ 432.918117] br0: port 1(s0) entered blocking state [ 432.918534] br0: port 1(s0) entered disabled state [ 432.919023] s0: entered allmulticast mode [ 432.919456] s0: entered promiscuous mode [ 432.934871] bond0: (slave eth0): making interface the new active one [ 432.935427] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.936102] br0: port 1(s0) entered blocking state [ 432.936474] br0: port 1(s0) entered forwarding state [ 432.999896] br0: port 2(s1) entered blocking state [ 433.000327] br0: port 2(s1) entered disabled state [ 433.000734] s1: entered allmulticast mode [ 433.001197] s1: entered promiscuous mode [ 433.017391] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.018431] br0: port 2(s1) entered blocking state [ 433.018843] br0: port 2(s1) entered forwarding state [ 433.139727] br0: port 3(c0) entered blocking state [ 433.140175] br0: port 3(c0) entered disabled state [ 433.140582] c0: entered allmulticast mode [ 433.141113] c0: entered promiscuous mode [ 433.156051] br0: port 3(c0) entered blocking state [ 433.156345] br0: port 3(c0) entered forwarding state [ 433.265984] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.274001] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.279918] bond0 (unregistering): Released all slaves [ 433.329697] bond0: (slave eth0): making interface the new active one [ 433.330144] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.346580] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 434.721205] 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 ] [ 447.349691] eth0: left promiscuous mode [ 447.363389] bond0 (unregistering): (slave eth0): Releasing backup interface [ 447.373976] bond0 (unregistering): (slave eth1): Releasing backup interface [ 447.382897] bond0 (unregistering): Released all slaves [ 447.383644] br0: port 1(s0) entered disabled state [ 447.384097] br0: port 2(s1) entered disabled state [ 447.425204] bond0: (slave eth0): making interface the new active one [ 447.425643] bond0: (slave eth0): Enslaving as an active interface with an up link [ 447.426165] br0: port 1(s0) entered blocking state [ 447.426459] br0: port 1(s0) entered forwarding state [ 447.438738] bond0: (slave eth1): Enslaving as an active interface with an up link [ 447.439406] br0: port 2(s1) entered blocking state [ 447.439681] br0: port 2(s1) entered forwarding state [ 448.887607] 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 ] [ 461.488512] eth0: left promiscuous mode [ 461.502263] bond0 (unregistering): (slave eth0): Releasing active interface [ 461.509068] bond0 (unregistering): (slave eth1): Releasing active interface [ 461.514922] bond0 (unregistering): Released all slaves [ 461.515703] br0: port 1(s0) entered disabled state [ 461.516127] br0: port 2(s1) entered disabled state [ 461.562441] bond0: (slave eth0): making interface the new active one [ 461.563023] bond0: (slave eth0): Enslaving as an active interface with an up link [ 461.563942] br0: port 1(s0) entered blocking state [ 461.564327] br0: port 1(s0) entered forwarding state [ 461.579713] bond0: (slave eth1): Enslaving as an active interface with an up link [ 461.580391] br0: port 2(s1) entered blocking state [ 461.580660] br0: port 2(s1) entered forwarding state [ 463.359871] 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 ] [ 476.016680] eth0: left promiscuous mode [ 476.060967] br0: port 3(c0) entered disabled state [ 476.061600] c0 (unregistering): left allmulticast mode [ 476.061900] c0 (unregistering): left promiscuous mode [ 476.062170] br0: port 3(c0) entered disabled state [ 476.132634] br0: port 1(s0) entered disabled state [ 476.133402] bond0: (slave eth0): Releasing active interface [ 476.133894] bond0: (slave eth0): the permanent HWaddr of slave - 5e:6f:c8:3e:bd:8b - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 476.135118] bond0: (slave eth1): making interface the new active one [ 476.146280] s0 (unregistering): left allmulticast mode [ 476.146704] s0 (unregistering): left promiscuous mode [ 476.147107] br0: port 1(s0) entered disabled state [ 476.170325] br0: port 2(s1) entered disabled state [ 476.170724] bond0: (slave eth1): Releasing active interface [ 476.182239] s1 (unregistering): left allmulticast mode [ 476.182560] s1 (unregistering): left promiscuous mode [ 476.182857] br0: port 2(s1) entered disabled state [ 476.206930] 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__->