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.914660] br0: port 1(s0) entered blocking state [ 344.914982] br0: port 1(s0) entered disabled state [ 344.915258] s0: entered allmulticast mode [ 344.915560] s0: entered promiscuous mode [ 344.930046] bond0: (slave eth0): making interface the new active one [ 344.930436] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.931077] br0: port 1(s0) entered blocking state [ 344.931337] br0: port 1(s0) entered forwarding state [ 344.992151] br0: port 2(s1) entered blocking state [ 344.992568] br0: port 2(s1) entered disabled state [ 344.992964] s1: entered allmulticast mode [ 344.993389] s1: entered promiscuous mode [ 345.008646] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 345.009259] br0: port 2(s1) entered blocking state [ 345.009584] br0: port 2(s1) entered forwarding state [ 345.132007] br0: port 3(c0) entered blocking state [ 345.132355] br0: port 3(c0) entered disabled state [ 345.132714] c0: entered allmulticast mode [ 345.133064] c0: entered promiscuous mode [ 345.146846] br0: port 3(c0) entered blocking state [ 345.147145] br0: port 3(c0) entered forwarding state [ 345.252490] bond0 (unregistering): (slave eth0): Releasing backup interface [ 345.263915] bond0 (unregistering): (slave eth1): Releasing backup interface [ 345.272872] bond0 (unregistering): Released all slaves [ 345.326309] bond0: (slave eth0): making interface the new active one [ 345.326783] bond0: (slave eth0): Enslaving as an active interface with an up link [ 345.342034] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.984516] 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.586646] eth0: left promiscuous mode [ 359.602635] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.612954] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.618843] bond0 (unregistering): Released all slaves [ 359.619638] br0: port 1(s0) entered disabled state [ 359.620064] br0: port 2(s1) entered disabled state [ 359.667292] bond0: (slave eth0): making interface the new active one [ 359.667679] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.668331] br0: port 1(s0) entered blocking state [ 359.668592] br0: port 1(s0) entered forwarding state [ 359.684977] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.686059] br0: port 2(s1) entered blocking state [ 359.686450] br0: port 2(s1) entered forwarding state [ 361.791983] 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 ] [ 374.455567] eth0: left promiscuous mode [ 374.470607] bond0 (unregistering): (slave eth0): Releasing active interface [ 374.480214] bond0 (unregistering): (slave eth1): Releasing active interface [ 374.488887] bond0 (unregistering): Released all slaves [ 374.489810] br0: port 1(s0) entered disabled state [ 374.490195] br0: port 2(s1) entered disabled state [ 374.542549] bond0: (slave eth0): making interface the new active one [ 374.542971] bond0: (slave eth0): Enslaving as an active interface with an up link [ 374.543643] br0: port 1(s0) entered blocking state [ 374.543941] br0: port 1(s0) entered forwarding state [ 374.556973] bond0: (slave eth1): Enslaving as an active interface with an up link [ 374.557639] br0: port 2(s1) entered blocking state [ 374.557931] br0: port 2(s1) entered forwarding state [ 375.864940] 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.526843] eth0: left promiscuous mode [ 388.570432] br0: port 3(c0) entered disabled state [ 388.571098] c0 (unregistering): left allmulticast mode [ 388.571407] c0 (unregistering): left promiscuous mode [ 388.571671] br0: port 3(c0) entered disabled state [ 388.642239] br0: port 1(s0) entered disabled state [ 388.643051] bond0: (slave eth0): Releasing active interface [ 388.643356] bond0: (slave eth0): the permanent HWaddr of slave - 52:e7:e0:f5:cb:0b - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 388.644257] bond0: (slave eth1): making interface the new active one [ 388.660322] s0 (unregistering): left allmulticast mode [ 388.660777] s0 (unregistering): left promiscuous mode [ 388.661155] br0: port 1(s0) entered disabled state [ 388.685666] br0: port 2(s1) entered disabled state [ 388.686275] bond0: (slave eth1): Releasing active interface [ 388.696410] s1 (unregistering): left allmulticast mode [ 388.696891] s1 (unregistering): left promiscuous mode [ 388.697293] br0: port 2(s1) entered disabled state [ 388.724206] 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__->