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.922646] br0: port 1(s0) entered blocking state [ 345.923067] br0: port 1(s0) entered disabled state [ 345.923462] s0: entered allmulticast mode [ 345.923786] s0: entered promiscuous mode [ 345.938505] bond0: (slave eth0): making interface the new active one [ 345.938900] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.939565] br0: port 1(s0) entered blocking state [ 345.939838] br0: port 1(s0) entered forwarding state [ 346.003337] br0: port 2(s1) entered blocking state [ 346.003845] br0: port 2(s1) entered disabled state [ 346.004283] s1: entered allmulticast mode [ 346.004745] s1: entered promiscuous mode [ 346.018859] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.019550] br0: port 2(s1) entered blocking state [ 346.019844] br0: port 2(s1) entered forwarding state [ 346.141938] br0: port 3(c0) entered blocking state [ 346.142244] br0: port 3(c0) entered disabled state [ 346.142507] c0: entered allmulticast mode [ 346.142854] c0: entered promiscuous mode [ 346.159164] br0: port 3(c0) entered blocking state [ 346.159489] br0: port 3(c0) entered forwarding state [ 346.260449] bond0 (unregistering): (slave eth0): Releasing backup interface [ 346.270869] bond0 (unregistering): (slave eth1): Releasing backup interface [ 346.279775] bond0 (unregistering): Released all slaves [ 346.328541] bond0: (slave eth0): making interface the new active one [ 346.329100] bond0: (slave eth0): Enslaving as an active interface with an up link [ 346.342062] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 348.662435] 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.215496] eth0: left promiscuous mode [ 361.231856] bond0 (unregistering): (slave eth0): Releasing backup interface [ 361.238860] bond0 (unregistering): (slave eth1): Releasing backup interface [ 361.244774] bond0 (unregistering): Released all slaves [ 361.245582] br0: port 1(s0) entered disabled state [ 361.245993] br0: port 2(s1) entered disabled state [ 361.295398] bond0: (slave eth0): making interface the new active one [ 361.295809] bond0: (slave eth0): Enslaving as an active interface with an up link [ 361.296456] br0: port 1(s0) entered blocking state [ 361.296728] br0: port 1(s0) entered forwarding state [ 361.313681] bond0: (slave eth1): Enslaving as an active interface with an up link [ 361.314652] br0: port 2(s1) entered blocking state [ 361.315046] br0: port 2(s1) entered forwarding state [ 362.817441] 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.423036] eth0: left promiscuous mode [ 375.436957] bond0 (unregistering): (slave eth0): Releasing active interface [ 375.449821] bond0 (unregistering): (slave eth1): Releasing active interface [ 375.458784] bond0 (unregistering): Released all slaves [ 375.459650] br0: port 1(s0) entered disabled state [ 375.460040] br0: port 2(s1) entered disabled state [ 375.506072] bond0: (slave eth0): making interface the new active one [ 375.506466] bond0: (slave eth0): Enslaving as an active interface with an up link [ 375.507086] br0: port 1(s0) entered blocking state [ 375.507347] br0: port 1(s0) entered forwarding state [ 375.520410] bond0: (slave eth1): Enslaving as an active interface with an up link [ 375.521090] br0: port 2(s1) entered blocking state [ 375.521354] br0: port 2(s1) entered forwarding state [ 377.390816] 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 ] [ 389.975157] eth0: left promiscuous mode [ 390.014535] br0: port 3(c0) entered disabled state [ 390.015333] c0 (unregistering): left allmulticast mode [ 390.015651] c0 (unregistering): left promiscuous mode [ 390.015937] br0: port 3(c0) entered disabled state [ 390.073363] br0: port 1(s0) entered disabled state [ 390.073908] bond0: (slave eth0): Releasing active interface [ 390.074207] bond0: (slave eth0): the permanent HWaddr of slave - e2:83:b0:bc:a6:1b - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 390.075187] bond0: (slave eth1): making interface the new active one [ 390.087018] s0 (unregistering): left allmulticast mode [ 390.087330] s0 (unregistering): left promiscuous mode [ 390.087608] br0: port 1(s0) entered disabled state [ 390.111185] br0: port 2(s1) entered disabled state [ 390.111567] bond0: (slave eth1): Releasing active interface [ 390.123304] s1 (unregistering): left allmulticast mode [ 390.123755] s1 (unregistering): left promiscuous mode [ 390.124153] br0: port 2(s1) entered disabled state [ 390.178497] 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__->