From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795910233; b=E35LeVsUqX2WKta5m+bMLl1tzkb3HxqjI/1um/MblE6bhNHH7X/QwDqCV4gHH+hAnj7l QXk1/F/mIK2CTdRB+WSb4OusmZzfo7a8rYbpXb6LYDjmhr+pLlPFeuDjTCc9AI7f0Dmn5 KUhbAVkn6610KWJxhVSgQw3Np19a4VcV1uSY7nnF8Bxsih7v5EXSxC/+i2hWhM/biGH8k 1AVNIiysq71JovoLBtcLb2c4pIa8ZVsotwF4hElLI6uxPXuVoYyVvcImNqspVIKYw6jzQ gFY8vsLh/Ge1EIeoCD9WaZLCvvhmAbI/6z5+hE4T3gPonPX/sgRtqRZh+5abAO41v2A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795910233; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=UjKVzm3j3oXlGFYx0Sm7epGv/NoLD/6JuZTATBb0mh4=; b=W4bnXeWuJyoh5K1GR776C0ZWws35fJAqrdlBoLfgSLgVQLWWCvvpZn1ZZLw2Fs/RMw0/ MRxAhiuPmDgHgWH2FSNnWz/G8epBkMViP0HHhQ64TS94rBPajtSI/M8VU1JA+jMpdDKr7 RNd1ieDyLgalZPm5auxCoBQSrdGFM0jCt1/y7XlVgDn6XSrpw5k2HKgchpH2QR2PnkOUr +zAtjD21RNGlXPJknDrDlZbdFuNYvlgw8Wudl/NneV1kcYgSu9PLvbaU3KRBWw7QDXe5s qpQHIKHOcZASGwM8ELRG2RQXnmcGj5SYq+Z9WVQvJi6KRwuK9L+UX8XmumGNz1KRlyg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KDc8JjDH; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CD1D606A323; Sat, 28 Nov 2026 23:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KDc8JjDH Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DA101F00898; Sat, 28 Nov 2026 23:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795910232; bh=UjKVzm3j3oXlGFYx0Sm7epGv/NoLD/6JuZTATBb0mh4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=KDc8JjDHSVikOZmKsiKZpIB3dN7Y5nvkyhApgDKmO/n8VoE1gPKpy+ef/e4vlGJ0M 2xnF/Vbh9hZCOSj4WfpVzvXUQxPFq/VQVM6FuzipEGtnvMIT/khYszazif/fEZIDcg JoZoHUf/sNt8QWKhT4G6QanVPJzOh4zHDLj2TbwwP8W33pXvdIOgx5OaGMisAJCU8V zX89qmzdqnHAelgb8U2g6/kIkaD9q4zt95yiCOdsj4slcP8TklQoJVqi9YRkvT4CGX Ms36JCewGXnaU0nzRaW/IO4tTFYWg3m+7y5sQU4FHyrrflFs6vL2cIXg2xH+K6vAl/ NC0ypp6GG+BBw== Subject: Re: [PATCH net-next v3 10/12] selftests: tc-testing: run dependsOn probes outside the test namespace From: netdev-bot+sashiko@kernel.org To: toddfreed@meta.com Cc: netdev@vger.kernel.org, davem@davemloft.net, andrew+netdev@lunn.ch, bjorn@kernel.org, borisp@nvidia.com, cratiu@nvidia.com, daniel.zahka@gmail.com, donald.hunter@gmail.com, dtatulea@nvidia.com, edumazet@kernel.org, kuba@kernel.org, jhs@mojatatu.com, jiri@resnulli.us, leon@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-rdma@vger.kernel.org, mbloch@nvidia.com, pabeni@redhat.com, pctammela@mojatatu.com, saeedm@nvidia.com, horms@kernel.org, tariqt@nvidia.com, weiwan@google.com, willemdebruijn.kernel@gmail.com, kuniyu@google.com, bpf@vger.kernel.org, ast@fiberby.net, qingfang.deng@linux.dev, toke@redhat.com, shuah@kernel.org, corbet@lwn.net, skhan@linuxfoundation.org, rdunlap@infradead.org, matttbe@kernel.org, dsahern@kernel.org, j.koeppeler@tu-berlin.de, hangbin.liu@linux.dev Date: Sat, 28 Nov 2026 23:57:10 +0000 Message-ID: <179591023017.3135.10028676935497499761@kernel.org> In-Reply-To: <20261124221758.3230929-11-toddfreed@meta.com> References: <20261124221758.3230929-11-toddfreed@meta.com> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] This patch adds a new stage string, 'probe'. -- selftests: tc-testing: run dependsOn probes outside the test namespace This patch runs a test's dependsOn probe under a new "probe" stage instead of the "execute" stage. nsPlugin no longer prefixes the probe with "ip netns exec tcut", so the probe runs in the base namespace. The README stage list and AddingTestCases.txt are updated to match. [ ... ] > diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-testing/tdc.py > index 511d66c36a2a0..541caf984519f 100755 > --- a/tools/testing/selftests/tc-testing/tdc.py > +++ b/tools/testing/selftests/tc-testing/tdc.py > @@ -399,7 +399,7 @@ def run_one_test(pm, args, index, tidx): > if 'dependsOn' in tidx: > if (args.verbose > 0): > print('probe command for test skip') > - (p, procout) = exec_cmd(tidx, args, pm, 'execute', tidx['dependsOn']) > + (p, procout) = exec_cmd(tidx, args, pm, 'probe', tidx['dependsOn']) [Severity: Low] This isn't a bug, but should the plugin documentation also list the new 'probe' stage? With this change, every plugin's adjust_command() can now receive 'probe' through exec_cmd()->pm.call_adjust_command(). The patch adds it to the README stage list only. The stage list in the ADJUST section of creating-plugins/AddingPlugins.txt still reads: The stages are represented by the following strings: 'pre' 'setup' 'command' 'verify' 'teardown' 'post' The commented template in TdcPlugin.adjust_command() also has no 'probe' case: # if stage == 'pre': # pass # elif stage == 'setup': # pass # elif stage == 'execute': # pass ... The in-tree nsPlugin and valgrindPlugin both pass 'probe' through unchanged, which is what this patch wants. A new plugin written from either of these references would not know it can get 'probe' for dependsOn commands, though. Could AddingPlugins.txt and the TdcPlugin.py template be updated in the same way as the README? > if p: > if (p.returncode != 0): > res = TestResult(tidx['id'], tidx['name']) -- Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261124221758.3230929-1-toddfreed%40meta.com