All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-next] Squash to "selftests: mptcp: more stable join tests-cases"
@ 2022-01-07  9:51 Geliang Tang
  2022-01-07 11:03 ` Matthieu Baerts
  2022-01-10 11:11 ` Paolo Abeni
  0 siblings, 2 replies; 11+ messages in thread
From: Geliang Tang @ 2022-01-07  9:51 UTC (permalink / raw)
  To: mptcp; +Cc: Geliang Tang

IPv6 removing test failed on my test every time, this patch fixed it.

12 remove subflow and signal IPv6       syn[ ok ] - synack[fail] got 1 JOIN[s] synack expected 2
 - ack[fail] got 1 JOIN[s] ack expected 2
Server ns stats
TcpPassiveOpens                 2                  0.0
TcpAttemptFails                 1                  0.0
TcpInSegs                       54                 0.0
TcpOutSegs                      58                 0.0
TcpRetransSegs                  2                  0.0
TcpExtEmbryonicRsts             1                  0.0
TcpExtDelayedACKs               15                 0.0
TcpExtTCPPureAcks               23                 0.0
TcpExtTCPTimeouts               1                  0.0
TcpExtTCPSynRetrans             2                  0.0
TcpExtTCPOrigDataSent           24                 0.0
TcpExtTCPDelivered              24                 0.0
MPTcpExtMPCapableSYNRX          1                  0.0
MPTcpExtMPCapableACKRX          1                  0.0
MPTcpExtMPJoinSynRx             2                  0.0
MPTcpExtMPJoinAckRx             1                  0.0
MPTcpExtEchoAdd                 1                  0.0
MPTcpExtRmSubflow               1                  0.0
Client ns stats
TcpActiveOpens                  3                  0.0
TcpInSegs                       58                 0.0
TcpOutSegs                      53                 0.0
TcpRetransSegs                  1                  0.0
TcpOutRsts                      3                  0.0
TcpExtDelayedACKs               3                  0.0
TcpExtTCPPureAcks               29                 0.0
TcpExtTCPTimeouts               1                  0.0
TcpExtTCPSynRetrans             1                  0.0
TcpExtTCPOrigDataSent           24                 0.0
TcpExtTCPDelivered              26                 0.0
TcpExtTcpTimeoutRehash          1                  0.0
MPTcpExtMPCapableSYNTX          1                  0.0
MPTcpExtMPCapableSYNACKRX       1                  0.0
MPTcpExtMPJoinSynAckRx          1                  0.0
MPTcpExtAddAddr                 1                  0.0
MPTcpExtRmAddr                  1                  0.0
MPTcpExtRmSubflow               1                  0.0
                                        add[ ok ] - echo  [ ok ]
                                        rm [fail] got 0 RM_ADDR[s] expected 1
 - sf    [ ok ]
Server ns stats
TcpPassiveOpens                 2                  0.0
TcpAttemptFails                 1                  0.0
TcpInSegs                       54                 0.0
TcpOutSegs                      58                 0.0
TcpRetransSegs                  2                  0.0
TcpExtEmbryonicRsts             1                  0.0

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
---
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
index e48ce23d2386..41a2510e2f97 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -393,8 +393,8 @@ do_transfer()
 				do
 					id=${dump[$pos]}
 					rm_addr=$(rm_addr_count ${connector_ns})
-					ip netns exec ${listener_ns} ./pm_nl_ctl del $id
 					wait_rm_addr ${connector_ns} ${rm_addr}
+					ip netns exec ${listener_ns} ./pm_nl_ctl del $id
 					let counter+=1
 					let pos+=5
 				done
@@ -442,8 +442,8 @@ do_transfer()
 					# rm_addr are serialized, allow the previous one to complete
 					id=${dump[$pos]}
 					rm_addr=$(rm_addr_count ${listener_ns})
-					ip netns exec ${connector_ns} ./pm_nl_ctl del $id
 					wait_rm_addr ${listener_ns} ${rm_addr}
+					ip netns exec ${connector_ns} ./pm_nl_ctl del $id
 					let counter+=1
 					let pos+=5
 				done
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-01-13 12:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-07  9:51 [PATCH mptcp-next] Squash to "selftests: mptcp: more stable join tests-cases" Geliang Tang
2022-01-07 11:03 ` Matthieu Baerts
2022-01-10  7:43   ` Geliang Tang
2022-01-12 17:42     ` Matthieu Baerts
2022-01-10 11:11 ` Paolo Abeni
2022-01-11  3:45   ` Geliang Tang
2022-01-11 12:02     ` Paolo Abeni
2022-01-13 10:35       ` Geliang Tang
2022-01-13 10:52         ` Paolo Abeni
2022-01-13 11:36           ` Matthieu Baerts
2022-01-13 12:58           ` Geliang Tang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.