From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 847F9AD4B for ; Thu, 18 May 2023 09:35:13 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52BD82122; Thu, 18 May 2023 02:35:10 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id C5D7C5C012D; Thu, 18 May 2023 05:35:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 18 May 2023 05:35:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684402507; x=1684488907; bh=H7JP953ZXv0Er azaPfrMU+R3DhoV1fHQeOVPDe5FCYw=; b=P5TgoivPV8S4EzdAV0mha0OgC236k xPRFfxUS1dAUTMcA9gE2zxbWisXvzSFG08rvMSLNk17tZtjCJhORIK9NOVK5muES 0kf47OL0xmboiujFNFnu8VESiAJaEgnU1n3f8C3uLuUST2TAAH1ZeyqeNpg4oI0g 4wjN2YmituVuff5nOg46+xDiJduniwkqkzF0ZWDOM1LhDZG7f838gYg14Zfg9fy2 c01X6m4yNUzN5Vs9gEkaFwgWxMVy7voLHCYcIw4YRsEsfM+c2nw3/YvCm0FooFlU x8oOXy720fABifF5e1I4vH85OKtVfYX6dOt/nV7yZSICpEIGfaqeuj2sw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeifedgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpefkughoucfutghhihhmmhgvlhcuoehiughoshgthhesihgu ohhstghhrdhorhhgqeenucggtffrrghtthgvrhhnpedvudefveekheeugeeftddvveefgf duieefudeifefgleekheegleegjeejgeeghfenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehiughoshgthhesihguohhstghhrdhorhhg X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 18 May 2023 05:35:06 -0400 (EDT) Date: Thu, 18 May 2023 12:35:03 +0300 From: Ido Schimmel To: Po-Hsu Lin Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, roxana.nicolescu@canonical.com, shuah@kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net Subject: Re: [PATCHv3 net] selftests: fib_tests: mute cleanup error message Message-ID: References: <20230518043759.28477-1-po-hsu.lin@canonical.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230518043759.28477-1-po-hsu.lin@canonical.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Thu, May 18, 2023 at 12:37:59PM +0800, Po-Hsu Lin wrote: > In the end of the test, there will be an error message induced by the > `ip netns del ns1` command in cleanup() > > Tests passed: 201 > Tests failed: 0 > Cannot remove namespace file "/run/netns/ns1": No such file or directory > > This can even be reproduced with just `./fib_tests.sh -h` as we're > calling cleanup() on exit. > > Redirect the error message to /dev/null to mute it. > > V2: Update commit message and fixes tag. > V3: resubmit due to missing netdev ML in V2 > > Fixes: b60417a9f2b8 ("selftest: fib_tests: Always cleanup before exit") > Signed-off-by: Po-Hsu Lin Reviewed-by: Ido Schimmel