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 [ 344.916870] br0: port 1(s0) entered blocking state [ 344.917160] br0: port 1(s0) entered disabled state [ 344.917437] s0: entered allmulticast mode [ 344.917800] s0: entered promiscuous mode [ 344.929619] bond0: (slave eth0): making interface the new active one [ 344.930004] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.930704] br0: port 1(s0) entered blocking state [ 344.930965] br0: port 1(s0) entered forwarding state [ 344.986669] br0: port 2(s1) entered blocking state [ 344.986967] br0: port 2(s1) entered disabled state [ 344.987246] s1: entered allmulticast mode [ 344.987541] s1: entered promiscuous mode [ 345.000700] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.001157] br0: port 2(s1) entered blocking state [ 345.001412] br0: port 2(s1) entered forwarding state [ 345.110282] br0: port 3(c0) entered blocking state [ 345.110585] br0: port 3(c0) entered disabled state [ 345.110859] c0: entered allmulticast mode [ 345.111164] c0: entered promiscuous mode [ 345.124064] br0: port 3(c0) entered blocking state [ 345.124439] br0: port 3(c0) entered forwarding state [ 345.221598] bond0 (unregistering): (slave eth0): Releasing backup interface [ 345.233840] bond0 (unregistering): (slave eth1): Releasing backup interface [ 345.242843] bond0 (unregistering): Released all slaves [ 345.293337] bond0: (slave eth0): making interface the new active one [ 345.293723] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.309772] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 347.279985] 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 ] [ 359.880196] eth0: left promiscuous mode [ 359.895900] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.908900] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.917891] bond0 (unregistering): Released all slaves [ 359.919149] br0: port 1(s0) entered disabled state [ 359.919786] br0: port 2(s1) entered disabled state [ 359.974987] bond0: (slave eth0): making interface the new active one [ 359.975487] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.976297] br0: port 1(s0) entered blocking state [ 359.976654] br0: port 1(s0) entered forwarding state [ 359.992125] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.992905] br0: port 2(s1) entered blocking state [ 359.993202] br0: port 2(s1) entered forwarding state [ 361.343486] 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 ] [ 373.952315] eth0: left promiscuous mode [ 373.966078] bond0 (unregistering): (slave eth0): Releasing active interface [ 373.976850] bond0 (unregistering): (slave eth1): Releasing active interface [ 373.985775] bond0 (unregistering): Released all slaves [ 373.986603] br0: port 1(s0) entered disabled state [ 373.986985] br0: port 2(s1) entered disabled state [ 374.030442] bond0: (slave eth0): making interface the new active one [ 374.030850] bond0: (slave eth0): Enslaving as an active interface with an up link [ 374.031527] br0: port 1(s0) entered blocking state [ 374.031798] br0: port 1(s0) entered forwarding state [ 374.046311] bond0: (slave eth1): Enslaving as an active interface with an up link [ 374.047003] br0: port 2(s1) entered blocking state [ 374.047279] br0: port 2(s1) entered forwarding state [ 375.497884] 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 ] [ 388.112573] eth0: left promiscuous mode [ 388.152244] br0: port 3(c0) entered disabled state [ 388.153320] c0 (unregistering): left allmulticast mode [ 388.153771] c0 (unregistering): left promiscuous mode [ 388.154171] br0: port 3(c0) entered disabled state [ 388.222021] br0: port 1(s0) entered disabled state [ 388.222452] bond0: (slave eth0): Releasing active interface [ 388.222775] bond0: (slave eth0): the permanent HWaddr of slave - 06:aa:45:7d:ff:c8 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 388.223574] bond0: (slave eth1): making interface the new active one [ 388.237157] s0 (unregistering): left allmulticast mode [ 388.237559] s0 (unregistering): left promiscuous mode [ 388.237900] br0: port 1(s0) entered disabled state [ 388.264708] br0: port 2(s1) entered disabled state [ 388.265095] bond0: (slave eth1): Releasing active interface [ 388.275329] s1 (unregistering): left allmulticast mode [ 388.275728] s1 (unregistering): left promiscuous mode [ 388.276066] br0: port 2(s1) entered disabled state [ 388.299291] 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__->