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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34E02E7717F for ; Fri, 13 Dec 2024 14:04:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A4D336B0085; Fri, 13 Dec 2024 09:04:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9FDE16B008A; Fri, 13 Dec 2024 09:04:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 89D8E6B008C; Fri, 13 Dec 2024 09:04:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 684D36B0085 for ; Fri, 13 Dec 2024 09:04:37 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 2313B43B86 for ; Fri, 13 Dec 2024 14:04:37 +0000 (UTC) X-FDA: 82890104976.08.FBA6A33 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf17.hostedemail.com (Postfix) with ESMTP id 386064001D for ; Fri, 13 Dec 2024 14:04:15 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=QhbBnmtx; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf17.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1734098650; a=rsa-sha256; cv=none; b=lPre3efz0xhZDccrhGvXSgUz9gnCIXzs2RG6sr2gcMeimooRvrQYKOY6WZd8wQD9jV+FhY xEUz8jzY8laHnzdwi3JSXHKtOtPlOMdyGlFZLPFkBtlv+ij0d9p4UL4EeojZ+MfiiHmZjx +nr8JKWMFuQbjWiUXo9+aTejMpg1mpE= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=QhbBnmtx; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf17.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1734098650; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=BMjJh3rNwqJWG/q45S190yCaLe7IaLUoUOyUtTRrI4M=; b=Nyzi/fg0yhpJlr2mnylSPXIcYP3ipsOmItLMd+Hb3vvAQ2sYaEBga0mPeVDqB/R1X1CFgM QuL16NMpkvj23C5M3dPTJqd/2VOSViBF+685NaQOva2cgy8DtP9iK69mKC+j8uQB43C2/n j/RADn+3kPUz8Qrq4knUoqiPCg1U4YI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734098674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BMjJh3rNwqJWG/q45S190yCaLe7IaLUoUOyUtTRrI4M=; b=QhbBnmtxdo3ZmmXk6hVDwW+p736VJ4pN4eMIjK6UxxpCJV1WXRDX6ZwFzVfi39pIu6TEBu C9RijA/i8gQTGgJEUooY49/msHaSe+6iRGVBr3H1psJbR4Ud6TOthIuA1Sz3hT0flBgO35 BVQYBQEsmD3QmsVW0Ax0CZLD8jf2dyg= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-528-A8uEA95lOSGhAgZJarh21Q-1; Fri, 13 Dec 2024 09:04:32 -0500 X-MC-Unique: A8uEA95lOSGhAgZJarh21Q-1 X-Mimecast-MFC-AGG-ID: A8uEA95lOSGhAgZJarh21Q Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BCB9F1955E9A; Fri, 13 Dec 2024 14:04:29 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.48]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9948F195605A; Fri, 13 Dec 2024 14:04:25 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20241213135013.2964079-1-dhowells@redhat.com> References: <20241213135013.2964079-1-dhowells@redhat.com> To: Christian Brauner , Ilya Dryomov Cc: dhowells@redhat.com, Max Kellermann , Xiubo Li , Trond Myklebust , Jeff Layton , Matthew Wilcox , netfs@lists.linux.dev, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: ceph xfstests failures [was Re: [PATCH 00/10] netfs, ceph, nfs, cachefiles: Miscellaneous fixes/changes] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2964552.1734098664.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Dec 2024 14:04:24 +0000 Message-ID: <2964553.1734098664@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 386064001D X-Stat-Signature: osjw59sqihn1f3gyhb1nrskmyky5hcyw X-Rspam-User: X-HE-Tag: 1734098655-597139 X-HE-Meta: U2FsdGVkX18R3h9+GSCyOJZiRFSdvzuGn7FQk+CTC7HaJVLQ3XyDYcZH/luI3K4SGp5rGWmetOeA3v/Pd6qLDIahR6FKF52/cxYtrhq7MTGxsDJa7Trl+fp5so6VSSO0mUDGhABWmNcb6DvVTdpxkbo65e3/CoJFsQYW8O8yOZZt2f64kOXw2dvHMFPi+ILhTdZ+iroiR2wuol0XIvzRcmfOGk/2FkEc1v/DUEOknJhNg0uhKFndAIlozdKBNPBesOND1MgtI6E3puRfI0LjEmyFCsVgmBcj7O5lu/fGM//ItNyCdEw8JOIue+eoEM9SiW1AjgPbs8l13QhfaR17RVFaLbNZ/+wb+rx+9HPB+l5zh+Gz3sVAJpQ93FpGp4aFBcyYRqeCBr5h/sCcGbDPzL5AmAxhbpLNTqDzZYywrldKAnGVEP6WznvDQGEDAFSjxesgVvIkXlL+dUyhtpceF1aEmgDDLt2kLQa0PmWwBiVHW7Kyos13xGRFvautpmnOIjn6QUJgfkWQsDIRyhaR/G4Y1u+gVwz0ES//Ve57LdjGm86B6GLFlqYq7SF4Y9qE/FkRJ+5Qkemk3igtZ5QfRNHOBjGRGi/MDhwmaqDIlI8av9OqV9nKjzjlXpL4uIEDDAQjpYkkzL6kVJyvyLzQwfXtPFfTANRL1rwEWSquiQmdvj49rsOoSNDrJYVdmAFKEJXCBTvwQZlpop/FkIFFM7LafCOEDC5B/agpEEXqcfhg9K7n282D7oiG5l2Pi+ivcs7ssbBPkzFrzGydjpRfJejuOdtqqKn3uD+hcocZOj+X/pyz8P4oXl9LVBmiIWk0KaBgxgDFXWOymWrI5rGGcmdvmLiM9J4JjWTXKNTJL3fT4NMhHrsboMAw+YN+RDS3ZNXVzsGnvF2/VpyuMs+NnCixn+WT4WLFEwuI5S1MjgMRWYSlaDtzfXLUTCcdd/wEfVXQ8CsH6ph1JBrhb/u UQ/CEoPt ksXcPallGDUrUh90sOwWxppkMWYrwTVAAHPHCTt4bTZWzY5oRPfHwvjdurawEk9aQbXVN/LOUm0LUwuJAjK334dj6unqAEjX+1kTMUHpKOvRsFcpjQlH9sWxA61awxZSdepbS9KIjfb2ry062ag0O00IIhwpHhEXX8RsNCSkoYJBFaiV3rvDONUFUqU94cxgnTk1JPPRNavDnXNIXFQQp9b+LjuYaNyx2cKOjGv+q8H/yCOc6qB6Qp9xWq85Zka0669VuRwRCnWalgh1M0aD3koVoM20XmpBXHyee/X1lgHwALw1B+9FLOnS3ys5uZrdycYM9hN5j2ChOwAw= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: David Howells wrote: > With these patches, I can run xfstest -g quick to completion on ceph wit= h a > local cache. I should qualify that. The thing completes and doesn't hang, but I get 6 failures: Failures: generic/604 generic/633 generic/645 generic/696 generic/697 = generic/732 Though these don't appear to be anything to do with netfslib (see attached= ). There are two cases where the mount is busy and the rest seems to be due t= o id-mapped mounts and/or user namespaces. The xfstest local.config file looks something like: export FSTYP=3Dceph export TEST_DEV=3D:/test export TEST_DIR=3D/xfstest.test TEST_FS_MOUNT_OPTS=3D'-o name=3Dadmin,mds_namespace=3Dtest,fs=3Dtest,f= sc' export SCRATCH_DEV=3D:/scratch export SCRATCH_MNT=3D/xfstest.scratch export MOUNT_OPTIONS=3D'-o name=3Dadmin,mds_namespace=3Dscratch,fs=3Ds= cratch,fsc=3Dscratch' David --- # ./check -E .exclude generic/604 generic/633 generic/645 generic/696 gene= ric/697 generic/732 FSTYP -- ceph PLATFORM -- Linux/x86_64 andromeda 6.13.0-rc2-build3+ #5311 SMP Fri D= ec 13 09:03:34 GMT 2024 MKFS_OPTIONS -- :/scratch MOUNT_OPTIONS -- -o name=3Dadmin,mds_namespace=3Dscratch,fs=3Dscratch,fsc=3D= scratch -o context=3Dsystem_u:object_r:root_t:s0 :/scratch /xfstes= t.scratch generic/604 2s ... [failed, exit status 1]- output mismatch (see /root/xfs= tests-dev/results//generic/604.out.bad) --- tests/generic/604.out 2024-09-12 12:36:14.187441830 +0100 +++ /root/xfstests-dev/results//generic/604.out.bad 2024-12-13 13:18:5= 1.910900871 +0000 @@ -1,2 +1,4 @@ QA output created by 604 -Silence is golden +mount error 16 =3D Device or resource busy +mount -o name=3Dadmin,mds_namespace=3Dscratch,fs=3Dscratch,fsc=3Dscra= tch -o context=3Dsystem_u:object_r:root_t:s0 :/scratch /xfstest.sc= ratch failed +(see /root/xfstests-dev/results//generic/604.full for details) ... (Run 'diff -u /root/xfstests-dev/tests/generic/604.out /root/xfstests-= dev/results//generic/604.out.bad' to see the entire diff) generic/633 [failed, exit status 1]- output mismatch (see /root/xfst= ests-dev/results//generic/633.out.bad) --- tests/generic/633.out 2024-09-12 12:36:14.187441830 +0100 +++ /root/xfstests-dev/results//generic/633.out.bad 2024-12-13 13:18:5= 5.958979531 +0000 @@ -1,2 +1,4 @@ QA output created by 633 Silence is golden +idmapped-mounts.c: 307: tcore_create_in_userns - Input/output error -= failure: open file +vfstest.c: 2418: run_test - Success - failure: create operations in u= ser namespace ... (Run 'diff -u /root/xfstests-dev/tests/generic/633.out /root/xfstests-= dev/results//generic/633.out.bad' to see the entire diff) generic/645 [failed, exit status 1]- output mismatch (see /root/xfst= ests-dev/results//generic/645.out.bad) --- tests/generic/645.out 2024-09-12 12:36:14.191441810 +0100 +++ /root/xfstests-dev/results//generic/645.out.bad 2024-12-13 13:19:2= 5.526908024 +0000 @@ -1,2 +1,4 @@ QA output created by 645 Silence is golden +idmapped-mounts.c: 6671: nested_userns - Invalid argument - failure: = sys_mount_setattr +vfstest.c: 2418: run_test - Invalid argument - failure: test that nes= ted user namespaces behave correctly when attached to idmapped mounts ... (Run 'diff -u /root/xfstests-dev/tests/generic/645.out /root/xfstests-= dev/results//generic/645.out.bad' to see the entire diff) generic/696 - output mismatch (see /root/xfstests-dev/results//gener= ic/696.out.bad) --- tests/generic/696.out 2024-09-12 12:36:14.195441791 +0100 +++ /root/xfstests-dev/results//generic/696.out.bad 2024-12-13 13:19:3= 0.254804087 +0000 @@ -1,2 +1,6 @@ QA output created by 696 +idmapped-mounts.c: 7763: setgid_create_umask_idmapped - Input/output = error - failure: create +vfstest.c: 2418: run_test - Success - failure: create operations by u= sing umask in directories with setgid bit set on idmapped mount +idmapped-mounts.c: 7763: setgid_create_umask_idmapped - Input/output = error - failure: create +vfstest.c: 2418: run_test - Success - failure: create operations by u= sing umask in directories with setgid bit set on idmapped mount Silence is golden ... (Run 'diff -u /root/xfstests-dev/tests/generic/696.out /root/xfstests-= dev/results//generic/696.out.bad' to see the entire diff) HINT: You _MAY_ be missing kernel fix: ac6800e279a2 fs: Add missing umask strip in vfs_tmpfile 1639a49ccdce= fs: move S_ISGID stripping into the vfs_*() helpers generic/697 - output mismatch (see /root/xfstests-dev/results//gener= ic/697.out.bad) --- tests/generic/697.out 2024-09-12 12:36:14.195441791 +0100 +++ /root/xfstests-dev/results//generic/697.out.bad 2024-12-13 13:19:3= 1.749225548 +0000 @@ -1,2 +1,4 @@ QA output created by 697 +idmapped-mounts.c: 8218: setgid_create_acl_idmapped - Input/output er= ror - failure: create +vfstest.c: 2418: run_test - Success - failure: create operations by u= sing acl in directories with setgid bit set on idmapped mount Silence is golden ... (Run 'diff -u /root/xfstests-dev/tests/generic/697.out /root/xfstests-= dev/results//generic/697.out.bad' to see the entire diff) HINT: You _MAY_ be missing kernel fix: 1639a49ccdce fs: move S_ISGID stripping into the vfs_*() helpers generic/732 1s ... [failed, exit status 1]- output mismatch (see /root/xfs= tests-dev/results//generic/732.out.bad) --- tests/generic/732.out 2024-09-12 12:36:14.195441791 +0100 +++ /root/xfstests-dev/results//generic/732.out.bad 2024-12-13 13:19:3= 4.482858235 +0000 @@ -1,2 +1,5 @@ QA output created by 732 Silence is golden +mount error 16 =3D Device or resource busy +mount -o name=3Dadmin,mds_namespace=3Dscratch,fs=3Dscratch,fsc=3Dscra= tch -o context=3Dsystem_u:object_r:root_t:s0 :/scratch /xfstest.te= st/mountpoint2-732 failed +(see /root/xfstests-dev/results//generic/732.full for details) ... (Run 'diff -u /root/xfstests-dev/tests/generic/732.out /root/xfstests-= dev/results//generic/732.out.bad' to see the entire diff) Ran: generic/604 generic/633 generic/645 generic/696 generic/697 generic/7= 32 Failures: generic/604 generic/633 generic/645 generic/696 generic/697 gene= ric/732 Failed 6 of 6 tests