From patchwork Thu Feb 29 14:38:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Tammela X-Patchwork-Id: 776945 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4043512E1CC for ; Thu, 29 Feb 2024 14:38:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709217526; cv=none; b=hSpvvWZ3raxMBbDi6NzDy836RZt3aNw79LW1fyYYwC2+FFmbOswvD48pE9ny0FdHm7Vczr7YLuTnNvk2Di90Ivl5M4/NsIu8Pn9nFDsZz9W+mLs3DLTBuG9v0EhljYZMT7GO6RifMhkoiEEi6iUDsy638l4CspTTGTPbb/71zlI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709217526; c=relaxed/simple; bh=Ih9xawQi49XQbDIpr/3pub8/701foOZuv4pQwUVsysA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=MFM5E5fa8bHWia4sn2tZu4AyK/RQHlwj8/CNJ06NsuAeVWCEj0m693FsXa0dZaIjX6JnKu89xKsIBj2qONzD92EDxwrLCZrPnsf5o9ndy4BgvlpGTySh5PSIQ0DKIODJgNIkODTN8fnZtAMxQpxz2AY1dPZ+LiTqKNskp7BLYt8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=mYt5vXd1; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="mYt5vXd1" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1dc0d11d1b7so8877835ad.2 for ; Thu, 29 Feb 2024 06:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1709217524; x=1709822324; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ovH92alGJPjHMagml3lx70tu4OqX/bHmHdTqKi6ex+k=; b=mYt5vXd1T5Yj/uIMYhlhgYGTqDHWdnQH8W+lsRDtGAdQRcRJpnc7FU3M0wRDsOI9At Arn1IMysKRjAsSl/rxIj8IG3AP4I97RjpsmeDaqVx9exlPp+DGd0a8TcIMXbqek3AB5e ewkULoDczButUnx0O7mL7B5UfJIJ40/riba0HWI3rfRKoBAbnD3+2L+T6cj7J9mP52+J zVMqHNj8Z31G8/EL1qwHlRw4IN3kFRWzhAXDhpiz7j5i7lNC2QYE6yHt1FC/0AahKgRx oDR2TH9IdNVXg5zxJ7dpXI9vofFoMIneHIMve+fI0rO/eblFB3ZlSIfR1uvAMRaLZNix CnMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709217524; x=1709822324; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ovH92alGJPjHMagml3lx70tu4OqX/bHmHdTqKi6ex+k=; b=RMISn0Ow5o1L0YJ267QMhQNUN3SYNVZWs41tdVVg2U3sclhJnScOKQVcpitP+U9D2N 7rCow1d4V8p8QIZuV26K8aZieb/+eCBZUEb6actO68XyMOiVICu8GEhYXkgMBVRXQiyC j+z6iqPKi4lxjWIuevvnAbbjohaSwqs6EO/B8TADmd6nI9I8RiwQikHjbblh7DY4lgIa fVz32kOyEXoJh/PpEZ7gXCa7DkbF+WCEN724ESFHG6LSUrrM4qvN+ykd6Xj7YaxIJnSn /L39mBEq/RF/lGkDrDQF0yHpUrfJrcqutfIsPUWuqZoaCXefJtQsUbSB9vutQDqQ0dgA b9vA== X-Forwarded-Encrypted: i=1; AJvYcCXLUdDtg5tJmf6x+hw/b+zXi6A/9NbnmbSCnskrNCgtQ5iaf18MK/2ZVcMKke+acG/cFPs59bFJzMSIVWaIuoYC/LCxAeXLr/a4uwFHK8Ci X-Gm-Message-State: AOJu0YwnoQKum0u5m76tQygeetU87Oq8pB8BDPoJy6OiGCqaGdcINghq JScDUzfAOGWTdTCyN6B0bPI9I/qwe9wbAfbOC7c4okc2XSvdl748V6eLbU5ffQ== X-Google-Smtp-Source: AGHT+IGZ1log36VMtE5h4eVg4BqFBZpMh6ssQ+jauSzwFcFX7v1a7ZYEKHkDGSDxxL1HqXMm7lHAOg== X-Received: by 2002:a17:902:ed0c:b0:1dc:26a1:da26 with SMTP id b12-20020a170902ed0c00b001dc26a1da26mr1968539pld.30.1709217524532; Thu, 29 Feb 2024 06:38:44 -0800 (PST) Received: from rogue-one.tail33bf8.ts.net ([201.17.86.134]) by smtp.gmail.com with ESMTPSA id l3-20020a170902e2c300b001db82fdc89asm1552912plc.305.2024.02.29.06.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 06:38:44 -0800 (PST) From: Pedro Tammela To: netdev@vger.kernel.org Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, shuah@kernel.org, pctammela@mojatatu.com, pabeni@redhat.com, kuba@kernel.org, victor@mojatatu.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Linux Kernel Functional Testing , Naresh Kamboju Subject: [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests Date: Thu, 29 Feb 2024 11:38:25 -0300 Message-Id: <20240229143825.1373550-1-pctammela@mojatatu.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the dependsOn test check for all the mirred blockcast tests. It will prevent the issue reported by LKFT which happens when an older iproute2 is used to run the current tdc. Tests are skipped if the dependsOn check fails. Reported-by: Linux Kernel Functional Testing Signed-off-by: Pedro Tammela --- Cc: Naresh Kamboju --- .../selftests/tc-testing/tc-tests/actions/mirred.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json index 795cf1ce8af0..b73bd255ea36 100644 --- a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json +++ b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json @@ -657,6 +657,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" }, @@ -711,6 +712,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" }, @@ -765,6 +767,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" }, @@ -819,6 +822,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" }, @@ -873,6 +877,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" }, @@ -937,6 +942,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" }, @@ -995,6 +1001,7 @@ "actions", "mirred" ], + "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid", "plugins": { "requires": "nsPlugin" },