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 [ 353.031049] br0: port 1(s0) entered blocking state [ 353.031336] br0: port 1(s0) entered disabled state [ 353.031597] s0: entered allmulticast mode [ 353.031925] s0: entered promiscuous mode [ 353.045476] bond0: (slave eth0): making interface the new active one [ 353.045959] bond0: (slave eth0): Enslaving as an active interface with an up link [ 353.046615] br0: port 1(s0) entered blocking state [ 353.046898] br0: port 1(s0) entered forwarding state [ 353.104992] br0: port 2(s1) entered blocking state [ 353.105409] br0: port 2(s1) entered disabled state [ 353.105833] s1: entered allmulticast mode [ 353.106153] s1: entered promiscuous mode [ 353.120166] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 353.120821] br0: port 2(s1) entered blocking state [ 353.121082] br0: port 2(s1) entered forwarding state [ 353.235971] br0: port 3(c0) entered blocking state [ 353.236259] br0: port 3(c0) entered disabled state [ 353.236524] c0: entered allmulticast mode [ 353.236875] c0: entered promiscuous mode [ 353.248170] br0: port 3(c0) entered blocking state [ 353.248445] br0: port 3(c0) entered forwarding state [ 353.344887] bond0 (unregistering): (slave eth0): Releasing backup interface [ 353.351909] bond0 (unregistering): (slave eth1): Releasing backup interface [ 353.361825] bond0 (unregistering): Released all slaves [ 353.412968] bond0: (slave eth0): making interface the new active one [ 353.413359] bond0: (slave eth0): Enslaving as an active interface with an up link [ 353.428902] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 355.122904] 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 ] [ 367.669611] eth0: left promiscuous mode [ 367.683971] bond0 (unregistering): (slave eth0): Releasing backup interface [ 367.696994] bond0 (unregistering): (slave eth1): Releasing backup interface [ 367.702859] bond0 (unregistering): Released all slaves [ 367.703695] br0: port 1(s0) entered disabled state [ 367.704146] br0: port 2(s1) entered disabled state [ 367.745596] bond0: (slave eth0): making interface the new active one [ 367.746042] bond0: (slave eth0): Enslaving as an active interface with an up link [ 367.746642] br0: port 1(s0) entered blocking state [ 367.746912] br0: port 1(s0) entered forwarding state [ 367.759328] bond0: (slave eth1): Enslaving as an active interface with an up link [ 367.760070] br0: port 2(s1) entered blocking state [ 367.760339] br0: port 2(s1) entered forwarding state [ 369.471311] 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 ] [ 382.023453] eth0: left promiscuous mode [ 382.037540] bond0 (unregistering): (slave eth0): Releasing active interface [ 382.048913] bond0 (unregistering): (slave eth1): Releasing active interface [ 382.057889] bond0 (unregistering): Released all slaves [ 382.058693] br0: port 1(s0) entered disabled state [ 382.059098] br0: port 2(s1) entered disabled state [ 382.103509] bond0: (slave eth0): making interface the new active one [ 382.104091] bond0: (slave eth0): Enslaving as an active interface with an up link [ 382.104988] br0: port 1(s0) entered blocking state [ 382.105362] br0: port 1(s0) entered forwarding state [ 382.117029] bond0: (slave eth1): Enslaving as an active interface with an up link [ 382.117668] br0: port 2(s1) entered blocking state [ 382.117950] br0: port 2(s1) entered forwarding state [ 384.166302] 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 ] [ 396.784962] eth0: left promiscuous mode [ 396.823878] br0: port 3(c0) entered disabled state [ 396.824798] c0 (unregistering): left allmulticast mode [ 396.825178] c0 (unregistering): left promiscuous mode [ 396.825542] br0: port 3(c0) entered disabled state [ 396.894041] br0: port 1(s0) entered disabled state [ 396.894610] bond0: (slave eth0): Releasing active interface [ 396.895077] bond0: (slave eth0): the permanent HWaddr of slave - 2a:a3:fd:a8:9e:0a - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 396.896292] bond0: (slave eth1): making interface the new active one [ 396.910120] s0 (unregistering): left allmulticast mode [ 396.910419] s0 (unregistering): left promiscuous mode [ 396.910682] br0: port 1(s0) entered disabled state [ 396.932717] br0: port 2(s1) entered disabled state [ 396.933114] bond0: (slave eth1): Releasing active interface [ 396.948204] s1 (unregistering): left allmulticast mode [ 396.948525] s1 (unregistering): left promiscuous mode [ 396.948812] br0: port 2(s1) entered disabled state [ 396.997444] 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__->