* [PATCH] scripts/device-crash-test: fix spurious EOFError messages
@ 2025-10-22 21:31 John Snow
2025-10-23 7:01 ` Thomas Huth
0 siblings, 1 reply; 3+ messages in thread
From: John Snow @ 2025-10-22 21:31 UTC (permalink / raw)
To: qemu-devel; +Cc: John Snow, Thomas Huth
When the QMP library was updated to match the standalone repository in
094ded52, I neglected to update the logging filter(s) in
device-crash-test, which allowed the spurious messages to leak through.
Update the log filter to re-suppress these messages.
Fixes: 094ded52
Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/device-crash-test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/device-crash-test b/scripts/device-crash-test
index 1ecb9663ae8..c1576e8b966 100755
--- a/scripts/device-crash-test
+++ b/scripts/device-crash-test
@@ -527,7 +527,7 @@ def main():
# Async QMP, when in use, is chatty about connection failures.
# This script knowingly generates a ton of connection errors.
# Silence this logger.
- logging.getLogger('qemu.qmp.qmp_client').setLevel(logging.CRITICAL)
+ logging.getLogger('qemu.qmp.protocol').setLevel(logging.CRITICAL)
fatal_failures = []
wl_stats = {}
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/device-crash-test: fix spurious EOFError messages
2025-10-22 21:31 [PATCH] scripts/device-crash-test: fix spurious EOFError messages John Snow
@ 2025-10-23 7:01 ` Thomas Huth
2025-10-23 13:58 ` John Snow
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2025-10-23 7:01 UTC (permalink / raw)
To: John Snow, qemu-devel
On 22/10/2025 23.31, John Snow wrote:
> When the QMP library was updated to match the standalone repository in
> 094ded52, I neglected to update the logging filter(s) in
> device-crash-test, which allowed the spurious messages to leak through.
>
> Update the log filter to re-suppress these messages.
>
> Fixes: 094ded52
> Reported-by: Thomas Huth <thuth@redhat.com>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> scripts/device-crash-test | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/device-crash-test b/scripts/device-crash-test
> index 1ecb9663ae8..c1576e8b966 100755
> --- a/scripts/device-crash-test
> +++ b/scripts/device-crash-test
> @@ -527,7 +527,7 @@ def main():
> # Async QMP, when in use, is chatty about connection failures.
> # This script knowingly generates a ton of connection errors.
> # Silence this logger.
> - logging.getLogger('qemu.qmp.qmp_client').setLevel(logging.CRITICAL)
> + logging.getLogger('qemu.qmp.protocol').setLevel(logging.CRITICAL)
>
> fatal_failures = []
> wl_stats = {}
Thanks, that silences the messages, indeed!
Tested-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/device-crash-test: fix spurious EOFError messages
2025-10-23 7:01 ` Thomas Huth
@ 2025-10-23 13:58 ` John Snow
0 siblings, 0 replies; 3+ messages in thread
From: John Snow @ 2025-10-23 13:58 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-devel
On Thu, Oct 23, 2025 at 3:01 AM Thomas Huth <thuth@redhat.com> wrote:
>
> On 22/10/2025 23.31, John Snow wrote:
> > When the QMP library was updated to match the standalone repository in
> > 094ded52, I neglected to update the logging filter(s) in
> > device-crash-test, which allowed the spurious messages to leak through.
> >
> > Update the log filter to re-suppress these messages.
> >
> > Fixes: 094ded52
> > Reported-by: Thomas Huth <thuth@redhat.com>
> > Signed-off-by: John Snow <jsnow@redhat.com>
> > ---
> > scripts/device-crash-test | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/device-crash-test b/scripts/device-crash-test
> > index 1ecb9663ae8..c1576e8b966 100755
> > --- a/scripts/device-crash-test
> > +++ b/scripts/device-crash-test
> > @@ -527,7 +527,7 @@ def main():
> > # Async QMP, when in use, is chatty about connection failures.
> > # This script knowingly generates a ton of connection errors.
> > # Silence this logger.
> > - logging.getLogger('qemu.qmp.qmp_client').setLevel(logging.CRITICAL)
> > + logging.getLogger('qemu.qmp.protocol').setLevel(logging.CRITICAL)
> >
> > fatal_failures = []
> > wl_stats = {}
>
> Thanks, that silences the messages, indeed!
>
> Tested-by: Thomas Huth <thuth@redhat.com>
The library is designed to be very vocal about connection failures so
that tests don't silently fail even when there's no output expected,
but for a test where we're intentionally trying to see if QEMU crashes
over and over, it's not really so helpful :)
thanks for the report!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-23 13:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 21:31 [PATCH] scripts/device-crash-test: fix spurious EOFError messages John Snow
2025-10-23 7:01 ` Thomas Huth
2025-10-23 13:58 ` John Snow
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).