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 [ 336.938550] br0: port 1(s0) entered blocking state [ 336.938979] br0: port 1(s0) entered disabled state [ 336.939355] s0: entered allmulticast mode [ 336.939775] s0: entered promiscuous mode [ 336.954847] bond0: (slave eth0): making interface the new active one [ 336.955385] bond0: (slave eth0): Enslaving as an active interface with an up link [ 336.956037] br0: port 1(s0) entered blocking state [ 336.956415] br0: port 1(s0) entered forwarding state [ 337.017471] br0: port 2(s1) entered blocking state [ 337.017821] br0: port 2(s1) entered disabled state [ 337.018101] s1: entered allmulticast mode [ 337.018383] s1: entered promiscuous mode [ 337.033099] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 337.033777] br0: port 2(s1) entered blocking state [ 337.034039] br0: port 2(s1) entered forwarding state [ 337.144888] br0: port 3(c0) entered blocking state [ 337.145173] br0: port 3(c0) entered disabled state [ 337.145447] c0: entered allmulticast mode [ 337.145764] c0: entered promiscuous mode [ 337.160233] br0: port 3(c0) entered blocking state [ 337.160531] br0: port 3(c0) entered forwarding state [ 337.256409] bond0 (unregistering): (slave eth0): Releasing backup interface [ 337.266970] bond0 (unregistering): (slave eth1): Releasing backup interface [ 337.272859] bond0 (unregistering): Released all slaves [ 337.318879] bond0: (slave eth0): making interface the new active one [ 337.319259] bond0: (slave eth0): Enslaving as an active interface with an up link [ 337.333588] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 338.787411] 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 ] [ 351.344152] eth0: left promiscuous mode [ 351.359012] bond0 (unregistering): (slave eth0): Releasing backup interface [ 351.369011] bond0 (unregistering): (slave eth1): Releasing backup interface [ 351.374874] bond0 (unregistering): Released all slaves [ 351.375681] br0: port 1(s0) entered disabled state [ 351.376078] br0: port 2(s1) entered disabled state [ 351.421116] bond0: (slave eth0): making interface the new active one [ 351.421506] bond0: (slave eth0): Enslaving as an active interface with an up link [ 351.422151] br0: port 1(s0) entered blocking state [ 351.422413] br0: port 1(s0) entered forwarding state [ 351.436876] bond0: (slave eth1): Enslaving as an active interface with an up link [ 351.437558] br0: port 2(s1) entered blocking state [ 351.437849] br0: port 2(s1) entered forwarding state [ 352.774934] 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 ] [ 365.346499] eth0: left promiscuous mode [ 365.359582] bond0 (unregistering): (slave eth0): Releasing active interface [ 365.369046] bond0 (unregistering): (slave eth1): Releasing active interface [ 365.374915] bond0 (unregistering): Released all slaves [ 365.376109] br0: port 1(s0) entered disabled state [ 365.376548] br0: port 2(s1) entered disabled state [ 365.419733] bond0: (slave eth0): making interface the new active one [ 365.420138] bond0: (slave eth0): Enslaving as an active interface with an up link [ 365.420836] br0: port 1(s0) entered blocking state [ 365.421098] br0: port 1(s0) entered forwarding state [ 365.433041] bond0: (slave eth1): Enslaving as an active interface with an up link [ 365.433645] br0: port 2(s1) entered blocking state [ 365.433916] br0: port 2(s1) entered forwarding state [ 367.158574] 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 ] [ 379.762460] eth0: left promiscuous mode [ 379.816520] br0: port 3(c0) entered disabled state [ 379.817256] c0 (unregistering): left allmulticast mode [ 379.817540] c0 (unregistering): left promiscuous mode [ 379.817837] br0: port 3(c0) entered disabled state [ 379.887097] br0: port 1(s0) entered disabled state [ 379.887523] bond0: (slave eth0): Releasing active interface [ 379.887867] bond0: (slave eth0): the permanent HWaddr of slave - 66:53:ee:51:74:c1 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 379.888707] bond0: (slave eth1): making interface the new active one [ 379.899192] s0 (unregistering): left allmulticast mode [ 379.899487] s0 (unregistering): left promiscuous mode [ 379.899795] br0: port 1(s0) entered disabled state [ 379.922234] br0: port 2(s1) entered disabled state [ 379.922643] bond0: (slave eth1): Releasing active interface [ 379.933325] s1 (unregistering): left allmulticast mode [ 379.933622] s1 (unregistering): left promiscuous mode [ 379.933906] br0: port 2(s1) entered disabled state [ 379.987917] 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__->