All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
To: Christian Schoenebeck <qemu_oss@crudebyte.com>, qemu-devel@nongnu.org
Cc: qemu-stable@nongnu.org, Greg Kurz <groug@kaod.org>,
	Peter Maydell <peter.maydell@linaro.org>,
	Feifan Qian <bea1e@proton.me>,
	Stefano Stabellini <sstabellini@kernel.org>
Subject: Re: [PULL 00/23] 9p queue 2026-06-29
Date: Fri, 3 Jul 2026 10:20:51 -0700	[thread overview]
Message-ID: <e4721201-da0a-4da1-a9cd-4038ab021ff5@oss.qualcomm.com> (raw)
In-Reply-To: <2300937.NgBsaNRSFp@weasel>

Hi Christian,

On 7/3/2026 7:36 AM, Christian Schoenebeck wrote:
> On Thursday, 2 July 2026 20:21:54 CEST Pierrick Bouvier wrote:
>> Hi Christian,
>>
>> On 7/1/2026 9:20 AM, Christian Schoenebeck wrote:
>>> On Tuesday, 30 June 2026 09:28:48 CEST Pierrick Bouvier wrote:
>>>> Hi Christian,
>>>
>>> Hi Pierrick,
>>>
>>>> This series brought a test regression:
>>>> $ ./build/pyvenv/bin/meson test -C build \
>>>> --setup thorough --print-errorlogs \
>>>> qemu:qtest-aarch64/qos-test
>>>> ...
>>>> ERROR:../tests/qtest/libqos/virtio-9p-client.c:280:v9fs_req_recv:
>>>> assertion failed (hdr.id == id): (7 == 121)
>>>>
>>>> It seems to come test added in patch 19
>>>> "tests/9p: add 3 xattr FID limit test cases (synth fs driver)"
>>>> This test runs only with slow setup, so I suspect it never worked and
>>>> was never ran.
>>>
>>> Of course I ran these slow tests.
>>
>> I should have added "in our CI" sorry. I'm sure you developed, tested
>> and ran those yourself.
>>
>>> I intentionally registered these tests as "slow" tests as they take a long
>>> time to complete and QEMU tests being notorious on exceeding the overall
>>> CI
>>> timeout limit. So these tests are exempted from running in the official CI
>>> pipeline, but not from mine.
>>>
>>> I just reran them with latest master head. However I am unable to
>>> reproduce
>>> your reported test error so far.
>>>
>>> You cropped the output too aggressively. I need to know:
>>>
>>> - Which test exactly failed? (especially whether it's really a synth
>>> backend> 
>>>   or a local backend test that failed)
>>
>> That's the complete log from the command given above.
>> Note: disk is not full, but the error "no space left on device" is very
>> weird.
> 
> OK, I was able to reproduce the test error. Root cause is that ext4 without 
> ea_inode enabled is limited to ~4KB per xattr block. I'll prepare a patch.
>

Just saw it, I'll test and review it. Thanks!

> For the next time: please note that the most important information is always 
> the name of the test case that failed! There are several ways to run the 
> tests. In the way you ran them, the name of the failed test is printed 
> *before* the stderr block:
> 
> ...
> # slow test /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/virtio-9p-
> pci/virtio-9p/virtio-9p-tests/local/deep_absolute_path executed in 1.63 secs
> # Start of xattr_limit tests
> # starting QEMU: exec ./qemu-system-aarch64 -qtest unix:/tmp/qtest-22413.sock 
> -qtest-log /dev/null -chardev socket,path=/tmp/qtest-22413.qmp,id=char0 -mo
> n chardev=char0,mode=control -display none -audio none -run-with exit-with-
> parent=on -M virt, -cpu max -fsdev local,id=fsdev0,path='/src/bee/qemu/build/q
> test-9p-local-KKOMR3',security_model=mapped-xattr -device virtio-9p-
> pci,fsdev=fsdev0,addr=04.0,mount_tag=qtest  -accel qtest
> not ok /aarch64/virt/generic-pcihost/pci-bus-generic/pci-bus/virtio-9p-pci/
> virtio-9p/virtio-9p-tests/local/xattr_limit/default - ERROR:../tests/qtest/lib
> qos/virtio-9p-client.c:280:v9fs_req_recv: assertion failed (hdr.id == id): (7 
> == 121)
> Bail out!
> ----------------------------------- stderr -----------------------------------
> ...
> 
> So here the failing test name was /aarch64/virt/generic-pcihost/pci-bus-
> generic/pci-bus/virtio-9p-pci/virtio-9p/virtio-9p-tests/local/xattr_limit/
> default
> 
> Independent of this particular issue here, I wonder whether there is some way 
> to register a test such that it won't break other people's test pipeline. 
> Because these "local" backend xattr tests are sensible on underlying host 
> capabilities. They are useful for me, but that should not mean to stop the 
> world just because an unrelated test environment is missing a capability.
>

There is no mechanism to attach a criteria to run a test.
In this case, the only solution would be to check this attribute at
runtime (in the test itself), and return 0 to indicate success. IMHO,
that's a perfectly valid strategy. Also, it has the benefit to keep all
the information in the test itself, instead of spreading it across
multiple files.

Functional tests are a bit more evolved and offer some skip
possibilities, and I'm not sure it's worth extending this to other tests.

> /Christian
> 
> 
> 
> 

Thanks,
Pierrick.


  reply	other threads:[~2026-07-03 17:22 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 13:28 [PULL 00/23] 9p queue 2026-06-29 Christian Schoenebeck
2026-06-29 13:28 ` [PULL 03/23] 9pfs/xen: implement msize_limit callback Christian Schoenebeck
2026-06-29 13:28 ` [PULL 20/23] tests/9p: add 3 xattr FID limit test cases (local fs driver) Christian Schoenebeck
2026-06-29 13:28 ` [PULL 04/23] hw/9pfs: cap negotiated msize to transport limit Christian Schoenebeck
2026-06-29 13:28 ` [PULL 16/23] hw/9pfs: add xattr count query interface to fs synth driver Christian Schoenebeck
2026-06-29 13:28 ` [PULL 08/23] hw/9pfs: cap Treaddir allocation (CVE-2026-9238) Christian Schoenebeck
2026-06-29 13:28 ` [PULL 06/23] 9pfs/virtio: implement response_buffer_size callback Christian Schoenebeck
2026-06-29 13:28 ` [PULL 18/23] tests/9p: add virtio_9p_add_synth_driver_args() test client function Christian Schoenebeck
2026-06-29 13:28 ` [PULL 21/23] hw/9pfs: fix invalid union access by v9fs_co_fsync() Christian Schoenebeck
2026-06-29 13:28 ` [PULL 01/23] hw/9pfs: add msize_limit transport callback Christian Schoenebeck
2026-06-29 13:28 ` [PULL 17/23] tests/9p: increase P9_MAX_SIZE for test client Christian Schoenebeck
2026-06-29 13:28 ` [PULL 10/23] hw/9pfs: add max_xattr option Christian Schoenebeck
2026-06-29 13:28 ` [PULL 13/23] tests/9p: add Tclunk / Rclunk test client functions Christian Schoenebeck
2026-06-29 13:28 ` [PULL 07/23] 9pfs/xen: implement response_buffer_size callback Christian Schoenebeck
2026-06-29 13:28 ` [PULL 11/23] qemu-options: document 9pfs max_xattr option Christian Schoenebeck
2026-06-29 13:28 ` [PULL 12/23] tests/9p: add Tread / Rread test client functions Christian Schoenebeck
2026-06-29 13:28 ` [PULL 22/23] hw/9pfs: fix invalid union access by v9fs_co_fstat() Christian Schoenebeck
2026-06-29 13:28 ` [PULL 23/23] hw/9pfs/local: harden local_fid_fd() on FID types Christian Schoenebeck
2026-06-29 13:28 ` [PULL 19/23] tests/9p: add 3 xattr FID limit test cases (synth fs driver) Christian Schoenebeck
2026-06-29 13:28 ` [PULL 05/23] hw/9pfs: add response_buffer_size transport callback Christian Schoenebeck
2026-06-29 13:28 ` [PULL 02/23] 9pfs/virtio: implement msize_limit callback Christian Schoenebeck
2026-06-29 13:28 ` [PULL 09/23] hw/9pfs: add xattr FID limit to prevent memory exhaustion Christian Schoenebeck
2026-06-29 13:28 ` [PULL 15/23] hw/9pfs: enable xattr (mockup) support for synth fs driver Christian Schoenebeck
2026-06-29 13:28 ` [PULL 14/23] tests/9p: add Txattrcreate / Rxattrcreate test client functions Christian Schoenebeck
2026-06-29 18:28 ` [PULL 00/23] 9p queue 2026-06-29 Stefan Hajnoczi
2026-06-30  7:28 ` Pierrick Bouvier
2026-07-01 16:20   ` Christian Schoenebeck
2026-07-02 18:21     ` Pierrick Bouvier
2026-07-03 14:36       ` Christian Schoenebeck
2026-07-03 17:20         ` Pierrick Bouvier [this message]
2026-07-01 10:15 ` Michael Tokarev
2026-07-01 17:21   ` Christian Schoenebeck

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=e4721201-da0a-4da1-a9cd-4038ab021ff5@oss.qualcomm.com \
    --to=pierrick.bouvier@oss.qualcomm.com \
    --cc=bea1e@proton.me \
    --cc=groug@kaod.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=qemu_oss@crudebyte.com \
    --cc=sstabellini@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.