Re: [PULL 0/9] parallels: fix reachable assertion and related bounds-checking gaps

"Denis V. Lunev" <[email protected]>
Newsgroups gmane.comp.emulators.qemu.block,gmane.comp.emulators.qemu
Message-ID <[email protected]>
On 7/28/26 16:01, Stefan Hajnoczi wrote:
> The qemu-iotests parallels-checks output has a mismatch:
> https://gitlab.com/qemu-project/qemu/-/jobs/15576051278#L143
>
> 53/56 block-parallels-optional+block-thorough -
> qemu:io-parallels-parallels-checks ERROR 9.82s exit status 1
>>>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 RUST_BACKTRACE=1 PYTHON=/builds/qemu-project/qemu/build/pyvenv/bin/python3 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=221 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 LD_LIBRARY_PATH=/builds/qemu-project/qemu/build/subprojects/libvfio-user/lib /builds/qemu-project/qemu/build/pyvenv/bin/python3 /builds/qemu-project/qemu/build/../tests/qemu-iotests/check -tap -parallels parallels-checks --source-dir /builds/qemu-project/qemu/tests/qemu-iotests --build-dir /builds/qemu-project/qemu/build/tests/qemu-iotests
> ――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
> stderr:
> --- /builds/qemu-project/qemu/tests/qemu-iotests/tests/parallels-checks.out
> +++ /builds/qemu-project/qemu/build/scratch/parallels-file-parallels-checks/parallels-checks.out.bad
> @@ -143,6 +143,8 @@
> protocol type: file
> file length: 2 GiB (2147483648 bytes)
> disk size: 1 MiB
> + Format specific information:
> + extent size hint: 1048576
> == an unallocated cluster still reads as zeroes ==
> read 1048576/1048576 bytes at offset 0
> 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
> (test program exited with status code 1)

Interesting :-)

The difference comes from the underlying filesystem. I use ext4 locally and
runner seems uses XFS.

dev007 ~ # qemu-img info hint.parallels
image: hint.parallels
file format: parallels
virtual size: 4 MiB (4194304 bytes)
disk size: 1 MiB
Child node '/file':
    filename: hint.parallels
    protocol type: file
    file length: 1 MiB (1048576 bytes)
    disk size: 1 MiB
    Format specific information: <----- XFS specific info
        extent size hint: 1048576
dev007 ~ # 

I will fix and re-spin.

Den
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.