diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-03-04 18:33:40 +0000 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-03-07 09:23:45 +0100 |
| commit | 842721581fdbed45fa4738d02df8d28b1eaf28dd (patch) | |
| tree | c9ce63fbbbca7f0fa64b7a11018bd8b1bc9ae135 /docs/devel/testing/blkdebug.rst | |
| parent | a31001b1c807cc59b2a9aa99845783cb40a27d0c (diff) | |
| download | focaccia-qemu-842721581fdbed45fa4738d02df8d28b1eaf28dd.tar.gz focaccia-qemu-842721581fdbed45fa4738d02df8d28b1eaf28dd.zip | |
tests/functional: fix race in virtio balloon test
There are two race conditions in the recently added virtio balloon test * The /dev/vda device node is not ready * The virtio-balloon driver has not issued the first stats refresh To fix the former, monitor dmesg for a line about 'vda'. To fix the latter, retry the stats query until seeing fresh data. Adding 'quiet' to the kernel command line reduces serial output which otherwise slows boot, making it less likely to hit the former race too. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250304183340.3749797-1-berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> [thuth: Break long line to avoid checkpatch error] Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'docs/devel/testing/blkdebug.rst')
0 files changed, 0 insertions, 0 deletions