Skip to contentSkip to conversation

178202: regressions - trouble: fail/pass/starved

libvirt test osstest service owner 1 participant 1 message Feb 23, 2023

lore
Share & tools
lore

osstest service owner

author Reviewed-by Ján Tomko Reviewed-by Ján Tomko Reviewed-by Ján Tomko Reviewed-by Michal Privoznik Reviewed-by Michal Privoznik Reviewed-by Laine Stump Reviewed-by Michal Privoznik Reviewed-by Michal Privoznik Reviewed-by Michal Privoznik Reviewed-by Laine Stump
#0 lore raw

flight 178202 libvirt real [real]
flight 178283 libvirt real-retest [real]
http://logs.test-lab.xenproject.org/osstest/logs/178202/
http://logs.test-lab.xenproject.org/osstest/logs/178283/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-libvirt-vhd 19 guest-start/debian.repeat fail REGR. vs. 178089

Tests which are failing intermittently (not blocking):
test-arm64-arm64-libvirt 7 xen-install fail pass in 178283-retest
test-arm64-arm64-libvirt-qcow2 17 guest-start/debian.repeat fail pass in 178283-retest

Tests which did not succeed, but are not blocking:
test-arm64-arm64-libvirt 15 migrate-support-check fail in 178283 never pass
test-arm64-arm64-libvirt 16 saverestore-support-check fail in 178283 never pass

 test-amd64-i386-libvirt-xsm  15 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt     15 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-xsm 15 migrate-support-check        fail   never pass
 test-amd64-i386-libvirt      15 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-xsm 15 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-xsm 16 saverestore-support-check    fail   never pass
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 13 migrate-support-check fail never pass
 test-amd64-i386-libvirt-raw  14 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-vhd 14 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-qcow2 14 migrate-support-check        fail never pass
 test-arm64-arm64-libvirt-qcow2 15 saverestore-support-check    fail never pass
 test-arm64-arm64-libvirt-raw 14 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-raw 15 saverestore-support-check    fail   never pass
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 13 migrate-support-check fail never pass
 build-armhf-libvirt           1 build-check(1)               starved  n/a
 test-armhf-armhf-libvirt-raw  1 build-check(1)               starved  n/a
 test-armhf-armhf-libvirt-qcow2  1 build-check(1)               starved  n/a
 test-armhf-armhf-libvirt      1 build-check(1)               starved  n/a
 build-armhf                   2 hosts-allocate               starved  n/a

version targeted for testing:
libvirt 6af048339fe6b22fb25cf62f7ec4d1bddb7ad1d6
baseline version:
libvirt 110d209263022c6029e398116154562518e4a474

Last test of basis   178089  2023-02-22 04:20:19 Z    1 days
Testing same since   178202  2023-02-23 04:18:58 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Daniel P. Berrangé <[email protected]>
Fedora Weblate Translation <[email protected]> Jiri Denemark <[email protected]>
Laine Stump <[email protected]>
Peter Krempa <[email protected]>
Stefano Brivio <[email protected]>
Temuri Doghonadze <[email protected]> Weblate <[email protected]>

jobs:

 build-amd64-xsm                                              pass    
 build-arm64-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64                                                  pass    
 build-arm64                                                  pass    
 build-armhf                                                  starved 
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-arm64-libvirt                                          pass    
 build-armhf-libvirt                                          starved 
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-arm64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           pass    
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            pass    
 test-amd64-amd64-libvirt-xsm                                 pass    
 test-arm64-arm64-libvirt-xsm                                 pass    
 test-amd64-i386-libvirt-xsm                                  pass    
 test-amd64-amd64-libvirt                                     pass    
 test-arm64-arm64-libvirt                                     fail    
 test-armhf-armhf-libvirt                                     starved 
 test-amd64-i386-libvirt                                      pass    
 test-amd64-amd64-libvirt-pair                                pass    
 test-amd64-i386-libvirt-pair                                 pass    
 test-arm64-arm64-libvirt-qcow2                               fail    
 test-armhf-armhf-libvirt-qcow2                               starved 
 test-arm64-arm64-libvirt-raw                                 pass    
 test-armhf-armhf-libvirt-raw                                 starved 
 test-amd64-i386-libvirt-raw                                  pass    
 test-amd64-amd64-libvirt-vhd                                 fail    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

------------------------------------------------------------
commit 6af048339fe6b22fb25cf62f7ec4d1bddb7ad1d6

Author: Weblate <[email protected]>
Date:   Wed Feb 22 15:22:29 2023 +0100

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/

commit 5e406bdaef016f8da25f680f4dbfb8678f69750c

Author: Jiri Denemark <[email protected]>
Date:   Wed Feb 22 15:16:26 2023 +0100

po: Refresh potfile for v9.1.0

commit 9541ce080a0896411bebb299f47e39112810a648

Author: Daniel P. Berrangé <[email protected]>
Date:   Thu Feb 16 15:51:03 2023 +0000

docs/kbase: fix example for SEV validation

The offline validation example needs to include the firmware path, and is also missing line continuation markers.

commit a020a2541a6c1926d3de6a11738ad117932c6252

Author: Daniel P. Berrangé <[email protected]>
Date:   Thu Feb 16 14:57:56 2023 +0000

rpm: add missing deps for the virt-qemu-sev-validate

The RPM automatic deps generator for python does not pick these up

commit 4d3b2d77d014fe4a7a1fa8123b71cc7b41ee5beb

Author: Daniel P. Berrangé <[email protected]>
Date:   Thu Feb 16 14:55:11 2023 +0000

docs: refer to --firmware instead of --loader

The --loader syntax was left over from an earlier version of the code before it was renamed to --firmware.

commit f62ce81b8a57d8033be4c661e071cbd12b83bf7b

Author: Laine Stump <[email protected]>
Date:   Tue Feb 21 01:16:04 2023 -0500

qemu: respond to NETDEV_STREAM_DISCONNECTED event

When a QEMU netdev is of type "stream", if the socket it uses for connectivity to the host network gets closed, then QEMU will send a NETDEV_STREAM_DISCONNECTED event. We know that any stream netdev we've created is backed by a passt process, and if the socket was closed, that means the passt process has disappeared.

When we receive this event, we can respond by starting a new passt process with the same options (including socket path) we originally used. If we have previously created the stream netdev device with a "reconnect" option, then QEMU will automatically reconnect to this new passt process. (If we hadn't used "reconnect", then QEMU will never try to reconnect to the new passt process, so there's no point in starting it.)

Note that NETDEV_STREAM_DISCONNECTED is an event sent for the netdev (ie "host side") of the network device, and so it sends the "netdev-id" to specify which device was disconnected. But libvirt's virDomainNetDef (the object used to keep track of network devices) is the internal representation of both the host-side "netdev", and the guest side device, and virDomainNetDef doesn't directly keep track of the netdev-id, only of the device's "alias" (which is the "id" parameter of the *guest* side of the device). Fortunately, by convention libvirt always names the host-side of devices as "host" + alias, so in order to search for the affected NetDef, all we need to do is trim the 1st 4 characters from the netdev-id and look for the NetDef having that resulting trimmed string as its alias. (Contrast this to NIC_RX_FILTER_CHANGED, which is an event received for the guest side of the device, and so directly contains the device alias.)

Resolves: https://bugzilla.redhat.com/2172098

commit acd8333f763f1e45728fac4e727fef4e33141ebf

Author: Laine Stump <[email protected]>
Date:   Mon Feb 20 18:26:51 2023 -0500

qemu: add reconnect=5 to passt qemu commandline options when available

QEMU's "reconnect" option of "-netdev stream" tells QEMU to periodically (period is given in seconds as an argument to the option) attempt to reconnect to the same passt socket to which it had originally connected to. This is useful in cases where the passt process terminates, and libvirtd starts a new passt process in its place (which doesn't happen yet, but will happen automatically after an upcoming patch in this series).

Since there is no real hueristic for determining the "best" value of the reconnect interval, rather than clutter up config with a knob that nobody knows how to properly twiddle, we just set the reconnect timer to 5 seconds.

"-netdev stream" first appeared in QEMU 7.2.0, but the reconnect option won't be available until QEMU 8.0.0, so we need to check QEMU capabilities just in case someone is using QEMU 7.2.0 (and thus can support passt backend, but not reconnect)

commit 70747222a73ffed5cdadcab492bef67fe7e49aa4

Author: Peter Krempa <[email protected]>
Date:   Mon Feb 20 17:25:08 2023 +0100

qemu: capabilities: Introduce QEMU_CAPS_NETDEV_STREAM_RECONNECT

Detect that the 'stream' netdev backend supports reconnecting.

commit 771992363e1e85b60fe97dc6a4171d4633402392

Author: Laine Stump <[email protected]>
Date:   Tue Feb 21 01:09:04 2023 -0500

qemu: remove extraneous error log when qemuPasstStart() fails during hotplug

qemuPasstStart() already logs any error that occurs, so having the caller log a generic error message only serves to obscure the actual problem.

Fixes a56f0168d576fa01cec204dc3c67d4d63ab8487f

commit dffc40db695c9b6d089f7fdc1be9fde00f917c58

Author: Laine Stump <[email protected]>
Date:   Mon Feb 20 15:14:23 2023 -0500

qemu: add check for QEMU_CAPS_NETDEV_STREAM during validation

In commit 5af6134e I had added a new capability that is true if QEMU allows "-netdev stream", but somehow neglected to actually check it in commit a56f0168d when hooking up passt support to qemu. This isn't catastrophic, since QEMU itself will still report an error, but that error isn't as easy to understand as a libvirt-generated error.

Fixes a56f0168d576fa01cec204dc3c67d4d63ab8487f

commit b7a18787de7c193dc68640668cc176ef9d887bc1

Author: Stefano Brivio <[email protected]>
Date:   Tue Feb 21 20:19:07 2023 +0100

qemu_passt: Remove passt socket file on exit

Just like it can't remove its own PID files, passt can't unlink its own socket upon exit (unless the initialisation fails), because it has no access to the filesystem at runtime.

Remove the socket file in qemuPasstKill().

Fixes a56f0168d576 ("qemu: hook up passt config to qemu domains")

commit 4938954ed38fff44b5a81e4a60d11da9b36b41a2

Author: Temuri Doghonadze <[email protected]>
Date:   Tue Feb 21 12:15:17 2023 +0100

Translated using Weblate (Georgian)

Currently translated at 3.5% (367 of 10405 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/ka/

Translated using Weblate (Georgian)

Currently translated at 2.1% (223 of 10405 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/ka/