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 [ 433.161561] br0: port 1(s0) entered blocking state [ 433.161874] br0: port 1(s0) entered disabled state [ 433.162141] s0: entered allmulticast mode [ 433.162458] s0: entered promiscuous mode [ 433.178170] bond0: (slave eth0): making interface the new active one [ 433.178568] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.179143] br0: port 1(s0) entered blocking state [ 433.179403] br0: port 1(s0) entered forwarding state [ 433.249583] br0: port 2(s1) entered blocking state [ 433.250037] br0: port 2(s1) entered disabled state [ 433.250381] s1: entered allmulticast mode [ 433.250758] s1: entered promiscuous mode [ 433.266878] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 433.267583] br0: port 2(s1) entered blocking state [ 433.267880] br0: port 2(s1) entered forwarding state [ 433.391542] br0: port 3(c0) entered blocking state [ 433.392017] br0: port 3(c0) entered disabled state [ 433.392398] c0: entered allmulticast mode [ 433.392709] c0: entered promiscuous mode [ 433.408424] br0: port 3(c0) entered blocking state [ 433.408855] br0: port 3(c0) entered forwarding state [ 433.520946] bond0 (unregistering): (slave eth0): Releasing backup interface [ 433.528074] bond0 (unregistering): (slave eth1): Releasing backup interface [ 433.534043] bond0 (unregistering): Released all slaves [ 433.591085] bond0: (slave eth0): making interface the new active one [ 433.591503] bond0: (slave eth0): Enslaving as an active interface with an up link [ 433.609112] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 436.002967] 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 ] [ 448.609796] eth0: left promiscuous mode [ 448.627808] bond0 (unregistering): (slave eth0): Releasing backup interface [ 448.637138] bond0 (unregistering): (slave eth1): Releasing backup interface [ 448.643041] bond0 (unregistering): Released all slaves [ 448.643869] br0: port 1(s0) entered disabled state [ 448.644280] br0: port 2(s1) entered disabled state [ 448.699371] bond0: (slave eth0): making interface the new active one [ 448.699960] bond0: (slave eth0): Enslaving as an active interface with an up link [ 448.700899] br0: port 1(s0) entered blocking state [ 448.701292] br0: port 1(s0) entered forwarding state [ 448.717166] bond0: (slave eth1): Enslaving as an active interface with an up link [ 448.718135] br0: port 2(s1) entered blocking state [ 448.718540] br0: port 2(s1) entered forwarding state [ 450.106409] 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 ] [ 462.746949] eth0: left promiscuous mode [ 462.765589] bond0 (unregistering): (slave eth0): Releasing active interface [ 462.774281] bond0 (unregistering): (slave eth1): Releasing active interface [ 462.784102] bond0 (unregistering): Released all slaves [ 462.785265] br0: port 1(s0) entered disabled state [ 462.785809] br0: port 2(s1) entered disabled state [ 462.835979] bond0: (slave eth0): making interface the new active one [ 462.836379] bond0: (slave eth0): Enslaving as an active interface with an up link [ 462.837049] br0: port 1(s0) entered blocking state [ 462.837313] br0: port 1(s0) entered forwarding state [ 462.854745] bond0: (slave eth1): Enslaving as an active interface with an up link [ 462.855772] br0: port 2(s1) entered blocking state [ 462.856168] br0: port 2(s1) entered forwarding state [ 464.632860] 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 ] [ 477.240904] eth0: left promiscuous mode [ 477.288959] br0: port 3(c0) entered disabled state [ 477.289979] c0 (unregistering): left allmulticast mode [ 477.290389] c0 (unregistering): left promiscuous mode [ 477.290772] br0: port 3(c0) entered disabled state [ 477.363543] br0: port 1(s0) entered disabled state [ 477.364209] bond0: (slave eth0): Releasing active interface [ 477.364514] bond0: (slave eth0): the permanent HWaddr of slave - 52:96:c3:18:5f:89 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 477.365354] bond0: (slave eth1): making interface the new active one [ 477.376232] s0 (unregistering): left allmulticast mode [ 477.376540] s0 (unregistering): left promiscuous mode [ 477.376811] br0: port 1(s0) entered disabled state [ 477.401660] br0: port 2(s1) entered disabled state [ 477.402084] bond0: (slave eth1): Releasing active interface [ 477.412493] s1 (unregistering): left allmulticast mode [ 477.412855] s1 (unregistering): left promiscuous mode [ 477.413128] br0: port 2(s1) entered disabled state [ 477.438764] 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__->