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 [ 358.987461] br0: port 1(s0) entered blocking state [ 358.987757] br0: port 1(s0) entered disabled state [ 358.988017] s0: entered allmulticast mode [ 358.988310] s0: entered promiscuous mode [ 359.002090] bond0: (slave eth0): making interface the new active one [ 359.002482] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.003229] br0: port 1(s0) entered blocking state [ 359.003511] br0: port 1(s0) entered forwarding state [ 359.058955] br0: port 2(s1) entered blocking state [ 359.059433] br0: port 2(s1) entered disabled state [ 359.059834] s1: entered allmulticast mode [ 359.060266] s1: entered promiscuous mode [ 359.075733] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 359.076666] br0: port 2(s1) entered blocking state [ 359.077033] br0: port 2(s1) entered forwarding state [ 359.198558] br0: port 3(c0) entered blocking state [ 359.198975] br0: port 3(c0) entered disabled state [ 359.199365] c0: entered allmulticast mode [ 359.199800] c0: entered promiscuous mode [ 359.218445] br0: port 3(c0) entered blocking state [ 359.218875] br0: port 3(c0) entered forwarding state [ 359.323363] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.334345] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.340292] bond0 (unregistering): Released all slaves [ 359.395646] bond0: (slave eth0): making interface the new active one [ 359.396044] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.411078] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 361.663303] 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 ] [ 374.234545] eth0: left promiscuous mode [ 374.249814] bond0 (unregistering): (slave eth0): Releasing backup interface [ 374.261225] bond0 (unregistering): (slave eth1): Releasing backup interface [ 374.269196] bond0 (unregistering): Released all slaves [ 374.269961] br0: port 1(s0) entered disabled state [ 374.270346] br0: port 2(s1) entered disabled state [ 374.315977] bond0: (slave eth0): making interface the new active one [ 374.316630] bond0: (slave eth0): Enslaving as an active interface with an up link [ 374.317540] br0: port 1(s0) entered blocking state [ 374.317934] br0: port 1(s0) entered forwarding state [ 374.331450] bond0: (slave eth1): Enslaving as an active interface with an up link [ 374.332327] br0: port 2(s1) entered blocking state [ 374.332690] br0: port 2(s1) entered forwarding state [ 376.196662] 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 ] [ 388.775495] eth0: left promiscuous mode [ 388.792048] bond0 (unregistering): (slave eth0): Releasing active interface [ 388.804330] bond0 (unregistering): (slave eth1): Releasing active interface [ 388.813248] bond0 (unregistering): Released all slaves [ 388.814145] br0: port 1(s0) entered disabled state [ 388.814507] br0: port 2(s1) entered disabled state [ 388.860965] bond0: (slave eth0): making interface the new active one [ 388.861416] bond0: (slave eth0): Enslaving as an active interface with an up link [ 388.862118] br0: port 1(s0) entered blocking state [ 388.862410] br0: port 1(s0) entered forwarding state [ 388.880219] bond0: (slave eth1): Enslaving as an active interface with an up link [ 388.880949] br0: port 2(s1) entered blocking state [ 388.881261] br0: port 2(s1) entered forwarding state [ 390.900719] 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 ] [ 403.518110] eth0: left promiscuous mode [ 403.554365] br0: port 3(c0) entered disabled state [ 403.555021] c0 (unregistering): left allmulticast mode [ 403.555319] c0 (unregistering): left promiscuous mode [ 403.555581] br0: port 3(c0) entered disabled state [ 403.622200] br0: port 1(s0) entered disabled state [ 403.622736] bond0: (slave eth0): Releasing active interface [ 403.623033] bond0: (slave eth0): the permanent HWaddr of slave - 76:ca:53:91:0c:b5 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 403.623894] bond0: (slave eth1): making interface the new active one [ 403.636522] s0 (unregistering): left allmulticast mode [ 403.636836] s0 (unregistering): left promiscuous mode [ 403.637141] br0: port 1(s0) entered disabled state [ 403.661004] br0: port 2(s1) entered disabled state [ 403.661638] bond0: (slave eth1): Releasing active interface [ 403.673572] s1 (unregistering): left allmulticast mode [ 403.673936] s1 (unregistering): left promiscuous mode [ 403.674287] br0: port 2(s1) entered disabled state [ 403.725739] 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__->