From patchwork Sun Nov 10 18:05:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 13870021 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 96A131E495 for ; Sun, 10 Nov 2024 18:05:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731261960; cv=none; b=kKtf/Qmq122aBc4TEKsBpXV1LRK7pO1udnnePp2wmvNQJ1FPutP43r3n6JblvBGVciTAivEbgtxhbpEV04zXfgtZPeb5R0Jl98srATMUjEn4BRRpzrFfbDsUQFTNMhAnr8nEVTsaioL7eU/G75t6M3spGLbLCpaLkXuVPeGhuMk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731261960; c=relaxed/simple; bh=XwGC4KSTJ1voAqNyzsky7Rgyu744WErtSdkdvrA3ZAE=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=FBy+jSLvBJvkkL36THiM51qDXuJPCHBYggkbvn3vQMS3Adg0zDBC2a7PCUNzR4WZAcKdRld42PYRs+5sKiHcq3zuaSJ0T6qkHPqFNhgvpq971NfJ93d3Sm/Sp0Y+ESQ5a6TKSmyTAVe1i3gJNdZ0bLCPDjrgV/tGjpKObW/tpbc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b=GhhF4bJq; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="GhhF4bJq" Received: from cwcc.thunk.org (pool-173-48-82-224.bstnma.fios.verizon.net [173.48.82.224]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 4AAI5Xe7022225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 10 Nov 2024 13:05:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1731261936; bh=hXDYJ+1LRmCbCIZx8cVeseKteiPATKs0qcxx3fJkx2E=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=GhhF4bJqFaoEdxCl9oI++cIPRmi9Q05xnaRb5kPo2ALHQvfoA4qmmR4WmYuimWM6X 3bqaOtPeYNTislpA1exdd/VtXl+gqV8NOSi31OAKFf6v5M5RsNHvqi2wUeNtSu4k4O YCl4uXieVHEDppXbxHaCkWcGMUHe7UoSXHut0iyEQXgwRk0tVu2lyE4VKzS4Ok/a3S s0m70s1larXFaJny51s/vzDg3vIf+LuL2q1p5lUd/msAWwBjxKiGVimxRqZuA1cGEo WnSjd1arae0zJ58B+lJ2mJv4595MRclKPo5PX86zewFQCoO7U4QV0X9YvTK59BaGNU HyoNrU19vFR6Q== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 97FEE15C02BF; Sun, 10 Nov 2024 13:05:33 -0500 (EST) Date: Sun, 10 Nov 2024 13:05:33 -0500 From: "Theodore Ts'o" To: Linux Filesystem Development List , fstests@vger.kernel.org Cc: Christian Brauner , stable@vger.kernel.org, Leah Rumancik , "Darrick J. Wong" Subject: generic/645 failing on ext4, xfs (probably others) on all LTS kernels Message-ID: <20241110180533.GA200429@mit.edu> Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline The test generic/645 is failing on (at least) 6.6, 6.1, 5.15 LTS kernels. This fix is apparently commit dacfd001eaf2 ("fs/mnt_idmapping.c: Return -EINVAL when no map is written"), but in order to take this patch, it looks like we need to backport the 4 patch series "mnt_idmapping: decouple from namespaces"[1] (and possibly others; I haven't tried yet). [1] https://lore.kernel.org/all/20231122-vfs-mnt_idmap-v1-0-dae4abdde5bd@kernel.org/ This looks fairly involved so the questions I have are: (1) Should we request this patch series plus commit dacfd001eaf2 into the stable kernels --- or should I just add a versioned excludes[2] and just skip generic/645 from all kernels older than Linux 6.9 if we think it's too involved and/or risky to backport these id mapping changes? (2) How much do we care that generic/645 is failing on LTS kernels? Are user/applications going to notice or care? Thanks, - Ted [2] Like this: TESTRUNID: ltm-20241016165408-0014 KERNEL: kernel 6.6.61-rc1-xfstests-g4744f45e99fb #8 SMP PREEMPT_DYNAMIC Sun Nov 10 05:14:53 EST 2024 x86_64 CMDLINE: -c ext4/all,xfs/all -g auto --repo stable-rc.git --watch linux-6.6.y CPUS: 2 MEM: 7680 ext4/4k: 576 tests, 2 failures, 55 skipped, 6031 seconds Failures: generic/365 generic/645 ext4/1k: 570 tests, 3 failures, 59 skipped, 5818 seconds Failures: generic/627 generic/645 generic/750 ext4/ext3: 568 tests, 2 failures, 148 skipped, 4243 seconds Failures: generic/365 generic/645 ext4/encrypt: 551 tests, 2 failures, 171 skipped, 4186 seconds Failures: generic/365 generic/645 ext4/nojournal: 568 tests, 2 failures, 126 skipped, 4458 seconds Failures: generic/365 generic/645 ext4/ext3conv: 573 tests, 3 failures, 57 skipped, 6299 seconds Failures: generic/347 generic/365 generic/645 ext4/adv: 569 tests, 2 failures, 63 skipped, 4802 seconds Failures: generic/365 generic/645 ext4/dioread_nolock: 574 tests, 2 failures, 55 skipped, 4746 seconds Failures: generic/365 generic/645 ext4/data_journal: 569 tests, 2 failures, 132 skipped, 4243 seconds Failures: generic/365 generic/645 ext4/bigalloc_4k: 547 tests, 2 failures, 58 skipped, 4770 seconds Failures: generic/365 generic/645 ext4/bigalloc_1k: 548 tests, 1 failures, 69 skipped, 4855 seconds Failures: generic/645 ext4/dax: 562 tests, 2 failures, 159 skipped, 2977 seconds Failures: generic/365 generic/645 xfs/4k: 1157 tests, 13 failures, 181 skipped, 11983 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/365 generic/616 generic/645 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 Flaky: generic/455: 20% (1/5) xfs/1k: 1157 tests, 12 failures, 169 skipped, 12621 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/616 generic/645 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 Flaky: generic/560: 20% (1/5) xfs/v4: 1156 tests, 11 failures, 476 skipped, 8452 seconds Failures: generic/363 generic/365 generic/645 xfs/348 xfs/629 xfs/630 xfs/631 xfs/632 xfs/803 xfs/804 xfs/806 xfs/adv: 1157 tests, 13 failures, 167 skipped, 11341 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/365 generic/616 generic/645 xfs/157 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 xfs/quota: 1157 tests, 12 failures, 166 skipped, 12417 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/365 generic/616 generic/645 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 xfs/quota_1k: 1157 tests, 13 failures, 169 skipped, 14282 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/627 generic/645 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 Flaky: generic/112: 20% (1/5) generic/616: 80% (4/5) xfs/dirblock_8k: 1157 tests, 13 failures, 166 skipped, 12183 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/365 generic/616 generic/645 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 Flaky: generic/075: 80% (4/5) xfs/realtime: 1156 tests, 6 failures, 521 skipped, 9530 seconds Failures: generic/363 generic/365 generic/455 generic/645 xfs/629 xfs/806 xfs/realtime_28k_logdev: 1156 tests, 5 failures, 602 skipped, 16344 seconds Failures: generic/363 generic/365 generic/645 xfs/598 xfs/806 xfs/realtime_logdev: 1156 tests, 7 failures, 575 skipped, 12594 seconds Failures: generic/363 generic/365 generic/645 xfs/598 xfs/629 xfs/789 xfs/806 xfs/logdev: 1157 tests, 14 failures, 236 skipped, 15071 seconds Failures: generic/091 generic/127 generic/263 generic/363 generic/365 generic/616 generic/645 xfs/598 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 Flaky: generic/112: 60% (3/5) xfs/dax: 1167 tests, 7 failures, 552 skipped, 5763 seconds Failures: generic/365 generic/645 xfs/629 xfs/630 xfs/631 xfs/632 xfs/806 Totals: 21269 tests, 5132 skipped, 739 failures, 0 errors, 186798s FSTESTIMG: gce-xfstests/xfstests-amd64-202410151341 FSTESTPRJ: gce-xfstests FSTESTVER: blktests f043065 (Thu, 20 Jun 2024 16:26:22 +0900) FSTESTVER: fio fio-3.38 (Wed, 2 Oct 2024 12:53:13 -0600) FSTESTVER: fsverity v1.6 (Wed, 20 Mar 2024 21:21:46 -0700) FSTESTVER: ima-evm-utils v1.5 (Mon, 6 Mar 2023 07:40:07 -0500) FSTESTVER: libaio libaio-0.3.108-82-gb8eadc9 (Thu, 2 Jun 2022 13:33:11 +0200) FSTESTVER: ltp 20240930 (Mon, 30 Sep 2024 12:27:12 +0200) FSTESTVER: quota v4.05-69-g68952f1 (Mon, 7 Oct 2024 15:45:56 -0400) FSTESTVER: util-linux v2.40.2 (Thu, 4 Jul 2024 09:59:17 +0200) FSTESTVER: xfsprogs v6.10.1-91-g42523142 (Tue, 8 Oct 2024 14:31:31 +0200) FSTESTVER: xfstests-bld 71bcf39c (Tue, 15 Oct 2024 13:27:36 -0400) FSTESTVER: xfstests v2024.10.14-11-g173cdbc07 (Tue, 15 Oct 2024 09:31:29 -0400) FSTESTVER: zz_build-distro bookworm FSTESTSET: -g auto FSTESTOPT: aex diff --git a/test-appliance/files/root/fs/global_exclude b/test-appliance/files/root/fs/global_exclude index d7acf89f..42902152 100644 --- a/test-appliance/files/root/fs/global_exclude +++ b/test-appliance/files/root/fs/global_exclude @@ -30,6 +30,14 @@ generic/484 generic/554 #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(6,9,0) +// This test failure is fixed by commit dacfd001eaf2 +// ("fs/mnt_idmapping.c: Return -EINVAL when no map is written"), +// but it's too involved to backport it and its dependencies to +// the LTS kernels. +generic/645 +#endif + #ifndef IS_DAX_CONFIG // Unless we are testing the dax config, we can exclude all dax tests -g dax