Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp467119lqg; Fri, 1 Mar 2024 10:25:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWhWu+Semh9w4eJt5xh7frEZzjL/NG8cC4TUQ8GbQHH7l0ZyEFfT+ysPPzRA3vYySsJuA35oHHtN+jaEQqHgZxessn2WkOV91nLW57LNw== X-Google-Smtp-Source: AGHT+IHgOlMdbQbVl7QA8zMSWd5sjkWvxMTaP4mrOslailV1E8EJcV6ETSVOfUk2stH9PFasqWfS X-Received: by 2002:ac8:7e86:0:b0:42e:d4af:feb1 with SMTP id w6-20020ac87e86000000b0042ed4affeb1mr878582qtj.16.1709317545493; Fri, 01 Mar 2024 10:25:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709317545; cv=pass; d=google.com; s=arc-20160816; b=GlVUlBegxEdEasiJT/VRA+E9NN+l5I93y4dViIhHyOve8heEUstF2UI7yIV5lcxW+p Jjg0IPa1pHXgQU+GUCiGU693tAxtlyL/cAtCngMIkJ5Py5ivqkQv4QcoliJp3rZLdUHP Cgm6E7Qd/YAkyC0YsidQJM5+kQtsP8C28DSBJ9Yz0euUlGPTHi9hsCgT4+KBAEQWWh6d Dy2bgm10vyLG1jpcUWujwODA0HO0FYoXaBxgbUwqL6nGB9xc3x75YKeH4zNrcyCsNCu9 42XbGVcA7a1osL+bwISC2hnlk2VuDvhkOatR7niSxlYxJlq4AegRb/WBXo7kFCxZSH7O vDrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:from:content-language:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=zBjy8EiaWorGyz+0utSF+n7922umzzZdtXoL6B5LoxY=; fh=eqCuSV6RJPALSlEJsYmZzp+smFoHRspz2PYE4gtI3oc=; b=pY/l2ewiQUmbUdNlzqJXez8uu1mJKqVMWT6/wq3/pu2PPqCrwIpOTi7D1w70eV91nt ilBw/f0ddezcjaj2gSfUYE4ZWFLtno1fixSW+QLZDdC+h4S5XT7umdGA2FvHQGHKEi9n yo9OHxTzma/ir6FZe5RDSXHIsTx/ezh7INc1pzayuoJDTubYGQRizQP38wKW2gb+bBc8 3X099qOAIYpcjbmS6fnp0ntNUyjzS2tCSZwYjTuPAKhkiRHfW2wLRvvv7lPVfw5u230b vw0Q6bDOymXly1aps315C6ULGK0bDa3UJurN/oN/koJ8kLgnALZR533eKl0VlGDU0lUB Lx+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="u/TpT1T8"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88919-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 18-20020ac85912000000b0042e61d9aaa1si4388683qty.10.2024.03.01.10.25.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 10:25:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="u/TpT1T8"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88919-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0C71E1C24544 for ; Fri, 1 Mar 2024 18:25:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6801139AD8; Fri, 1 Mar 2024 18:24:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u/TpT1T8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6CC671CA98; Fri, 1 Mar 2024 18:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709317498; cv=none; b=On+nhi59MyFDbT1gKQyZRVjd2pHA1ua2OIHodck3L82Zg/JY+Jd0rxO0HePA0X7gP8qym2fL9sCGT3ewzFYeYtbIH2IL8wQQf0PwLBeGagkR1RclLxPPg1LmAIUVCFL1sjCR4dC1WVAEKCOR5B7uJblh0Z/IhxOQHpEFvPEvzgI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709317498; c=relaxed/simple; bh=CQJcqv4UUzXrW38JsKfEq0OskcjwQA9TwEXYUE4giFk=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=LwfJedtb5+MLW19PeQUmku3UanOqczW99IXAVe71Bh8zVs/Op6WI8Fxb/gOOvo28T0MTA/dhwzoBOFhqZfGD6seotb9ffWGQa/lDr7rvGsvwwN9de54RoRdHUYRuyBWpYMmm5aEoix8PloVTtL1HQUly3vNUHQW+I1i6Pflm7ck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u/TpT1T8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2A7DC433C7; Fri, 1 Mar 2024 18:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709317497; bh=CQJcqv4UUzXrW38JsKfEq0OskcjwQA9TwEXYUE4giFk=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=u/TpT1T8wIiENRVpQr5nT4Aq2KE2355h7bVAHGdVSfhAGfRIlWeA2K2RHqfks2QO8 9J3Vnwh/Rk3fl28/jUCg8gmJAcv07frkpVXDaiW7sEzUyrM+GSVBLMD/7zcM2wi6r9 cE67L9UY6/MCJX1qpWNS3z7HYmSEE2Ny45Ua3AhR/Ggf6xgQ3WgxyDsppvEunPkGMi igFcWI60WAezWEtc22QJ5feN9JufLY3qadbY5vIvdnZ0ikD/a8VxNdCN6NUC5wnJ+A tJBnL4ICr+yUEqehg086+NUAwG5QRnBuDirM2uOFxTYZXWLnKh407vCiv+XVozUIBT V7wd5bLnyufsg== Message-ID: <52f0cd4c-9306-43af-87a7-3f5c47646059@kernel.org> Date: Fri, 1 Mar 2024 19:24:53 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net 10/10] selftests: mptcp: explicitly trigger the listener diag code-path Content-Language: en-GB, fr-BE From: Matthieu Baerts To: Jakub Kicinski Cc: Mat Martineau , Paolo Abeni , mptcp@lists.linux.dev, Geliang Tang , "David S. Miller" , Eric Dumazet , Florian Westphal , Kishen Maloor , Shuah Khan , Peter Krystad , Christoph Paasch , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20240223-upstream-net-20240223-misc-fixes-v1-0-162e87e48497@kernel.org> <20240223-upstream-net-20240223-misc-fixes-v1-10-162e87e48497@kernel.org> <20240301063754.2ecefecf@kernel.org> <09046dcc-a388-4703-83bb-9fa0c36af861@kernel.org> Autocrypt: addr=matttbe@kernel.org; keydata= xsFNBFXj+ekBEADxVr99p2guPcqHFeI/JcFxls6KibzyZD5TQTyfuYlzEp7C7A9swoK5iCvf YBNdx5Xl74NLSgx6y/1NiMQGuKeu+2BmtnkiGxBNanfXcnl4L4Lzz+iXBvvbtCbynnnqDDqU c7SPFMpMesgpcu1xFt0F6bcxE+0ojRtSCZ5HDElKlHJNYtD1uwY4UYVGWUGCF/+cY1YLmtfb WdNb/SFo+Mp0HItfBC12qtDIXYvbfNUGVnA5jXeWMEyYhSNktLnpDL2gBUCsdbkov5VjiOX7 CRTkX0UgNWRjyFZwThaZADEvAOo12M5uSBk7h07yJ97gqvBtcx45IsJwfUJE4hy8qZqsA62A nTRflBvp647IXAiCcwWsEgE5AXKwA3aL6dcpVR17JXJ6nwHHnslVi8WesiqzUI9sbO/hXeXw TDSB+YhErbNOxvHqCzZEnGAAFf6ges26fRVyuU119AzO40sjdLV0l6LE7GshddyazWZf0iac nEhX9NKxGnuhMu5SXmo2poIQttJuYAvTVUNwQVEx/0yY5xmiuyqvXa+XT7NKJkOZSiAPlNt6 VffjgOP62S7M9wDShUghN3F7CPOrrRsOHWO/l6I/qJdUMW+MHSFYPfYiFXoLUZyPvNVCYSgs 3oQaFhHapq1f345XBtfG3fOYp1K2wTXd4ThFraTLl8PHxCn4ywARAQABzSRNYXR0aGlldSBC YWVydHMgPG1hdHR0YmVAa2VybmVsLm9yZz7CwZEEEwEIADsCGwMFCwkIBwIGFQoJCAsCBBYC AwECHgECF4AWIQToy4X3aHcFem4n93r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7wDE/Q== Organization: NGI0 Core In-Reply-To: <09046dcc-a388-4703-83bb-9fa0c36af861@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Jakub, On 01/03/2024 16:10, Matthieu Baerts wrote: > On 01/03/2024 15:37, Jakub Kicinski wrote: >> On Fri, 23 Feb 2024 17:14:20 +0100 Matthieu Baerts (NGI0) wrote: >>> From: Paolo Abeni >>> >>> The mptcp diag interface already experienced a few locking bugs >>> that lockdep and appropriate coverage have detected in advance. >>> >>> Let's add a test-case triggering the relevant code path, to prevent >>> similar issues in the future. >>> >>> Be careful to cope with very slow environments. >>> >>> Note that we don't need an explicit timeout on the mptcp_connect >>> subprocess to cope with eventual bug/hang-up as the final cleanup >>> terminating the child processes will take care of that. >> >> Hi! >> >> There's a failure in CI under debug after merging net and net-next >> in diag.sh. Maybe because of the patch which lowered timeout? >> https://lore.kernel.org/all/20240223-upstream-net-next-20240223-misc-improvements-v1-8-b6c8a10396bd@kernel.org/ > > Thank you for this message! > > I didn't have this error on my side, even without '-d SLUB_DEBUG_ON' we > do on top of the debug kconfig, but I see I can reproduce it on slower > environments. Indeed, it looks like it can be caused by that > modification. I will send a fix ASAP! The following patch fixes the issue on my side (when using 'renice 20' and stress-ng in parallel :) ): https://lore.kernel.org/netdev/20240301-upstream-net-20240301-selftests-mptcp-diag-exit-timeout-v1-2-07cb2fa15c06@kernel.org/T/ I queued it for -net, but the issue should only be visible in net-next due to the reduction of the timeout, as you suggested. This patch can also be applied in net-next if preferred, it will not cause any conflicts between net and net-next. Cheers, Matt -- Sponsored by the NGI0 Core fund.