{"id":2232532,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2232532/?format=json","web_url":"http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260504170024.9543-1-fw@strlen.de/","project":{"id":26,"url":"http://patchwork.ozlabs.org/api/1.1/projects/26/?format=json","name":"Netfilter Development","link_name":"netfilter-devel","list_id":"netfilter-devel.vger.kernel.org","list_email":"netfilter-devel@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260504170024.9543-1-fw@strlen.de>","date":"2026-05-04T17:00:20","name":"[nft] tools: match_nomatch: fix spurious failure in nomatch test","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"838d0dfc0d8f1479a00eaba1d760fdcf3c721786","submitter":{"id":1025,"url":"http://patchwork.ozlabs.org/api/1.1/people/1025/?format=json","name":"Florian Westphal","email":"fw@strlen.de"},"delegate":{"id":11902,"url":"http://patchwork.ozlabs.org/api/1.1/users/11902/?format=json","username":"strlen","first_name":"Florian","last_name":"Westphal","email":"fw@strlen.de"},"mbox":"http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260504170024.9543-1-fw@strlen.de/mbox/","series":[{"id":502698,"url":"http://patchwork.ozlabs.org/api/1.1/series/502698/?format=json","web_url":"http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=502698","date":"2026-05-04T17:00:20","name":"[nft] tools: match_nomatch: fix spurious failure in nomatch test","version":1,"mbox":"http://patchwork.ozlabs.org/series/502698/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2232532/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2232532/checks/","tags":{},"headers":{"Return-Path":"\n <netfilter-devel+bounces-12406-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","netfilter-devel@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-12406-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=91.216.245.30","smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=strlen.de","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=Chamillionaire.breakpoint.cc"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g8SdF5bCGz1yJ0\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 03:02:57 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 1B917304D731\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  4 May 2026 17:00:40 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 8C4C93E3C5B;\n\tMon,  4 May 2026 17:00:39 +0000 (UTC)","from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc\n [91.216.245.30])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id B895C40DFA7\n\tfor <netfilter-devel@vger.kernel.org>; Mon,  4 May 2026 17:00:37 +0000 (UTC)","by Chamillionaire.breakpoint.cc (Postfix, from userid 1003)\n\tid AE70D6079C; Mon, 04 May 2026 19:00:29 +0200 (CEST)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777914039; cv=none;\n b=TSaFecCDvzv5m0l4izDD8Z0jS14p22Q6+Hxvh6KjwZ6+8TaF+V9f/9y0tsK7qUupfWMu3ixrgfvML0PWkxxyWk2owdR7lyaA6x+EygAQ74xKrH3e275LZdO/YdtYRo4bXj13q41LnIIyXT8LJdF+Ld3MBdpffyyITIwVMvCL8o8=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777914039; c=relaxed/simple;\n\tbh=USqv3e2ny/2OPetFppHCVH16GeKEu5TKvxNTPyUYjhk=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=ipS1ZT9XhhFD2XDm3I20ENZSoC39hGALErsPUZyPK/WE760fuEJ+A5jPE8mMDnsJ56NOhj6IcT8o6kdQvJE1AEORL+mTKjQQu0eg06/AZ9/xuDkn2LXi7LWAgFtD9Q3lTUz9E4qgqESZy1q8WeFmgXDLIUxQNPzd9Q7wA82i+jg=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=strlen.de;\n spf=pass smtp.mailfrom=Chamillionaire.breakpoint.cc;\n arc=none smtp.client-ip=91.216.245.30","From":"Florian Westphal <fw@strlen.de>","To":"<netfilter-devel@vger.kernel.org>","Cc":"Florian Westphal <fw@strlen.de>","Subject":"[PATCH nft] tools: match_nomatch: fix spurious failure in nomatch\n test","Date":"Mon,  4 May 2026 19:00:20 +0200","Message-ID":"<20260504170024.9543-1-fw@strlen.de>","X-Mailer":"git-send-email 2.53.0","Precedence":"bulk","X-Mailing-List":"netfilter-devel@vger.kernel.org","List-Id":"<netfilter-devel.vger.kernel.org>","List-Subscribe":"<mailto:netfilter-devel+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:netfilter-devel+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit"},"content":"The list is constructed randonly, its possible that it is empty. When\nthis happens, the test fails.  Skip this instead if that happens.\n\nSigned-off-by: Florian Westphal <fw@strlen.de>\n---\n tests/shell/helpers/set_match_nomatch_helpers | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)","diff":"diff --git a/tests/shell/helpers/set_match_nomatch_helpers b/tests/shell/helpers/set_match_nomatch_helpers\nindex 35114895c68c..04c3f8465bf0 100644\n--- a/tests/shell/helpers/set_match_nomatch_helpers\n+++ b/tests/shell/helpers/set_match_nomatch_helpers\n@@ -301,11 +301,9 @@ test_nomatch()\n \n \twait\n \n-\t[ \"$psent\" -eq 0 ] && exit_fatal \"empty nomatch list\"\n-\n \tif ip netns exec \"$R\" $NFT list set ip test s | grep -q 'counter packets 1' ; then\n \t\tip netns exec \"$R\" $NFT list set ip test s\n-\t\texit_fatal \"Unexpected entry listed as matching\"\n+\t\texit_fatal \"Unexpected entry listed as matching, sent $psent packets.\"\n \tfi\n \n \tif ip netns exec \"$R\" $NFT list counter ip test nomatch | grep -q \"packets $psent\"; then\n","prefixes":["nft"]}