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 [ 341.011510] br0: port 1(s0) entered blocking state [ 341.011802] br0: port 1(s0) entered disabled state [ 341.012165] s0: entered allmulticast mode [ 341.012497] s0: entered promiscuous mode [ 341.025452] bond0: (slave eth0): making interface the new active one [ 341.025858] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.026589] br0: port 1(s0) entered blocking state [ 341.026861] br0: port 1(s0) entered forwarding state [ 341.083453] br0: port 2(s1) entered blocking state [ 341.083829] br0: port 2(s1) entered disabled state [ 341.084160] s1: entered allmulticast mode [ 341.084519] s1: entered promiscuous mode [ 341.099780] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 341.100776] br0: port 2(s1) entered blocking state [ 341.101165] br0: port 2(s1) entered forwarding state [ 341.212797] br0: port 3(c0) entered blocking state [ 341.213264] br0: port 3(c0) entered disabled state [ 341.213639] c0: entered allmulticast mode [ 341.214146] c0: entered promiscuous mode [ 341.228385] br0: port 3(c0) entered blocking state [ 341.228690] br0: port 3(c0) entered forwarding state [ 341.319281] bond0 (unregistering): (slave eth0): Releasing backup interface [ 341.328015] bond0 (unregistering): (slave eth1): Releasing backup interface [ 341.333939] bond0 (unregistering): Released all slaves [ 341.380446] bond0: (slave eth0): making interface the new active one [ 341.380944] bond0: (slave eth0): Enslaving as an active interface with an up link [ 341.395175] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 343.861582] 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 ] [ 356.421138] eth0: left promiscuous mode [ 356.434747] bond0 (unregistering): (slave eth0): Releasing backup interface [ 356.444160] bond0 (unregistering): (slave eth1): Releasing backup interface [ 356.449953] bond0 (unregistering): Released all slaves [ 356.450754] br0: port 1(s0) entered disabled state [ 356.451209] br0: port 2(s1) entered disabled state [ 356.500399] bond0: (slave eth0): making interface the new active one [ 356.500784] bond0: (slave eth0): Enslaving as an active interface with an up link [ 356.501413] br0: port 1(s0) entered blocking state [ 356.501675] br0: port 1(s0) entered forwarding state [ 356.517033] bond0: (slave eth1): Enslaving as an active interface with an up link [ 356.517667] br0: port 2(s1) entered blocking state [ 356.517938] br0: port 2(s1) entered forwarding state [ 357.835783] 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 ] [ 370.406953] eth0: left promiscuous mode [ 370.424399] bond0 (unregistering): (slave eth0): Releasing active interface [ 370.433121] bond0 (unregistering): (slave eth1): Releasing active interface [ 370.440989] bond0 (unregistering): Released all slaves [ 370.441934] br0: port 1(s0) entered disabled state [ 370.442335] br0: port 2(s1) entered disabled state [ 370.500126] bond0: (slave eth0): making interface the new active one [ 370.500534] bond0: (slave eth0): Enslaving as an active interface with an up link [ 370.501231] br0: port 1(s0) entered blocking state [ 370.501534] br0: port 1(s0) entered forwarding state [ 370.517289] bond0: (slave eth1): Enslaving as an active interface with an up link [ 370.517747] br0: port 2(s1) entered blocking state [ 370.518013] br0: port 2(s1) entered forwarding state [ 372.122841] 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 ] [ 384.718287] eth0: left promiscuous mode [ 384.756214] br0: port 3(c0) entered disabled state [ 384.757035] c0 (unregistering): left allmulticast mode [ 384.757326] c0 (unregistering): left promiscuous mode [ 384.757589] br0: port 3(c0) entered disabled state [ 384.822539] br0: port 1(s0) entered disabled state [ 384.823170] bond0: (slave eth0): Releasing active interface [ 384.823489] bond0: (slave eth0): the permanent HWaddr of slave - 32:ea:55:3e:ee:33 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 384.824580] bond0: (slave eth1): making interface the new active one [ 384.839328] s0 (unregistering): left allmulticast mode [ 384.839712] s0 (unregistering): left promiscuous mode [ 384.840077] br0: port 1(s0) entered disabled state [ 384.865982] br0: port 2(s1) entered disabled state [ 384.866768] bond0: (slave eth1): Releasing active interface [ 384.878538] s1 (unregistering): left allmulticast mode [ 384.879009] s1 (unregistering): left promiscuous mode [ 384.879432] br0: port 2(s1) entered disabled state [ 384.903273] 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__->