[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: iotest 041 is failing with -qed
From: |
Max Reitz |
Subject: |
Re: iotest 041 is failing with -qed |
Date: |
Wed, 17 Jun 2020 08:42:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 17.06.20 08:18, Thomas Huth wrote:
>
> Hi!
>
> I just noticed that iotest 041 is failing with -qed:
>
> $ ./check -qed 041
> QEMU --
> "tests/qemu-iotests/../../x86_64-softmmu/qemu-system-x86_64" -nodefaults
> -display none -accel qtest
> QEMU_IMG -- "tests/qemu-iotests/../../qemu-img"
> QEMU_IO -- "tests/qemu-iotests/../../qemu-io" --cache writeback
> --aio threads -f qed
> QEMU_NBD -- "tests/qemu-iotests/../../qemu-nbd"
> IMGFMT -- qed
> IMGPROTO -- file
> PLATFORM -- Linux/x86_64 thuth 4.18.0-80.11.2.el8_0.x86_64
> TEST_DIR -- tests/qemu-iotests/scratch
> SOCK_DIR -- /tmp/tmp.Fgwzwl4EoG
> SOCKET_SCM_HELPER -- tests/qemu-iotests/socket_scm_helper
>
> 041 fail [08:12:36] [08:13:09] (last: 31s) output
> mismatch (see 041.out.bad)
> --- tests/qemu-iotests/041.out 2020-06-15 14:11:05.389400610 +0200
> +++ tests/qemu-iotests/041.out.bad 2020-06-17 08:13:09.205195987 +0200
> @@ -1,5 +1,33 @@
> -........................................................................................................
> +........................................F............F..................................................
> +======================================================================
> +FAIL: test_small_target (__main__.TestSingleBlockdev)
> +----------------------------------------------------------------------
> +Traceback (most recent call last):
> + File "041", line 281, in test_small_target
> + self.do_test_target_size(self.image_len // 2)
> + File "041", line 270, in do_test_target_size
> + self.assert_qmp(result, 'return', {})
> + File "tests/qemu-iotests/iotests.py", line 848, in assert_qmp
> + result = self.dictpath(d, path)
> + File "tests/qemu-iotests/iotests.py", line 822, in dictpath
> + self.fail(f'failed path traversal for "{path}" in "{d}"')
> +AssertionError: failed path traversal for "return" in "{'error':
> {'class': 'GenericError', 'desc': 'Shrinking images is currently not
> supported'}}"
> +
> +======================================================================
> +FAIL: test_small_target (__main__.TestSingleBlockdevUnalignedLength)
> +----------------------------------------------------------------------
> +Traceback (most recent call last):
> + File "041", line 281, in test_small_target
> + self.do_test_target_size(self.image_len // 2)
> + File "041", line 270, in do_test_target_size
> + self.assert_qmp(result, 'return', {})
> + File "tests/qemu-iotests/iotests.py", line 848, in assert_qmp
> + result = self.dictpath(d, path)
> + File "tests/qemu-iotests/iotests.py", line 822, in dictpath
> + self.fail(f'failed path traversal for "{path}" in "{d}"')
> +AssertionError: failed path traversal for "return" in "{'error':
> {'class': 'GenericError', 'desc': 'Shrinking images is currently not
> supported'}}"
> +
> ----------------------------------------------------------------------
> Ran 104 tests
>
> -OK
> +FAILED (failures=2)
> Failures: 041
> Failed 1 of 1 iotests
>
> Is it a known problem already?
Well, FWIW, I knew of it, but didn’t get around to doing anything about
it yet.
Thanks for reporting it anyway, now I have better justification to do
something about it. :) (And of course in case I would have missed it.)
Max
signature.asc
Description: OpenPGP digital signature