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.913661] br0: port 1(s0) entered blocking state [ 345.913960] br0: port 1(s0) entered disabled state [ 345.914248] s0: entered allmulticast mode [ 345.914614] s0: entered promiscuous mode [ 345.930601] bond0: (slave eth0): making interface the new active one [ 345.931167] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.932148] br0: port 1(s0) entered blocking state [ 345.932534] br0: port 1(s0) entered forwarding state [ 345.991062] br0: port 2(s1) entered blocking state [ 345.991358] br0: port 2(s1) entered disabled state [ 345.991616] s1: entered allmulticast mode [ 345.991916] s1: entered promiscuous mode [ 346.005655] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.006575] br0: port 2(s1) entered blocking state [ 346.006924] br0: port 2(s1) entered forwarding state [ 346.121578] br0: port 3(c0) entered blocking state [ 346.121890] br0: port 3(c0) entered disabled state [ 346.122160] c0: entered allmulticast mode [ 346.122481] c0: entered promiscuous mode [ 346.136544] br0: port 3(c0) entered blocking state [ 346.136859] br0: port 3(c0) entered forwarding state [ 346.235468] bond0 (unregistering): (slave eth0): Releasing backup interface [ 346.244931] bond0 (unregistering): (slave eth1): Releasing backup interface [ 346.250835] bond0 (unregistering): Released all slaves [ 346.295022] bond0: (slave eth0): making interface the new active one [ 346.295489] bond0: (slave eth0): Enslaving as an active interface with an up link [ 346.308959] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 348.529677] 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 ] [ 361.125988] eth0: left promiscuous mode [ 361.142658] bond0 (unregistering): (slave eth0): Releasing backup interface [ 361.152089] bond0 (unregistering): (slave eth1): Releasing backup interface [ 361.159944] bond0 (unregistering): Released all slaves [ 361.160894] br0: port 1(s0) entered disabled state [ 361.161307] br0: port 2(s1) entered disabled state [ 361.210310] bond0: (slave eth0): making interface the new active one [ 361.210729] bond0: (slave eth0): Enslaving as an active interface with an up link [ 361.211157] br0: port 1(s0) entered blocking state [ 361.211414] br0: port 1(s0) entered forwarding state [ 361.226892] bond0: (slave eth1): Enslaving as an active interface with an up link [ 361.227734] br0: port 2(s1) entered blocking state [ 361.228007] br0: port 2(s1) entered forwarding state [ 362.570652] 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 ] [ 375.155302] eth0: left promiscuous mode [ 375.170507] bond0 (unregistering): (slave eth0): Releasing active interface [ 375.179954] bond0 (unregistering): (slave eth1): Releasing active interface [ 375.185849] bond0 (unregistering): Released all slaves [ 375.186635] br0: port 1(s0) entered disabled state [ 375.187019] br0: port 2(s1) entered disabled state [ 375.232904] bond0: (slave eth0): making interface the new active one [ 375.233301] bond0: (slave eth0): Enslaving as an active interface with an up link [ 375.233949] br0: port 1(s0) entered blocking state [ 375.234212] br0: port 1(s0) entered forwarding state [ 375.248899] bond0: (slave eth1): Enslaving as an active interface with an up link [ 375.249604] br0: port 2(s1) entered blocking state [ 375.249902] br0: port 2(s1) entered forwarding state [ 376.397732] 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.997366] eth0: left promiscuous mode [ 389.047932] br0: port 3(c0) entered disabled state [ 389.048841] c0 (unregistering): left allmulticast mode [ 389.049139] c0 (unregistering): left promiscuous mode [ 389.049403] br0: port 3(c0) entered disabled state [ 389.116437] br0: port 1(s0) entered disabled state [ 389.116848] bond0: (slave eth0): Releasing active interface [ 389.117174] bond0: (slave eth0): the permanent HWaddr of slave - e2:57:37:08:31:5d - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 389.117996] bond0: (slave eth1): making interface the new active one [ 389.129153] s0 (unregistering): left allmulticast mode [ 389.129442] s0 (unregistering): left promiscuous mode [ 389.129727] br0: port 1(s0) entered disabled state [ 389.152126] br0: port 2(s1) entered disabled state [ 389.152640] bond0: (slave eth1): Releasing active interface [ 389.166235] s1 (unregistering): left allmulticast mode [ 389.166553] s1 (unregistering): left promiscuous mode [ 389.166832] br0: port 2(s1) entered disabled state [ 389.199515] 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__->