qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* iotest 041 is failing with -qed
@ 2020-06-17  6:18 Thomas Huth
  2020-06-17  6:42 ` Max Reitz
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2020-06-17  6:18 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Kevin Wolf, Qemu-block, Max Reitz


 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?

 Thomas



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iotest 041 is failing with -qed
  2020-06-17  6:18 iotest 041 is failing with -qed Thomas Huth
@ 2020-06-17  6:42 ` Max Reitz
  0 siblings, 0 replies; 2+ messages in thread
From: Max Reitz @ 2020-06-17  6:42 UTC (permalink / raw)
  To: Thomas Huth, QEMU Developers; +Cc: Kevin Wolf, Qemu-block


[-- Attachment #1.1: Type: text/plain, Size: 3388 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-17  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-17  6:18 iotest 041 is failing with -qed Thomas Huth
2020-06-17  6:42 ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).