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 [ 349.851302] br0: port 1(s0) entered blocking state [ 349.851707] br0: port 1(s0) entered disabled state [ 349.852088] s0: entered allmulticast mode [ 349.852490] s0: entered promiscuous mode [ 349.867887] bond0: (slave eth0): making interface the new active one [ 349.868461] bond0: (slave eth0): Enslaving as an active interface with an up link [ 349.869455] br0: port 1(s0) entered blocking state [ 349.869881] br0: port 1(s0) entered forwarding state [ 349.926687] br0: port 2(s1) entered blocking state [ 349.927006] br0: port 2(s1) entered disabled state [ 349.927283] s1: entered allmulticast mode [ 349.927582] s1: entered promiscuous mode [ 349.941645] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 349.942341] br0: port 2(s1) entered blocking state [ 349.942621] br0: port 2(s1) entered forwarding state [ 350.062984] br0: port 3(c0) entered blocking state [ 350.063272] br0: port 3(c0) entered disabled state [ 350.063533] c0: entered allmulticast mode [ 350.063900] c0: entered promiscuous mode [ 350.078794] br0: port 3(c0) entered blocking state [ 350.079078] br0: port 3(c0) entered forwarding state [ 350.177530] bond0 (unregistering): (slave eth0): Releasing backup interface [ 350.187983] bond0 (unregistering): (slave eth1): Releasing backup interface [ 350.193833] bond0 (unregistering): Released all slaves [ 350.237898] bond0: (slave eth0): making interface the new active one [ 350.238271] bond0: (slave eth0): Enslaving as an active interface with an up link [ 350.251877] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 351.989435] 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 ] [ 364.573639] eth0: left promiscuous mode [ 364.587198] bond0 (unregistering): (slave eth0): Releasing backup interface [ 364.597066] bond0 (unregistering): (slave eth1): Releasing backup interface [ 364.602870] bond0 (unregistering): Released all slaves [ 364.603645] br0: port 1(s0) entered disabled state [ 364.604046] br0: port 2(s1) entered disabled state [ 364.647342] bond0: (slave eth0): making interface the new active one [ 364.647738] bond0: (slave eth0): Enslaving as an active interface with an up link [ 364.648346] br0: port 1(s0) entered blocking state [ 364.648608] br0: port 1(s0) entered forwarding state [ 364.662641] bond0: (slave eth1): Enslaving as an active interface with an up link [ 364.663565] br0: port 2(s1) entered blocking state [ 364.663963] br0: port 2(s1) entered forwarding state [ 365.929555] 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 ] [ 378.452093] eth0: left promiscuous mode [ 378.467344] bond0 (unregistering): (slave eth0): Releasing active interface [ 378.474945] bond0 (unregistering): (slave eth1): Releasing active interface [ 378.480921] bond0 (unregistering): Released all slaves [ 378.482132] br0: port 1(s0) entered disabled state [ 378.482650] br0: port 2(s1) entered disabled state [ 378.527922] bond0: (slave eth0): making interface the new active one [ 378.528309] bond0: (slave eth0): Enslaving as an active interface with an up link [ 378.528989] br0: port 1(s0) entered blocking state [ 378.529284] br0: port 1(s0) entered forwarding state [ 378.542352] bond0: (slave eth1): Enslaving as an active interface with an up link [ 378.542907] br0: port 2(s1) entered blocking state [ 378.543215] br0: port 2(s1) entered forwarding state [ 379.804585] 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 ] [ 392.388628] eth0: left promiscuous mode [ 392.433966] br0: port 3(c0) entered disabled state [ 392.434692] c0 (unregistering): left allmulticast mode [ 392.435092] c0 (unregistering): left promiscuous mode [ 392.435388] br0: port 3(c0) entered disabled state [ 392.503794] br0: port 1(s0) entered disabled state [ 392.504234] bond0: (slave eth0): Releasing active interface [ 392.504541] bond0: (slave eth0): the permanent HWaddr of slave - 72:16:8c:fa:68:6b - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 392.505395] bond0: (slave eth1): making interface the new active one [ 392.516095] s0 (unregistering): left allmulticast mode [ 392.516421] s0 (unregistering): left promiscuous mode [ 392.516686] br0: port 1(s0) entered disabled state [ 392.540440] br0: port 2(s1) entered disabled state [ 392.540934] bond0: (slave eth1): Releasing active interface [ 392.548277] s1 (unregistering): left allmulticast mode [ 392.548664] s1 (unregistering): left promiscuous mode [ 392.549025] br0: port 2(s1) entered disabled state [ 392.571827] 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__->