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.023913] br0: port 1(s0) entered blocking state [ 432.024291] br0: port 1(s0) entered disabled state [ 432.024556] s0: entered allmulticast mode [ 432.024907] s0: entered promiscuous mode [ 432.041057] bond0: (slave eth0): making interface the new active one [ 432.041528] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.042293] br0: port 1(s0) entered blocking state [ 432.042556] br0: port 1(s0) entered forwarding state [ 432.108029] br0: port 2(s1) entered blocking state [ 432.108418] br0: port 2(s1) entered disabled state [ 432.108812] s1: entered allmulticast mode [ 432.109222] s1: entered promiscuous mode [ 432.124122] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 432.124590] br0: port 2(s1) entered blocking state [ 432.124859] br0: port 2(s1) entered forwarding state [ 432.251587] br0: port 3(c0) entered blocking state [ 432.251905] br0: port 3(c0) entered disabled state [ 432.252172] c0: entered allmulticast mode [ 432.252476] c0: entered promiscuous mode [ 432.269882] br0: port 3(c0) entered blocking state [ 432.270183] br0: port 3(c0) entered forwarding state [ 432.382422] bond0 (unregistering): (slave eth0): Releasing backup interface [ 432.391982] bond0 (unregistering): (slave eth1): Releasing backup interface [ 432.398877] bond0 (unregistering): Released all slaves [ 432.461013] bond0: (slave eth0): making interface the new active one [ 432.461562] bond0: (slave eth0): Enslaving as an active interface with an up link [ 432.480417] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.848333] 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.465184] eth0: left promiscuous mode [ 446.481901] bond0 (unregistering): (slave eth0): Releasing backup interface [ 446.492152] bond0 (unregistering): (slave eth1): Releasing backup interface [ 446.501858] bond0 (unregistering): Released all slaves [ 446.502631] br0: port 1(s0) entered disabled state [ 446.503054] br0: port 2(s1) entered disabled state [ 446.556461] bond0: (slave eth0): making interface the new active one [ 446.557048] bond0: (slave eth0): Enslaving as an active interface with an up link [ 446.558005] br0: port 1(s0) entered blocking state [ 446.558399] br0: port 1(s0) entered forwarding state [ 446.573196] bond0: (slave eth1): Enslaving as an active interface with an up link [ 446.574036] br0: port 2(s1) entered blocking state [ 446.574343] br0: port 2(s1) entered forwarding state [ 447.916326] 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.551611] eth0: left promiscuous mode [ 460.568772] bond0 (unregistering): (slave eth0): Releasing active interface [ 460.575981] bond0 (unregistering): (slave eth1): Releasing active interface [ 460.581913] bond0 (unregistering): Released all slaves [ 460.583062] br0: port 1(s0) entered disabled state [ 460.583597] br0: port 2(s1) entered disabled state [ 460.634282] bond0: (slave eth0): making interface the new active one [ 460.634694] bond0: (slave eth0): Enslaving as an active interface with an up link [ 460.635150] br0: port 1(s0) entered blocking state [ 460.635409] br0: port 1(s0) entered forwarding state [ 460.652846] bond0: (slave eth1): Enslaving as an active interface with an up link [ 460.653546] br0: port 2(s1) entered blocking state [ 460.653867] br0: port 2(s1) entered forwarding state [ 462.425381] 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.063157] eth0: left promiscuous mode [ 475.102609] br0: port 3(c0) entered disabled state [ 475.103270] c0 (unregistering): left allmulticast mode [ 475.103550] c0 (unregistering): left promiscuous mode [ 475.103854] br0: port 3(c0) entered disabled state [ 475.166513] br0: port 1(s0) entered disabled state [ 475.166963] bond0: (slave eth0): Releasing active interface [ 475.167283] bond0: (slave eth0): the permanent HWaddr of slave - f6:1c:55:66:ed:15 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 475.168207] bond0: (slave eth1): making interface the new active one [ 475.181072] s0 (unregistering): left allmulticast mode [ 475.181381] s0 (unregistering): left promiscuous mode [ 475.181652] br0: port 1(s0) entered disabled state [ 475.205134] br0: port 2(s1) entered disabled state [ 475.205556] bond0: (slave eth1): Releasing active interface [ 475.213367] s1 (unregistering): left allmulticast mode [ 475.213819] s1 (unregistering): left promiscuous mode [ 475.214216] br0: port 2(s1) entered disabled state [ 475.236699] 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__->