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 [ 430.976200] br0: port 1(s0) entered blocking state [ 430.976600] br0: port 1(s0) entered disabled state [ 430.977161] s0: entered allmulticast mode [ 430.977591] s0: entered promiscuous mode [ 430.991657] bond0: (slave eth0): making interface the new active one [ 430.992049] bond0: (slave eth0): Enslaving as an active interface with an up link [ 430.992756] br0: port 1(s0) entered blocking state [ 430.993034] br0: port 1(s0) entered forwarding state [ 431.054663] br0: port 2(s1) entered blocking state [ 431.054970] br0: port 2(s1) entered disabled state [ 431.055247] s1: entered allmulticast mode [ 431.055556] s1: entered promiscuous mode [ 431.070608] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 431.071461] br0: port 2(s1) entered blocking state [ 431.071736] br0: port 2(s1) entered forwarding state [ 431.202381] br0: port 3(c0) entered blocking state [ 431.202870] br0: port 3(c0) entered disabled state [ 431.203248] c0: entered allmulticast mode [ 431.203721] c0: entered promiscuous mode [ 431.219921] br0: port 3(c0) entered blocking state [ 431.220242] br0: port 3(c0) entered forwarding state [ 431.333688] bond0 (unregistering): (slave eth0): Releasing backup interface [ 431.344853] bond0 (unregistering): (slave eth1): Releasing backup interface [ 431.352839] bond0 (unregistering): Released all slaves [ 431.402365] bond0: (slave eth0): making interface the new active one [ 431.402906] bond0: (slave eth0): Enslaving as an active interface with an up link [ 431.417521] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.176112] 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 ] [ 445.829176] eth0: left promiscuous mode [ 445.845353] bond0 (unregistering): (slave eth0): Releasing backup interface [ 445.857998] bond0 (unregistering): (slave eth1): Releasing backup interface [ 445.863833] bond0 (unregistering): Released all slaves [ 445.864734] br0: port 1(s0) entered disabled state [ 445.865172] br0: port 2(s1) entered disabled state [ 445.915192] bond0: (slave eth0): making interface the new active one [ 445.915608] bond0: (slave eth0): Enslaving as an active interface with an up link [ 445.916299] br0: port 1(s0) entered blocking state [ 445.916576] br0: port 1(s0) entered forwarding state [ 445.930940] bond0: (slave eth1): Enslaving as an active interface with an up link [ 445.931674] br0: port 2(s1) entered blocking state [ 445.931961] br0: port 2(s1) entered forwarding state [ 447.281240] 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 ] [ 459.845818] eth0: left promiscuous mode [ 459.859665] bond0 (unregistering): (slave eth0): Releasing active interface [ 459.868992] bond0 (unregistering): (slave eth1): Releasing active interface [ 459.874850] bond0 (unregistering): Released all slaves [ 459.875936] br0: port 1(s0) entered disabled state [ 459.876437] br0: port 2(s1) entered disabled state [ 459.926680] bond0: (slave eth0): making interface the new active one [ 459.927233] bond0: (slave eth0): Enslaving as an active interface with an up link [ 459.928150] br0: port 1(s0) entered blocking state [ 459.928519] br0: port 1(s0) entered forwarding state [ 459.942033] bond0: (slave eth1): Enslaving as an active interface with an up link [ 459.942486] br0: port 2(s1) entered blocking state [ 459.942754] br0: port 2(s1) entered forwarding state [ 461.245208] 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 ] [ 473.900790] eth0: left promiscuous mode [ 473.944758] br0: port 3(c0) entered disabled state [ 473.945436] c0 (unregistering): left allmulticast mode [ 473.945731] c0 (unregistering): left promiscuous mode [ 473.945993] br0: port 3(c0) entered disabled state [ 474.022740] br0: port 1(s0) entered disabled state [ 474.023352] bond0: (slave eth0): Releasing active interface [ 474.023686] bond0: (slave eth0): the permanent HWaddr of slave - 1e:5e:cc:e5:b5:a7 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 474.024515] bond0: (slave eth1): making interface the new active one [ 474.037277] s0 (unregistering): left allmulticast mode [ 474.037768] s0 (unregistering): left promiscuous mode [ 474.038174] br0: port 1(s0) entered disabled state [ 474.064072] br0: port 2(s1) entered disabled state [ 474.064778] bond0: (slave eth1): Releasing active interface [ 474.074314] s1 (unregistering): left allmulticast mode [ 474.074762] s1 (unregistering): left promiscuous mode [ 474.075158] br0: port 2(s1) entered disabled state [ 474.099294] 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__->