From nobody Sat Apr 27 18:54:07 2024 Delivered-To: wpasupplicant.patchew@gmail.com Received: by 2002:a02:3b21:0:0:0:0:0 with SMTP id c33csp1700149jaa; Wed, 2 Feb 2022 10:16:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjWAfz7ufvxJLXNEJTCsTMgvDhMsfxMQ4QIhBEPCbezBFC6fojUbmlAmXQGtvWglTAt90w X-Received: by 2002:ad4:5f49:: with SMTP id p9mr27888277qvg.18.1643825808463; Wed, 02 Feb 2022 10:16:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643825808; cv=none; d=google.com; s=arc-20160816; b=KVnawv+XeFSlQp9GV5/+eOgpsQNW3tcZRy5TDZdcXH/UeULy6AXrEmpjJtV9WWudZ/ YfQ6G4HSPa/5WB98aVNyfX5p5O0ZISdk8CL97doHJ9EmTyqnsvV7IeuPmaN44u5wUz/E RR8X2vh3HM0Qc1UOv9J+2vJGQ3czTjOjS8BX9QW7K4IlBvUie+nOz+S9Dr0L4cpaEBmc pLnEjpJKlCz0OdR/hNh9Ub7JlonvaijKC8UhQEb0MswnxJa2zZqpMuk7iNBJNsfbbswC kL47hNS0p2TSNZOp9Jb/Iy7KaLhHwGUx+3KIXdHq0Drejor/bGaYe/JHDnrjeRQgW5XA 52Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:to:from :dkim-signature; bh=eRLaX03eYOHxyB8cdtCeTsUi57Gkyna96GOrvSSbkf4=; b=zADu9VzirSEqQaPhPcReC+pcdUs1hstKvXHIiVpykj6rxcKVjIZd3n5pfMij6YaBsw XTmka8cRjxg3QXz+wGE7WDcy2PbCXMfpzEJ/7heFmfVwwYPef/MZCrD3Y4w/JkZmNEcb tigqy7XsvhjTtW1/KRfKDT53xngQfRPNXxFIBf4nLuRZFSVHGZcOeWblN6AeqqzqMpmK 3k7MXcA2puC7daFJZmDV1ItAwJc+/120uBscZbwhhkEVkNyzeQ7yWKGA+WKPVSWPqZNV Z0Z26+rhXAe6Tl4GZD3MP9wI5+36gecqS7Z6Wpxat41pdvAzuemSkeMJGDYF2coXlKTU RFTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VAODTfwx; spf=pass (google.com: domain of mptcp+bounces-3405-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1:3600::1 as permitted sender) smtp.mailfrom="mptcp+bounces-3405-wpasupplicant.patchew=gmail.com@lists.linux.dev"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ewr.edge.kernel.org (ewr.edge.kernel.org. [2604:1380:1:3600::1]) by mx.google.com with ESMTPS id 11si8772845qvp.398.2022.02.02.10.16.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Feb 2022 10:16:48 -0800 (PST) Received-SPF: pass (google.com: domain of mptcp+bounces-3405-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1:3600::1 as permitted sender) client-ip=2604:1380:1:3600::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VAODTfwx; spf=pass (google.com: domain of mptcp+bounces-3405-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1:3600::1 as permitted sender) smtp.mailfrom="mptcp+bounces-3405-wpasupplicant.patchew=gmail.com@lists.linux.dev"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ewr.edge.kernel.org (Postfix) with ESMTPS id 205F91C06DD for ; Wed, 2 Feb 2022 18:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9624D2F2F; Wed, 2 Feb 2022 18:16:46 +0000 (UTC) X-Original-To: mptcp@lists.linux.dev Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E5832F27 for ; Wed, 2 Feb 2022 18:16:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643825803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eRLaX03eYOHxyB8cdtCeTsUi57Gkyna96GOrvSSbkf4=; b=VAODTfwx1kqcUTC8haLky7KtGvkp5azxEVs7WMr8alOIgdKqJgssgM+Ji8gIKVQ4E/jq+r +pR2Mlr4iKEDnjTEYZBVxVMfytaguLnpW9lMOzsQrENwm3gP5EC1L4WB6OB2OwwBzUk+h4 CxxMxAmw5QbS1kXCLik5mh4Si4XTmWU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-608-hIEawCOqMD6GknJ7JRMxbw-1; Wed, 02 Feb 2022 13:16:42 -0500 X-MC-Unique: hIEawCOqMD6GknJ7JRMxbw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 75C45100F95F for ; Wed, 2 Feb 2022 18:15:17 +0000 (UTC) Received: from gerbillo.redhat.com (unknown [10.39.195.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B8C197B9D3 for ; Wed, 2 Feb 2022 18:15:16 +0000 (UTC) From: Paolo Abeni To: mptcp@lists.linux.dev Subject: [PATCH mptcp-next] selftests: mptcp: fix diag instability Date: Wed, 2 Feb 2022 19:15:07 +0100 Message-Id: <8e7b626d99b8c28b8638f850841707c63deb0bb4.1643825648.git.pabeni@redhat.com> Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pabeni@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Increase the time waiting for mptcp sockets to get established, to cope with very slow running host, or high jitter caused by VMs. Signed-off-by: Paolo Abeni --- note: just to trigger the public CI, probably a better commit message needed --- tools/testing/selftests/net/mptcp/diag.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/net/mptcp/diag.sh b/tools/testing/self= tests/net/mptcp/diag.sh index 2674ba20d524..baafd36c3e0e 100755 --- a/tools/testing/selftests/net/mptcp/diag.sh +++ b/tools/testing/selftests/net/mptcp/diag.sh @@ -87,9 +87,9 @@ chk_msk_nr 0 "no msk on netns creation" echo "b" | \ timeout ${timeout_test} \ ip netns exec $ns \ - ./mptcp_connect -p 10000 -j -t ${timeout_poll} \ + ./mptcp_connect -p 10000 -r 0 -t ${timeout_poll} \ 127.0.0.1 >/dev/null & -sleep 0.1 +sleep 0.4 chk_msk_nr 2 "after MPC handshake " chk_msk_remote_key_nr 2 "....chk remote_key" chk_msk_fallback_nr 0 "....chk no fallback" @@ -105,9 +105,9 @@ sleep 0.1 echo "b" | \ timeout ${timeout_test} \ ip netns exec $ns \ - ./mptcp_connect -p 10001 -j -t ${timeout_poll} \ + ./mptcp_connect -p 10001 -r 0 -t ${timeout_poll} \ 127.0.0.1 >/dev/null & -sleep 0.1 +sleep 0.4 chk_msk_fallback_nr 1 "check fallback" flush_pids =20 --=20 2.34.1