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 [ 345.020409] br0: port 1(s0) entered blocking state [ 345.020850] br0: port 1(s0) entered disabled state [ 345.021216] s0: entered allmulticast mode [ 345.021622] s0: entered promiscuous mode [ 345.038041] bond0: (slave eth0): making interface the new active one [ 345.038419] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.039222] br0: port 1(s0) entered blocking state [ 345.039515] br0: port 1(s0) entered forwarding state [ 345.106824] br0: port 2(s1) entered blocking state [ 345.107217] br0: port 2(s1) entered disabled state [ 345.107574] s1: entered allmulticast mode [ 345.108001] s1: entered promiscuous mode [ 345.123362] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.124106] br0: port 2(s1) entered blocking state [ 345.124400] br0: port 2(s1) entered forwarding state [ 345.247145] br0: port 3(c0) entered blocking state [ 345.247435] br0: port 3(c0) entered disabled state [ 345.247780] c0: entered allmulticast mode [ 345.248148] c0: entered promiscuous mode [ 345.265299] br0: port 3(c0) entered blocking state [ 345.265737] br0: port 3(c0) entered forwarding state [ 345.368889] bond0 (unregistering): (slave eth0): Releasing backup interface [ 345.383971] bond0 (unregistering): (slave eth1): Releasing backup interface [ 345.389848] bond0 (unregistering): Released all slaves [ 345.439035] bond0: (slave eth0): making interface the new active one [ 345.439414] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.455150] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.783137] 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.351573] eth0: left promiscuous mode [ 359.366990] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.376000] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.381851] bond0 (unregistering): Released all slaves [ 359.382677] br0: port 1(s0) entered disabled state [ 359.383079] br0: port 2(s1) entered disabled state [ 359.430502] bond0: (slave eth0): making interface the new active one [ 359.430901] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.431503] br0: port 1(s0) entered blocking state [ 359.431773] br0: port 1(s0) entered forwarding state [ 359.444848] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.445527] br0: port 2(s1) entered blocking state [ 359.445811] br0: port 2(s1) entered forwarding state [ 361.053208] 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.668916] eth0: left promiscuous mode [ 373.683473] bond0 (unregistering): (slave eth0): Releasing active interface [ 373.692004] bond0 (unregistering): (slave eth1): Releasing active interface [ 373.697862] bond0 (unregistering): Released all slaves [ 373.698774] br0: port 1(s0) entered disabled state [ 373.699146] br0: port 2(s1) entered disabled state [ 373.743738] bond0: (slave eth0): making interface the new active one [ 373.744135] bond0: (slave eth0): Enslaving as an active interface with an up link [ 373.744964] br0: port 1(s0) entered blocking state [ 373.745243] br0: port 1(s0) entered forwarding state [ 373.758337] bond0: (slave eth1): Enslaving as an active interface with an up link [ 373.758990] br0: port 2(s1) entered blocking state [ 373.759259] br0: port 2(s1) entered forwarding state [ 375.643537] 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.237437] eth0: left promiscuous mode [ 388.286515] br0: port 3(c0) entered disabled state [ 388.287446] c0 (unregistering): left allmulticast mode [ 388.287768] c0 (unregistering): left promiscuous mode [ 388.288047] br0: port 3(c0) entered disabled state [ 388.353014] br0: port 1(s0) entered disabled state [ 388.353466] bond0: (slave eth0): Releasing active interface [ 388.353814] bond0: (slave eth0): the permanent HWaddr of slave - 0a:b0:26:5e:cb:37 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 388.354652] bond0: (slave eth1): making interface the new active one [ 388.366100] s0 (unregistering): left allmulticast mode [ 388.366404] s0 (unregistering): left promiscuous mode [ 388.366729] br0: port 1(s0) entered disabled state [ 388.389440] br0: port 2(s1) entered disabled state [ 388.390281] bond0: (slave eth1): Releasing active interface [ 388.398372] s1 (unregistering): left allmulticast mode [ 388.398780] s1 (unregistering): left promiscuous mode [ 388.399135] br0: port 2(s1) entered disabled state [ 388.424957] 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__->