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 [ 425.843135] br0: port 1(s0) entered blocking state [ 425.843449] br0: port 1(s0) entered disabled state [ 425.843717] s0: entered allmulticast mode [ 425.844030] s0: entered promiscuous mode [ 425.856553] bond0: (slave eth0): making interface the new active one [ 425.857070] bond0: (slave eth0): Enslaving as an active interface with an up link [ 425.858031] br0: port 1(s0) entered blocking state [ 425.858412] br0: port 1(s0) entered forwarding state [ 425.909944] br0: port 2(s1) entered blocking state [ 425.910239] br0: port 2(s1) entered disabled state [ 425.910500] s1: entered allmulticast mode [ 425.910790] s1: entered promiscuous mode [ 425.923642] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 425.924375] br0: port 2(s1) entered blocking state [ 425.924658] br0: port 2(s1) entered forwarding state [ 426.029838] br0: port 3(c0) entered blocking state [ 426.030201] br0: port 3(c0) entered disabled state [ 426.030468] c0: entered allmulticast mode [ 426.030761] c0: entered promiscuous mode [ 426.046299] br0: port 3(c0) entered blocking state [ 426.046620] br0: port 3(c0) entered forwarding state [ 426.141109] bond0 (unregistering): (slave eth0): Releasing backup interface [ 426.154040] bond0 (unregistering): (slave eth1): Releasing backup interface [ 426.171942] bond0 (unregistering): Released all slaves [ 426.214672] bond0: (slave eth0): making interface the new active one [ 426.215134] bond0: (slave eth0): Enslaving as an active interface with an up link [ 426.228298] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 428.851647] 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 ] [ 441.440164] eth0: left promiscuous mode [ 441.458153] bond0 (unregistering): (slave eth0): Releasing backup interface [ 441.470148] bond0 (unregistering): (slave eth1): Releasing backup interface [ 441.479004] bond0 (unregistering): Released all slaves [ 441.479794] br0: port 1(s0) entered disabled state [ 441.480268] br0: port 2(s1) entered disabled state [ 441.530142] bond0: (slave eth0): making interface the new active one [ 441.530536] bond0: (slave eth0): Enslaving as an active interface with an up link [ 441.530980] br0: port 1(s0) entered blocking state [ 441.531241] br0: port 1(s0) entered forwarding state [ 441.546366] bond0: (slave eth1): Enslaving as an active interface with an up link [ 441.547059] br0: port 2(s1) entered blocking state [ 441.547328] br0: port 2(s1) entered forwarding state [ 442.892290] 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 ] [ 455.507907] eth0: left promiscuous mode [ 455.522984] bond0 (unregistering): (slave eth0): Releasing active interface [ 455.530244] bond0 (unregistering): (slave eth1): Releasing active interface [ 455.538019] bond0 (unregistering): Released all slaves [ 455.538919] br0: port 1(s0) entered disabled state [ 455.539379] br0: port 2(s1) entered disabled state [ 455.590638] bond0: (slave eth0): making interface the new active one [ 455.591166] bond0: (slave eth0): Enslaving as an active interface with an up link [ 455.591715] br0: port 1(s0) entered blocking state [ 455.592082] br0: port 1(s0) entered forwarding state [ 455.607877] bond0: (slave eth1): Enslaving as an active interface with an up link [ 455.608598] br0: port 2(s1) entered blocking state [ 455.608936] br0: port 2(s1) entered forwarding state [ 456.902031] 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 ] [ 469.533967] eth0: left promiscuous mode [ 469.571445] br0: port 3(c0) entered disabled state [ 469.572155] c0 (unregistering): left allmulticast mode [ 469.572448] c0 (unregistering): left promiscuous mode [ 469.572733] br0: port 3(c0) entered disabled state [ 469.634700] br0: port 1(s0) entered disabled state [ 469.635305] bond0: (slave eth0): Releasing active interface [ 469.635607] bond0: (slave eth0): the permanent HWaddr of slave - 6a:7e:f0:f9:c6:e8 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 469.636480] bond0: (slave eth1): making interface the new active one [ 469.649226] s0 (unregistering): left allmulticast mode [ 469.649562] s0 (unregistering): left promiscuous mode [ 469.649869] br0: port 1(s0) entered disabled state [ 469.672797] br0: port 2(s1) entered disabled state [ 469.673569] bond0: (slave eth1): Releasing active interface [ 469.686563] s1 (unregistering): left allmulticast mode [ 469.687082] s1 (unregistering): left promiscuous mode [ 469.687515] br0: port 2(s1) entered disabled state [ 469.710506] 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__->