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 [ 337.972356] br0: port 1(s0) entered blocking state [ 337.972663] br0: port 1(s0) entered disabled state [ 337.972998] s0: entered allmulticast mode [ 337.973322] s0: entered promiscuous mode [ 337.988635] bond0: (slave eth0): making interface the new active one [ 337.989204] bond0: (slave eth0): Enslaving as an active interface with an up link [ 337.990148] br0: port 1(s0) entered blocking state [ 337.990529] br0: port 1(s0) entered forwarding state [ 338.051191] br0: port 2(s1) entered blocking state [ 338.051536] br0: port 2(s1) entered disabled state [ 338.051859] s1: entered allmulticast mode [ 338.052255] s1: entered promiscuous mode [ 338.067106] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 338.067771] br0: port 2(s1) entered blocking state [ 338.068141] br0: port 2(s1) entered forwarding state [ 338.182362] br0: port 3(c0) entered blocking state [ 338.182669] br0: port 3(c0) entered disabled state [ 338.182990] c0: entered allmulticast mode [ 338.183334] c0: entered promiscuous mode [ 338.197431] br0: port 3(c0) entered blocking state [ 338.197728] br0: port 3(c0) entered forwarding state [ 338.296403] bond0 (unregistering): (slave eth0): Releasing backup interface [ 338.305029] bond0 (unregistering): (slave eth1): Releasing backup interface [ 338.310945] bond0 (unregistering): Released all slaves [ 338.364385] bond0: (slave eth0): making interface the new active one [ 338.364927] bond0: (slave eth0): Enslaving as an active interface with an up link [ 338.379020] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 340.149293] 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 ] [ 352.753328] eth0: left promiscuous mode [ 352.770659] bond0 (unregistering): (slave eth0): Releasing backup interface [ 352.779187] bond0 (unregistering): (slave eth1): Releasing backup interface [ 352.786993] bond0 (unregistering): Released all slaves [ 352.788290] br0: port 1(s0) entered disabled state [ 352.788923] br0: port 2(s1) entered disabled state [ 352.840073] bond0: (slave eth0): making interface the new active one [ 352.840589] bond0: (slave eth0): Enslaving as an active interface with an up link [ 352.841429] br0: port 1(s0) entered blocking state [ 352.841763] br0: port 1(s0) entered forwarding state [ 352.857296] bond0: (slave eth1): Enslaving as an active interface with an up link [ 352.858121] br0: port 2(s1) entered blocking state [ 352.858444] br0: port 2(s1) entered forwarding state [ 354.317811] 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 ] [ 366.949640] eth0: left promiscuous mode [ 366.966146] bond0 (unregistering): (slave eth0): Releasing active interface [ 366.975994] bond0 (unregistering): (slave eth1): Releasing active interface [ 366.983944] bond0 (unregistering): Released all slaves [ 366.984887] br0: port 1(s0) entered disabled state [ 366.985310] br0: port 2(s1) entered disabled state [ 367.035968] bond0: (slave eth0): making interface the new active one [ 367.036408] bond0: (slave eth0): Enslaving as an active interface with an up link [ 367.036902] br0: port 1(s0) entered blocking state [ 367.037168] br0: port 1(s0) entered forwarding state [ 367.053955] bond0: (slave eth1): Enslaving as an active interface with an up link [ 367.054926] br0: port 2(s1) entered blocking state [ 367.055225] br0: port 2(s1) entered forwarding state [ 368.403669] 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 ] [ 381.048813] eth0: left promiscuous mode [ 381.089748] br0: port 3(c0) entered disabled state [ 381.090616] c0 (unregistering): left allmulticast mode [ 381.090967] c0 (unregistering): left promiscuous mode [ 381.091244] br0: port 3(c0) entered disabled state [ 381.164041] br0: port 1(s0) entered disabled state [ 381.164498] bond0: (slave eth0): Releasing active interface [ 381.164895] bond0: (slave eth0): the permanent HWaddr of slave - d6:0b:eb:2f:ca:ee - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 381.165800] bond0: (slave eth1): making interface the new active one [ 381.179185] s0 (unregistering): left allmulticast mode [ 381.179516] s0 (unregistering): left promiscuous mode [ 381.179811] br0: port 1(s0) entered disabled state [ 381.207782] br0: port 2(s1) entered disabled state [ 381.208493] bond0: (slave eth1): Releasing active interface [ 381.219431] s1 (unregistering): left allmulticast mode [ 381.219783] s1 (unregistering): left promiscuous mode [ 381.220062] br0: port 2(s1) entered disabled state [ 381.262585] 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__->