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 [ 334.921438] br0: port 1(s0) entered blocking state [ 334.921806] br0: port 1(s0) entered disabled state [ 334.922073] s0: entered allmulticast mode [ 334.922365] s0: entered promiscuous mode [ 334.937419] bond0: (slave eth0): making interface the new active one [ 334.937829] bond0: (slave eth0): Enslaving as an active interface with an up link [ 334.938502] br0: port 1(s0) entered blocking state [ 334.938763] br0: port 1(s0) entered forwarding state [ 335.003674] br0: port 2(s1) entered blocking state [ 335.004015] br0: port 2(s1) entered disabled state [ 335.004358] s1: entered allmulticast mode [ 335.004749] s1: entered promiscuous mode [ 335.020564] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 335.021293] br0: port 2(s1) entered blocking state [ 335.021567] br0: port 2(s1) entered forwarding state [ 335.137883] br0: port 3(c0) entered blocking state [ 335.138184] br0: port 3(c0) entered disabled state [ 335.138443] c0: entered allmulticast mode [ 335.138873] c0: entered promiscuous mode [ 335.152749] br0: port 3(c0) entered blocking state [ 335.153039] br0: port 3(c0) entered forwarding state [ 335.255468] bond0 (unregistering): (slave eth0): Releasing backup interface [ 335.261731] bond0 (unregistering): (slave eth1): Releasing backup interface [ 335.270622] bond0 (unregistering): Released all slaves [ 335.316563] bond0: (slave eth0): making interface the new active one [ 335.317052] bond0: (slave eth0): Enslaving as an active interface with an up link [ 335.332932] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 337.068886] 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 ] [ 349.658868] eth0: left promiscuous mode [ 349.675193] bond0 (unregistering): (slave eth0): Releasing backup interface [ 349.683820] bond0 (unregistering): (slave eth1): Releasing backup interface [ 349.689647] bond0 (unregistering): Released all slaves [ 349.690467] br0: port 1(s0) entered disabled state [ 349.690892] br0: port 2(s1) entered disabled state [ 349.735769] bond0: (slave eth0): making interface the new active one [ 349.736167] bond0: (slave eth0): Enslaving as an active interface with an up link [ 349.736805] br0: port 1(s0) entered blocking state [ 349.737066] br0: port 1(s0) entered forwarding state [ 349.749779] bond0: (slave eth1): Enslaving as an active interface with an up link [ 349.750433] br0: port 2(s1) entered blocking state [ 349.750712] br0: port 2(s1) entered forwarding state [ 351.149117] 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 ] [ 363.752795] eth0: left promiscuous mode [ 363.767681] bond0 (unregistering): (slave eth0): Releasing active interface [ 363.776742] bond0 (unregistering): (slave eth1): Releasing active interface [ 363.782703] bond0 (unregistering): Released all slaves [ 363.783933] br0: port 1(s0) entered disabled state [ 363.784426] br0: port 2(s1) entered disabled state [ 363.830825] bond0: (slave eth0): making interface the new active one [ 363.831216] bond0: (slave eth0): Enslaving as an active interface with an up link [ 363.831950] br0: port 1(s0) entered blocking state [ 363.832212] br0: port 1(s0) entered forwarding state [ 363.846253] bond0: (slave eth1): Enslaving as an active interface with an up link [ 363.847110] br0: port 2(s1) entered blocking state [ 363.847376] br0: port 2(s1) entered forwarding state [ 365.135561] 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 ] [ 377.750958] eth0: left promiscuous mode [ 377.799718] br0: port 3(c0) entered disabled state [ 377.800477] c0 (unregistering): left allmulticast mode [ 377.800782] c0 (unregistering): left promiscuous mode [ 377.801049] br0: port 3(c0) entered disabled state [ 377.861619] br0: port 1(s0) entered disabled state [ 377.862122] bond0: (slave eth0): Releasing active interface [ 377.862410] bond0: (slave eth0): the permanent HWaddr of slave - 36:98:af:9c:e0:e8 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 377.863219] bond0: (slave eth1): making interface the new active one [ 377.874900] s0 (unregistering): left allmulticast mode [ 377.875187] s0 (unregistering): left promiscuous mode [ 377.875445] br0: port 1(s0) entered disabled state [ 377.899567] br0: port 2(s1) entered disabled state [ 377.900128] bond0: (slave eth1): Releasing active interface [ 377.913188] s1 (unregistering): left allmulticast mode [ 377.913634] s1 (unregistering): left promiscuous mode [ 377.914012] br0: port 2(s1) entered disabled state [ 377.944188] 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__->