From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1657CA0FE2 for ; Tue, 5 Sep 2023 16:27:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239612AbjIEQ07 (ORCPT ); Tue, 5 Sep 2023 12:26:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354717AbjIENsO (ORCPT ); Tue, 5 Sep 2023 09:48:14 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:237:300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2946198 for ; Tue, 5 Sep 2023 06:48:10 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1qdWPZ-0007RI-8f; Tue, 05 Sep 2023 15:48:09 +0200 Date: Tue, 5 Sep 2023 15:48:09 +0200 From: Florian Westphal To: Thomas Haller Cc: Florian Westphal , NetFilter Subject: Re: [PATCH nft v3 00/11] tests/shell: allow running tests as Message-ID: <20230905134809.GB28401@breakpoint.cc> References: <20230904135135.1568180-1-thaller@redhat.com> <20230905110915.GD3531@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Thomas Haller wrote: > On Tue, 2023-09-05 at 13:09 +0200, Florian Westphal wrote: > > Thomas Haller wrote: > > > Ch;anges to v3: > > > > I was about to apply this but 10 tests now fail for me because they > > no longer execute as real root and hit the socket buffer limits. > > > > Please fix this, the default needs to be 'all tests pass', > > i.e. use plain 'unshare -n' by default. > > > > I'll leave it up to you if you want to automatically go with > > unpriv netns if the script is invoked as non-root user or via > > env/cmdline switch. > > > > At least one failure isn't your fault, the blame is > > with a shortcut check in sets/0043concatenated_ranges_0, so the test > > never execeuted fully in the past. I will try > > to figure out when this got broken :/ Seems its always broken. Minimal reproducer: nft -f - <