qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: Warnings during the virtio-net-failover test
Date: Mon, 20 Dec 2021 14:32:50 +0100	[thread overview]
Message-ID: <0a54bcaf-3977-3162-bdf6-0091b6db9cf1@redhat.com> (raw)
In-Reply-To: <fcbae7f4-ff58-bb5d-fd5d-8b0145a6ee21@redhat.com>

On 20/12/2021 11:16, Thomas Huth wrote:
>
>  Hi Laurent,
>
> today I noticed that there are quite a bunch of warnings during the virtio-net-failover 
> test:
>
> $ QTEST_QEMU_BINARY=./qemu-system-x86_64 tests/qtest/virtio-net-failover
> /x86_64/failover-virtio-net/hotplug_1: qemu-system-x86_64: warning: Primary device not 
> found
> Virtio-net failover will not work. Make sure primary device has parameter 
> failover_pair_id=standby0
> OK
> /x86_64/failover-virtio-net/hotplug_1_reverse: OK
> /x86_64/failover-virtio-net/hotplug_2: qemu-system-x86_64: warning: Primary device not 
> found
> Virtio-net failover will not work. Make sure primary device has parameter 
> failover_pair_id=standby0
> OK
> [...]
> /x86_64/failover-virtio-net/migrate/out: qemu-system-x86_64: warning: Primary device not 
> found
> Virtio-net failover will not work. Make sure primary device has parameter 
> failover_pair_id=standby0
> OK
> /x86_64/failover-virtio-net/migrate/in: OK
> /x86_64/failover-virtio-net/migrate/abort/wait-unplug: qemu-system-x86_64: warning: 
> Primary device not found
> Virtio-net failover will not work. Make sure primary device has parameter 
> failover_pair_id=standby0
> OK
> /x86_64/failover-virtio-net/migrate/abort/active: qemu-system-x86_64: warning: Primary 
> device not found
> Virtio-net failover will not work. Make sure primary device has parameter 
> failover_pair_id=standby0
> OK
> /x86_64/failover-virtio-net/multi/out: OK
> /x86_64/failover-virtio-net/multi/in: OK
>
> I assume they are false positives? If so, could you please come up with a patch to 
> silence them, since they are quite confusing...?
>
In fact they are the results of the test itself as we try to plug the standby device first.

They are produced by a error_setg(), but as the caller is not attached to a user interface 
the errp is used with warn_report_err().

In the end it uses error_vprintf() that seems that could be silence using 
QTEST_SILENT_ERRORS environment variable.

I'm going to write a patch using that.

Thanks,

Laurent





      reply	other threads:[~2021-12-20 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 10:16 Warnings during the virtio-net-failover test Thomas Huth
2021-12-20 13:32 ` Laurent Vivier [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=0a54bcaf-3977-3162-bdf6-0091b6db9cf1@redhat.com \
    --to=lvivier@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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).