public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@linaro.org>
To: Petr Vorel <pvorel@suse.cz>
Cc: benjamin.copeland@linaro.org, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] file_attr02: Add XFS kernel config requirement
Date: Fri, 24 Oct 2025 20:25:42 +0300	[thread overview]
Message-ID: <aPu2lqXN8G7h4e7D@stanley.mountain> (raw)
In-Reply-To: <20251024133035.GA590258@pevik>

On Fri, Oct 24, 2025 at 03:30:35PM +0200, Petr Vorel wrote:
> > The file_attr02 test requires XFS filesystem support to properly
> > test the FS_IOC_FSSETXATTR ioctl with project quotas. Add the
> > XFS kernel configuration requirement to ensure the test can run
> > on systems with XFS support either built-in or as a module.
> 
> So you have problem on the kernel with CONFIG_XFS_FS=y?

No, on systems with CONFIG_XFS_FS=n.  We do have the utilities
installed and FUSE_FS enabled, but the test says XFS is not
supported.

tst_supported_fs_types.c:129: TINFO: Filesystem xfs is not supported

The log file is here:
https://storage.tuxsuite.com/public/linaro/lkft/tests/340jmxk7fPGUn5zJbqsn4Chrs88/logs.txt

Both file_attr02 and file_attr03 fail.

> I wonder why tst_get_supported_fs_types() from lib/tst_supported_fs_types.c did
> not detect it. Could you please post whole output?
> 
> Because if code in struct tst_test.filesystems does not work, many tests would
> be affected with this setup. I'm probably missing something, but I'd prefer to
> fix the detection in the library than force config (we don't have any CONFIG_.*_FS
> in testcases/).
> 

That's a fair point.  I'm not really very familiar with how LTP works.

On the other hand, even if we fixed the LTP framework to not run tests
on unsupported filesystems, we might want to still fix it in case someone
just ran it with kirk

./tools/kirk/kirk/kirk -c ./testcases/kernel/syscalls/file_attr/file_attr02

or even just directly `./file_attr02`

regards,
dan carpenter

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-10-24 17:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-24 12:56 [LTP] [PATCH] file_attr02: Add XFS kernel config requirement Anders Roxell
2025-10-24 13:30 ` Petr Vorel
2025-10-24 17:25   ` Dan Carpenter [this message]
2025-10-27  9:21     ` Cyril Hrubis
2025-10-27 14:32       ` Anders Roxell
2025-10-27 15:11         ` Cyril Hrubis
2025-10-27 15:19           ` Dan Carpenter
2025-10-30 18:24             ` Petr Vorel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aPu2lqXN8G7h4e7D@stanley.mountain \
    --to=dan.carpenter@linaro.org \
    --cc=benjamin.copeland@linaro.org \
    --cc=ltp@lists.linux.it \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox