Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the warnings of 'produced an invalid screendump' #3631

Open
qiankehan opened this issue Feb 22, 2023 · 0 comments
Open

Fix the warnings of 'produced an invalid screendump' #3631

qiankehan opened this issue Feb 22, 2023 · 0 comments

Comments

@qiankehan
Copy link
Contributor

For the tp-libvirt cases running on libvirt-9.0.0 and qemu-kvm-7.2.0, it always print the warnings like this:

2023-02-17 16:59:57,907 env_process      L1976 WARNI| VM 'avocado-vt-vm1' produced an invalid screendump

The reason is that, since libvirt-v8.10.0-78-g538bee0e73(qemu: Prefer PNG for domain screenshot) and QEMU-v7.1.0-rc0~125^2~6, libvirt prefers using png as screenshot format, not ppm. However, the checking functions of avocado-vt expect ppm format.
So the testing code should expect the PNG format for libvirt >= 9.0.0 && qemu >= 7.2.0. And expect the PPM format otherwise.
@dzhengfy @chunfuwen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant