All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Markus Armbruster" <armbru@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	qemu-devel@nongnu.org
Subject: Re: qos-test is annoyingly noisy
Date: Mon, 28 Jul 2025 15:57:52 +0100	[thread overview]
Message-ID: <aIeP8MvrITqNtnsF@redhat.com> (raw)
In-Reply-To: <ed3009be-8707-4340-a8ee-2523f77fe861@redhat.com>

On Wed, Jul 23, 2025 at 06:38:45PM +0200, Paolo Bonzini wrote:
> On 7/23/25 16:28, Markus Armbruster wrote:
> > Noise starting with "stdout: " has been polluting output of "make check"
> > for a while.  I traced it to qos-test.  Output of "make
> > check-qtest-aarch64" appended as an example.
> > 
> > Blessed silence if I revert commit 30ea13e9d97d (tests/qtest: use
> > qos_printf instead of g_test_message).
> > 
> > Alex, what shall we do here?
> 
> What is printing "stdout:", is it glib?  I think glib should be using
> g_test_message() to do those "stdout:" prints. But I agree a more practical
> alternative is a revert.

AFAICT, this is a bug in meson.

The test in question is running in a subprocess, and glib uses
nested TAP plans for the subprocess. These messages are all
TAP diagnositic lines from the nested plan, and meson is
incorrectly complaining about them.

> > 
> > stdout: 138: UNKNOWN:     # # qos_test running single test in subprocess

IIUC, the original text from glib nested plan was

  "     # # qos_test running single test in subprocess"

and meson adds the 'stdout: 128: UNKNOWN: ' prefix


> > Unknown TAP output lines have been ignored. Please open a feature request to
> > implement them, or prefix them with a # if they are not TAP syntax.

...they were already prefixed with '#', they just had some
whitespace before the '#' due to the nested plans.


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



      parent reply	other threads:[~2025-07-28 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-23 14:28 qos-test is annoyingly noisy Markus Armbruster
2025-07-23 16:38 ` Paolo Bonzini
2025-07-28 14:39   ` Markus Armbruster
2025-07-28 14:57   ` Daniel P. Berrangé [this message]

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=aIeP8MvrITqNtnsF@redhat.com \
    --to=berrange@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=pbonzini@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.