* Warnings during the virtio-net-failover test
@ 2021-12-20 10:16 Thomas Huth
2021-12-20 13:32 ` Laurent Vivier
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2021-12-20 10:16 UTC (permalink / raw)
To: Laurent Vivier; +Cc: QEMU Developers
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...?
Thanks,
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Warnings during the virtio-net-failover test
2021-12-20 10:16 Warnings during the virtio-net-failover test Thomas Huth
@ 2021-12-20 13:32 ` Laurent Vivier
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Vivier @ 2021-12-20 13:32 UTC (permalink / raw)
To: Thomas Huth; +Cc: QEMU Developers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-20 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-20 10:16 Warnings during the virtio-net-failover test Thomas Huth
2021-12-20 13:32 ` Laurent Vivier
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).