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 [ 428.941466] br0: port 1(s0) entered blocking state [ 428.941881] br0: port 1(s0) entered disabled state [ 428.942265] s0: entered allmulticast mode [ 428.942696] s0: entered promiscuous mode [ 428.960002] bond0: (slave eth0): making interface the new active one [ 428.960551] bond0: (slave eth0): Enslaving as an active interface with an up link [ 428.961548] br0: port 1(s0) entered blocking state [ 428.961938] br0: port 1(s0) entered forwarding state [ 429.027702] br0: port 2(s1) entered blocking state [ 429.028134] br0: port 2(s1) entered disabled state [ 429.028478] s1: entered allmulticast mode [ 429.028864] s1: entered promiscuous mode [ 429.044053] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 429.044790] br0: port 2(s1) entered blocking state [ 429.045065] br0: port 2(s1) entered forwarding state [ 429.174356] br0: port 3(c0) entered blocking state [ 429.174641] br0: port 3(c0) entered disabled state [ 429.174918] c0: entered allmulticast mode [ 429.175209] c0: entered promiscuous mode [ 429.192637] br0: port 3(c0) entered blocking state [ 429.193064] br0: port 3(c0) entered forwarding state [ 429.303326] bond0 (unregistering): (slave eth0): Releasing backup interface [ 429.315048] bond0 (unregistering): (slave eth1): Releasing backup interface [ 429.323972] bond0 (unregistering): Released all slaves [ 429.379574] bond0: (slave eth0): making interface the new active one [ 429.380009] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.397276] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 430.878265] 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 ] [ 443.471954] eth0: left promiscuous mode [ 443.486753] bond0 (unregistering): (slave eth0): Releasing backup interface [ 443.500082] bond0 (unregistering): (slave eth1): Releasing backup interface [ 443.505963] bond0 (unregistering): Released all slaves [ 443.506868] br0: port 1(s0) entered disabled state [ 443.507261] br0: port 2(s1) entered disabled state [ 443.556605] bond0: (slave eth0): making interface the new active one [ 443.557074] bond0: (slave eth0): Enslaving as an active interface with an up link [ 443.557732] br0: port 1(s0) entered blocking state [ 443.558118] br0: port 1(s0) entered forwarding state [ 443.573403] bond0: (slave eth1): Enslaving as an active interface with an up link [ 443.574337] br0: port 2(s1) entered blocking state [ 443.574718] br0: port 2(s1) entered forwarding state [ 445.176900] 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 ] [ 457.754512] eth0: left promiscuous mode [ 457.770132] bond0 (unregistering): (slave eth0): Releasing active interface [ 457.782015] bond0 (unregistering): (slave eth1): Releasing active interface [ 457.794935] bond0 (unregistering): Released all slaves [ 457.795697] br0: port 1(s0) entered disabled state [ 457.796117] br0: port 2(s1) entered disabled state [ 457.842399] bond0: (slave eth0): making interface the new active one [ 457.842980] bond0: (slave eth0): Enslaving as an active interface with an up link [ 457.843925] br0: port 1(s0) entered blocking state [ 457.844309] br0: port 1(s0) entered forwarding state [ 457.857435] bond0: (slave eth1): Enslaving as an active interface with an up link [ 457.858169] br0: port 2(s1) entered blocking state [ 457.858451] br0: port 2(s1) entered forwarding state [ 459.156799] 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 ] [ 471.788985] eth0: left promiscuous mode [ 471.830358] br0: port 3(c0) entered disabled state [ 471.831386] c0 (unregistering): left allmulticast mode [ 471.831824] c0 (unregistering): left promiscuous mode [ 471.832211] br0: port 3(c0) entered disabled state [ 471.896436] br0: port 1(s0) entered disabled state [ 471.896875] bond0: (slave eth0): Releasing active interface [ 471.897170] bond0: (slave eth0): the permanent HWaddr of slave - b2:60:09:ab:85:fd - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 471.898014] bond0: (slave eth1): making interface the new active one [ 471.908184] s0 (unregistering): left allmulticast mode [ 471.908486] s0 (unregistering): left promiscuous mode [ 471.908749] br0: port 1(s0) entered disabled state [ 471.931937] br0: port 2(s1) entered disabled state [ 471.932329] bond0: (slave eth1): Releasing active interface [ 471.942265] s1 (unregistering): left allmulticast mode [ 471.942558] s1 (unregistering): left promiscuous mode [ 471.942855] br0: port 2(s1) entered disabled state [ 471.966300] 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__->