qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Two iotests failing with -qcow
@ 2025-09-29 11:56 Thomas Huth
  0 siblings, 0 replies; only message in thread
From: Thomas Huth @ 2025-09-29 11:56 UTC (permalink / raw)
  To: Qemu-block; +Cc: QEMU Developers


  Hi,

FYI, two iotests are currently failing when running "./check -qcow" :

301                             fail       [13:27:50] [13:27:52]   1.8s 
            output mismatch (see 
/tmp/qemu-qcow1/tests/qemu-iotests/scratch/qcow-file-301/301.out.bad)
--- /tmp/qemu/tests/qemu-iotests/301.out
+++ /tmp/qemu-qcow1/tests/qemu-iotests/scratch/qcow-file-301/301.out.bad
@@ -3,6 +3,7 @@
  == qcow backed by qcow ==
  Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
  qemu-img: TEST_DIR/t.IMGFMT: Backing file specified without backing format
+Detected format of IMGFMT.
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 
backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
  image: TEST_DIR/t.IMGFMT
  file format: IMGFMT
@@ -31,6 +32,7 @@

  == qcow backed by raw ==
  qemu-img: TEST_DIR/t.IMGFMT: Backing file specified without backing format
+Detected format of raw.
  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 
backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=raw
  image: TEST_DIR/t.IMGFMT
  file format: IMGFMT

and:

graph-changes-while-io          fail       [13:28:05] [13:28:42]   37.4s 
            failed, exit status 1
--- /tmp/qemu/tests/qemu-iotests/tests/graph-changes-while-io.out
+++ 
/tmp/qemu-qcow1/tests/qemu-iotests/scratch/qcow-file-graph-changes-while-io/graph-changes-while-io.out.bad
@@ -1,5 +1,107 @@
-...
+..qemu-storage-daemon: Could not update backing file link: Operation not 
supported
+EE
+======================================================================
+ERROR: test_remove_lower_snapshot_while_io 
(__main__.TestGraphChangesWhileIO.test_remove_lower_snapshot_while_io)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "/usr/lib64/python3.13/asyncio/tasks.py", line 507, in wait_for
+    return await fut
+           ^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/events.py", line 591, in get
+    return await self._queue.get()
+           ^^^^^^^^^^^^^^^^^^^^^^^
+  File "/usr/lib64/python3.13/asyncio/queues.py", line 186, in get
+    await getter
+asyncio.exceptions.CancelledError
+
+The above exception was the direct cause of the following exception:
+
+Traceback (most recent call last):
+  File "/tmp/qemu/tests/qemu-iotests/tests/graph-changes-while-io", line 
183, in test_remove_lower_snapshot_while_io
+    self._wait_for_blockjob('concluded')
+    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
+  File "/tmp/qemu/tests/qemu-iotests/tests/graph-changes-while-io", line 
66, in _wait_for_blockjob
+    for event in self.qsd.get_qmp().get_events(wait=10.0):
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/legacy.py", line 279, in get_events
+    event = self.pull_event(wait)
+  File "/tmp/qemu/python/qemu/qmp/legacy.py", line 254, in pull_event
+    self._sync(
+    ~~~~~~~~~~^
+        self._qmp.events.get(),
+        ^^^^^^^^^^^^^^^^^^^^^^^
+        timeout
+        ^^^^^^^
+    )
+    ^
+  File "/tmp/qemu/python/qemu/qmp/legacy.py", line 106, in _sync
+    return self._aloop.run_until_complete(
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
+        asyncio.wait_for(future, timeout=timeout)
+        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    )
+    ^
+  File "/usr/lib64/python3.13/asyncio/base_events.py", line 725, in 
run_until_complete
+    return future.result()
+           ~~~~~~~~~~~~~^^
+  File "/usr/lib64/python3.13/asyncio/tasks.py", line 506, in wait_for
+    async with timeouts.timeout(timeout):
+               ~~~~~~~~~~~~~~~~^^^^^^^^^
+  File "/usr/lib64/python3.13/asyncio/timeouts.py", line 116, in __aexit__
+    raise TimeoutError from exc_val
+TimeoutError
+
+======================================================================
+ERROR: test_remove_lower_snapshot_while_io 
(__main__.TestGraphChangesWhileIO.test_remove_lower_snapshot_while_io)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "/tmp/qemu/tests/qemu-iotests/tests/graph-changes-while-io", line 
60, in tearDown
+    self.qsd.stop()
+    ~~~~~~~~~~~~~^^
+  File "/tmp/qemu/tests/qemu-iotests/iotests.py", line 480, in stop
+    self._qmp.close()
+    ~~~~~~~~~~~~~~~^^
+  File "/tmp/qemu/python/qemu/qmp/legacy.py", line 288, in close
+    self._sync(
+    ~~~~~~~~~~^
+        self._qmp.disconnect()
+        ^^^^^^^^^^^^^^^^^^^^^^
+    )
+    ^
+  File "/tmp/qemu/python/qemu/qmp/legacy.py", line 106, in _sync
+    return self._aloop.run_until_complete(
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
+        asyncio.wait_for(future, timeout=timeout)
+        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    )
+    ^
+  File "/usr/lib64/python3.13/asyncio/base_events.py", line 725, in 
run_until_complete
+    return future.result()
+           ~~~~~~~~~~~~~^^
+  File "/usr/lib64/python3.13/asyncio/tasks.py", line 507, in wait_for
+    return await fut
+           ^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/protocol.py", line 443, in disconnect
+    await self._wait_disconnect()
+  File "/tmp/qemu/python/qemu/qmp/protocol.py", line 763, in _wait_disconnect
+    await all_defined_tasks  # Raise Exceptions from the bottom half.
+    ^^^^^^^^^^^^^^^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/protocol.py", line 914, in _bh_loop_forever
+    await async_fn()
+  File "/tmp/qemu/python/qemu/qmp/protocol.py", line 952, in _bh_recv_message
+    msg = await self._recv()
+          ^^^^^^^^^^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/protocol.py", line 1053, in _recv
+    message = await self._do_recv()
+              ^^^^^^^^^^^^^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/qmp_client.py", line 459, in _do_recv
+    msg_bytes = await self._readline()
+                ^^^^^^^^^^^^^^^^^^^^^^
+  File "/tmp/qemu/python/qemu/qmp/protocol.py", line 1021, in _readline
+    raise EOFError
+EOFError
+
  ----------------------------------------------------------------------
  Ran 3 tests

-OK
+FAILED (errors=2)

Should these tests maybe just be marked as non-working with qcow1 ?

  Thomas



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-29 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-29 11:56 Two iotests failing with -qcow Thomas Huth

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).