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.074951] br0: port 1(s0) entered blocking state [ 344.075244] br0: port 1(s0) entered disabled state [ 344.075511] s0: entered allmulticast mode [ 344.075801] s0: entered promiscuous mode [ 344.088536] bond0: (slave eth0): making interface the new active one [ 344.088967] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.089585] br0: port 1(s0) entered blocking state [ 344.089852] br0: port 1(s0) entered forwarding state [ 344.142068] br0: port 2(s1) entered blocking state [ 344.142431] br0: port 2(s1) entered disabled state [ 344.142768] s1: entered allmulticast mode [ 344.143089] s1: entered promiscuous mode [ 344.156632] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 344.157444] br0: port 2(s1) entered blocking state [ 344.157721] br0: port 2(s1) entered forwarding state [ 344.261587] br0: port 3(c0) entered blocking state [ 344.261920] br0: port 3(c0) entered disabled state [ 344.262200] c0: entered allmulticast mode [ 344.262501] c0: entered promiscuous mode [ 344.276031] br0: port 3(c0) entered blocking state [ 344.276403] br0: port 3(c0) entered forwarding state [ 344.376123] bond0 (unregistering): (slave eth0): Releasing backup interface [ 344.387211] bond0 (unregistering): (slave eth1): Releasing backup interface [ 344.393122] bond0 (unregistering): Released all slaves [ 344.444418] bond0: (slave eth0): making interface the new active one [ 344.444932] bond0: (slave eth0): Enslaving as an active interface with an up link [ 344.461558] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 346.804955] 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.411512] eth0: left promiscuous mode [ 359.429755] bond0 (unregistering): (slave eth0): Releasing backup interface [ 359.442232] bond0 (unregistering): (slave eth1): Releasing backup interface [ 359.451063] bond0 (unregistering): Released all slaves [ 359.451938] br0: port 1(s0) entered disabled state [ 359.452332] br0: port 2(s1) entered disabled state [ 359.506148] bond0: (slave eth0): making interface the new active one [ 359.506578] bond0: (slave eth0): Enslaving as an active interface with an up link [ 359.507276] br0: port 1(s0) entered blocking state [ 359.507548] br0: port 1(s0) entered forwarding state [ 359.525337] bond0: (slave eth1): Enslaving as an active interface with an up link [ 359.526374] br0: port 2(s1) entered blocking state [ 359.526767] br0: port 2(s1) entered forwarding state [ 360.725447] 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.332100] eth0: left promiscuous mode [ 373.347673] bond0 (unregistering): (slave eth0): Releasing active interface [ 373.359147] bond0 (unregistering): (slave eth1): Releasing active interface [ 373.368057] bond0 (unregistering): Released all slaves [ 373.368927] br0: port 1(s0) entered disabled state [ 373.369350] br0: port 2(s1) entered disabled state [ 373.420402] bond0: (slave eth0): making interface the new active one [ 373.420824] bond0: (slave eth0): Enslaving as an active interface with an up link [ 373.421594] br0: port 1(s0) entered blocking state [ 373.421880] br0: port 1(s0) entered forwarding state [ 373.436317] bond0: (slave eth1): Enslaving as an active interface with an up link [ 373.437017] br0: port 2(s1) entered blocking state [ 373.437289] br0: port 2(s1) entered forwarding state [ 374.911158] 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 ] [ 387.554938] eth0: left promiscuous mode [ 387.592722] br0: port 3(c0) entered disabled state [ 387.593410] c0 (unregistering): left allmulticast mode [ 387.593704] c0 (unregistering): left promiscuous mode [ 387.593995] br0: port 3(c0) entered disabled state [ 387.654003] br0: port 1(s0) entered disabled state [ 387.654445] bond0: (slave eth0): Releasing active interface [ 387.654745] bond0: (slave eth0): the permanent HWaddr of slave - 6a:ff:b9:52:6d:5d - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 387.655640] bond0: (slave eth1): making interface the new active one [ 387.667296] s0 (unregistering): left allmulticast mode [ 387.667606] s0 (unregistering): left promiscuous mode [ 387.667876] br0: port 1(s0) entered disabled state [ 387.691999] br0: port 2(s1) entered disabled state [ 387.692419] bond0: (slave eth1): Releasing active interface [ 387.703541] s1 (unregistering): left allmulticast mode [ 387.703869] s1 (unregistering): left promiscuous mode [ 387.704157] br0: port 2(s1) entered disabled state [ 387.727559] 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__->