qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Qemu-block <qemu-block@nongnu.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Two iotests failing with -qcow
Date: Mon, 29 Sep 2025 13:56:57 +0200	[thread overview]
Message-ID: <a637a6be-ac18-4cf2-ae31-392de0676ab3@redhat.com> (raw)


  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



                 reply	other threads:[~2025-09-29 11:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=a637a6be-ac18-4cf2-ae31-392de0676ab3@redhat.com \
    --to=thuth@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.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 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).