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.984412] br0: port 1(s0) entered blocking state [ 428.984707] br0: port 1(s0) entered disabled state [ 428.985014] s0: entered allmulticast mode [ 428.985307] s0: entered promiscuous mode [ 429.001716] bond0: (slave eth0): making interface the new active one [ 429.002227] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.003061] br0: port 1(s0) entered blocking state [ 429.003405] br0: port 1(s0) entered forwarding state [ 429.067412] br0: port 2(s1) entered blocking state [ 429.067852] br0: port 2(s1) entered disabled state [ 429.068240] s1: entered allmulticast mode [ 429.068665] s1: entered promiscuous mode [ 429.085945] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 429.086700] br0: port 2(s1) entered blocking state [ 429.086983] br0: port 2(s1) entered forwarding state [ 429.210751] br0: port 3(c0) entered blocking state [ 429.211104] br0: port 3(c0) entered disabled state [ 429.211374] c0: entered allmulticast mode [ 429.211666] c0: entered promiscuous mode [ 429.227976] br0: port 3(c0) entered blocking state [ 429.228288] br0: port 3(c0) entered forwarding state [ 429.332838] bond0 (unregistering): (slave eth0): Releasing backup interface [ 429.344076] bond0 (unregistering): (slave eth1): Releasing backup interface [ 429.349926] bond0 (unregistering): Released all slaves [ 429.401274] bond0: (slave eth0): making interface the new active one [ 429.401836] bond0: (slave eth0): Enslaving as an active interface with an up link [ 429.417330] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.611703] 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 ] [ 444.214875] eth0: left promiscuous mode [ 444.231942] bond0 (unregistering): (slave eth0): Releasing backup interface [ 444.241992] bond0 (unregistering): (slave eth1): Releasing backup interface [ 444.250948] bond0 (unregistering): Released all slaves [ 444.251690] br0: port 1(s0) entered disabled state [ 444.252119] br0: port 2(s1) entered disabled state [ 444.306151] bond0: (slave eth0): making interface the new active one [ 444.306714] bond0: (slave eth0): Enslaving as an active interface with an up link [ 444.307643] br0: port 1(s0) entered blocking state [ 444.308023] br0: port 1(s0) entered forwarding state [ 444.323933] bond0: (slave eth1): Enslaving as an active interface with an up link [ 444.324557] br0: port 2(s1) entered blocking state [ 444.324923] br0: port 2(s1) entered forwarding state [ 445.628014] 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 ] [ 458.216164] eth0: left promiscuous mode [ 458.229364] bond0 (unregistering): (slave eth0): Releasing active interface [ 458.239064] bond0 (unregistering): (slave eth1): Releasing active interface [ 458.244960] bond0 (unregistering): Released all slaves [ 458.245970] br0: port 1(s0) entered disabled state [ 458.246335] br0: port 2(s1) entered disabled state [ 458.294652] bond0: (slave eth0): making interface the new active one [ 458.295069] bond0: (slave eth0): Enslaving as an active interface with an up link [ 458.295851] br0: port 1(s0) entered blocking state [ 458.296131] br0: port 1(s0) entered forwarding state [ 458.310353] bond0: (slave eth1): Enslaving as an active interface with an up link [ 458.311091] br0: port 2(s1) entered blocking state [ 458.311385] br0: port 2(s1) entered forwarding state [ 459.751650] 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 ] [ 472.384645] eth0: left promiscuous mode [ 472.421597] br0: port 3(c0) entered disabled state [ 472.422294] c0 (unregistering): left allmulticast mode [ 472.422590] c0 (unregistering): left promiscuous mode [ 472.422901] br0: port 3(c0) entered disabled state [ 472.483114] br0: port 1(s0) entered disabled state [ 472.483816] bond0: (slave eth0): Releasing active interface [ 472.484144] bond0: (slave eth0): the permanent HWaddr of slave - e2:44:61:50:c0:db - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 472.485065] bond0: (slave eth1): making interface the new active one [ 472.496210] s0 (unregistering): left allmulticast mode [ 472.496535] s0 (unregistering): left promiscuous mode [ 472.496837] br0: port 1(s0) entered disabled state [ 472.520537] br0: port 2(s1) entered disabled state [ 472.521006] bond0: (slave eth1): Releasing active interface [ 472.532277] s1 (unregistering): left allmulticast mode [ 472.532615] s1 (unregistering): left promiscuous mode [ 472.532923] br0: port 2(s1) entered disabled state [ 472.556161] 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__->