Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7013238rwr; Tue, 2 May 2023 08:21:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Nh9oHhU/kf+BNOMnnch2F8Rw5xu2vS3eOxRfm4FoOjJ+xS6RlB8AG0Qzong8tFQgg7cYk X-Received: by 2002:a17:902:da83:b0:1a5:1109:f58e with SMTP id j3-20020a170902da8300b001a51109f58emr21422863plx.29.1683040891022; Tue, 02 May 2023 08:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683040891; cv=none; d=google.com; s=arc-20160816; b=LJBKpC/Jh0Wb2L/l9fipKESPapT+JodPn8R1cuEVxTu5yvdtn4moYp49GOvToy0myF b4PkPgTuyODrTLRbvpqkxZ9aWF/8J4c4AGquEOMS3LP6vHRC+YctLr36M7rnak7bNAPl rzI6aM5Qo8Ql9wT7z5qxsCMismH54X0FqeHyJQQahnJr8AJAKvRtvFdzbIYw1JpPAs1G fYBH7pzaji9EgvtXtkT25vwfhXW/ucEW12E81LOMJ4Y/h/yq16w3VGX5p9npJyoOMP6l NXhbWYcAUtZkRKAJ0NmeLHnh8MgJuPgLmg5ocmGECgRunot/1CbNqD8uUKxfjldD5/Yt zxew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=Dg0G3Hlm9JSNx1ZLqXIQLLdwdWB2kPYklJ9tLF+0H1Y=; b=Wqg1sbCUiW7SUSyL8UVf9P+6nYlLkTyjlmLFLOLBWN/ztWWqRrEll5a870xDktUITO wc4hv0z03CsRC15brQ1233JiJ/h+UGs98BhCMKMA7pk5YRDtbHzvLvkNbnmDfp2N+rds 54j0BSoEDW0cUMwKQwccNKNymm3wMbZa5vGx2W7JabtERbjv6ssvUSw7vZ2ZN0+GuqC9 HU32OR5TNJNH5f+XchXnh6Z0pdPIu/iLP1jsJsgo1UysEQx80ZpUAcoxt5SNKOmJjbvV RVsxTDNtKm35ORgybBOmJ2ecHMhwQxeVM+9TaVauT800jn9lR139whNFfz4MHrwfnMlv 2/zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Uar4GXfU; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s9-20020a170902ea0900b001a99941abbfsi18546604plg.338.2023.05.02.08.21.04; Tue, 02 May 2023 08:21:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Uar4GXfU; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234450AbjEBPNk (ORCPT + 99 others); Tue, 2 May 2023 11:13:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234186AbjEBPNj (ORCPT ); Tue, 2 May 2023 11:13:39 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 638092D52 for ; Tue, 2 May 2023 08:13:38 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 233FF1FD6E; Tue, 2 May 2023 15:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1683040417; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Dg0G3Hlm9JSNx1ZLqXIQLLdwdWB2kPYklJ9tLF+0H1Y=; b=Uar4GXfU8NnCOxtnM/r6cE2+DFdZi0VSzp1jEtbzq1zN3zZQAPqeKf889Cu35FAqe2ho4/ d3+s+VGHoo8ohq3qFyX1fPOH5NA1BqjL4SGvly4oBj5wEFpAmeHjYEmnWGMq7Vfo3Q6YGf S7Nsjn2v2ctunDodygiYuAaFTFEkcb8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1683040417; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Dg0G3Hlm9JSNx1ZLqXIQLLdwdWB2kPYklJ9tLF+0H1Y=; b=EdACrY9nKze3XGBlcvTEnlGOU3E4kDR6l0wViHWdFbnbJMFl5ysh4QAtDjgP5DspOlBu1Z 0nKQ7OrJwDwD8xDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id C6BFB134FB; Tue, 2 May 2023 15:13:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id xBqQLqAoUWRFGgAAMHmgww (envelope-from ); Tue, 02 May 2023 15:13:36 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , NeilBrown , Cyril Hrubis , linux-nfs@vger.kernel.org, Jeff Layton , OGAWA Hirofumi , Petr Vorel Subject: [PATCH 1/1] nfs08.sh: Skip on vfat Date: Tue, 2 May 2023 17:13:48 +0200 Message-Id: <20230502151348.3677809-1-pvorel@suse.cz> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Petr Vorel vfat does not see '2' on various distros: * openSUSE Tumbleweed 20230427 (kernel 6.2.12-1-default, nfs-utils 2.6.3, mkfs.fat 4.2 (2021-01-31)) * Debian 12 bookworm (kernel 6.1.0-6-amd64, nfs-utils 2.6.2, mkfs.fat 4.2 (2021-01-31)) NOTE: on it fails completely (on all filesystems) on Debian 11 bullseye (kernel 5.10.0-8-amd64, nfs-utils 1.3.3, mkfs.fat 4.2 (2021-01-31)) - likely due 1.3.3, thus skip the test completely. Signed-off-by: Petr Vorel --- Hi all, testing NFS on all filesystems showed this problem. Problem on older Debian shows it's likely not related to vfat, but to something in NFS. Any idea what is wrong? NOTE: this should be merged before upcoming LTP release. Kind regards, Petr testcases/network/nfs/nfs_stress/nfs08.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/testcases/network/nfs/nfs_stress/nfs08.sh b/testcases/network/nfs/nfs_stress/nfs08.sh index 759b4e418..e1c152e2d 100755 --- a/testcases/network/nfs/nfs_stress/nfs08.sh +++ b/testcases/network/nfs/nfs_stress/nfs08.sh @@ -8,6 +8,23 @@ # Based on reproducer from Neil Brown TST_TESTFUNC="do_test" +TST_SKIP_FILESYSTEMS="vfat" +TST_SETUP="do_setup" + +do_setup() +{ + local util_version + + nfs_setup + + util_version=$(mount.nfs -V | sed 's/.*nfs-utils \([0-9]\)\..*/\1/') + if ! tst_is_int "$util_version"; then + tst_brk TBROK "Failed to detect mount.nfs major version" + fi + if [ "$util_version" -lt 2 ]; then + tst_brk TCONF "Testing requires nfs-utils > 1" + fi +} do_test() { -- 2.40.0