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-10/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make[1]: Entering directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' TAP version 13 1..1 # overriding timeout to 2400 # selftests: drivers/net/bonding: bond_macvlan.sh [ 765.498216][ T6007] br0: port 1(s0) entered blocking state [ 765.498714][ T6007] br0: port 1(s0) entered disabled state [ 765.499238][ T6007] s0: entered allmulticast mode [ 765.502411][ T6007] s0: entered promiscuous mode [ 765.687399][ T6008] bond0: (slave eth0): making interface the new active one [ 765.688313][ T6008] bond0: (slave eth0): Enslaving as an active interface with an up link [ 765.689648][ T5495] br0: port 1(s0) entered blocking state [ 765.689986][ T5495] br0: port 1(s0) entered forwarding state [ 766.411122][ T6012] br0: port 2(s1) entered blocking state [ 766.411558][ T6012] br0: port 2(s1) entered disabled state [ 766.412011][ T6012] s1: entered allmulticast mode [ 766.413428][ T6012] s1: entered promiscuous mode [ 766.573283][ T6013] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 766.574504][ T5928] br0: port 2(s1) entered blocking state [ 766.574822][ T5928] br0: port 2(s1) entered forwarding state [ 768.113846][ T6021] br0: port 3(c0) entered blocking state [ 768.114812][ T6021] br0: port 3(c0) entered disabled state [ 768.115154][ T6021] c0: entered allmulticast mode [ 768.116580][ T6021] c0: entered promiscuous mode [ 768.305313][ T5928] br0: port 3(c0) entered blocking state [ 768.305818][ T5928] br0: port 3(c0) entered forwarding state [ 769.590790][ T6031] bond0 (unregistering): (slave eth0): Releasing backup interface [ 769.601340][ T6031] bond0 (unregistering): (slave eth1): Releasing backup interface [ 769.613122][ T6031] bond0 (unregistering): Released all slaves [ 769.631420][ T5928] br0: port 1(s0) entered disabled state [ 769.632845][ T5928] br0: port 2(s1) entered disabled state [ 770.183306][ T6035] bond0: (slave eth0): making interface the new active one [ 770.184178][ T6035] bond0: (slave eth0): Enslaving as an active interface with an up link [ 770.187593][ T2667] br0: port 1(s0) entered blocking state [ 770.188078][ T2667] br0: port 1(s0) entered forwarding state [ 770.379715][ T6036] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 770.383436][ T2667] br0: port 2(s1) entered blocking state [ 770.383904][ T2667] br0: port 2(s1) entered forwarding state [ 773.280156][ T6050] 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 ] [ 792.336560][ T6080] eth0: left promiscuous mode [ 792.546103][ T6081] bond0 (unregistering): (slave eth0): Releasing backup interface [ 792.566798][ T6081] bond0 (unregistering): (slave eth1): Releasing backup interface [ 792.577611][ T6081] bond0 (unregistering): Released all slaves [ 792.596632][ T2667] br0: port 1(s0) entered disabled state [ 792.598179][ T2667] br0: port 2(s1) entered disabled state [ 793.105051][ T6085] bond0: (slave eth0): making interface the new active one [ 793.106430][ T6085] bond0: (slave eth0): Enslaving as an active interface with an up link [ 793.107177][ T5495] br0: port 1(s0) entered blocking state [ 793.107596][ T5495] br0: port 1(s0) entered forwarding state [ 793.274753][ T6086] bond0: (slave eth1): Enslaving as an active interface with an up link [ 793.278485][ T5495] br0: port 2(s1) entered blocking state [ 793.278807][ T5495] br0: port 2(s1) entered forwarding state [ 796.110930][ T6100] 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 ] [ 814.970957][ T6130] eth0: left promiscuous mode [ 815.171755][ T6131] bond0 (unregistering): (slave eth0): Releasing active interface [ 815.180505][ T6131] bond0 (unregistering): (slave eth1): Releasing active interface [ 815.188222][ T6131] bond0 (unregistering): Released all slaves [ 815.200532][ T2667] br0: port 1(s0) entered disabled state [ 815.203268][ T2667] br0: port 2(s1) entered disabled state [ 815.800633][ T6135] bond0: (slave eth0): making interface the new active one [ 815.801641][ T6135] bond0: (slave eth0): Enslaving as an active interface with an up link [ 815.804472][ T5495] br0: port 1(s0) entered blocking state [ 815.804799][ T5495] br0: port 1(s0) entered forwarding state [ 815.981076][ T6136] bond0: (slave eth1): Enslaving as an active interface with an up link [ 815.981839][ T5495] br0: port 2(s1) entered blocking state [ 815.982155][ T5495] br0: port 2(s1) entered forwarding state [ 818.872072][ T6150] 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 ] [ 838.173398][ T6179] eth0: left promiscuous mode [ 838.515847][ T6181] br0: port 3(c0) entered disabled state [ 838.521039][ T6181] c0 (unregistering): left allmulticast mode [ 838.524231][ T6181] c0 (unregistering): left promiscuous mode [ 838.524552][ T6181] br0: port 3(c0) entered disabled state [ 839.259263][ T6188] br0: port 1(s0) entered disabled state [ 839.261523][ T6188] bond0: (slave eth0): Releasing active interface [ 839.261886][ T6188] bond0: (slave eth0): the permanent HWaddr of slave - 36:d2:64:d4:33:a3 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 839.262913][ T6188] bond0: (slave eth1): making interface the new active one [ 839.276861][ T6188] s0 (unregistering): left allmulticast mode [ 839.277380][ T6188] s0 (unregistering): left promiscuous mode [ 839.277832][ T6188] br0: port 1(s0) entered disabled state [ 839.491449][ T6189] br0: port 2(s1) entered disabled state [ 839.494471][ T6189] bond0: (slave eth1): Releasing active interface [ 839.510011][ T6189] s1 (unregistering): left allmulticast mode [ 839.511178][ T6189] s1 (unregistering): left promiscuous mode [ 839.511739][ T6189] br0: port 2(s1) entered disabled state [ 839.723748][ T11] bond0 (unregistering): Released all slaves ok 1 selftests: drivers/net/bonding: bond_macvlan.sh make[1]: Leaving directory '/home/virtme/testing-10/tools/testing/selftests/drivers/net/bonding' make: Leaving directory '/home/virtme/testing-10/tools/testing/selftests' xx__-> echo $? 0 xx__->