qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'check-avocado' fails after c03f57fd5b ("Revert "tests: Use separate ...


From: Daniel Henrique Barboza
Subject: 'check-avocado' fails after c03f57fd5b ("Revert "tests: Use separate ...")
Date: Fri, 1 Sep 2023 11:36:29 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

Hi,

FWIW I am unable to run 'check-avocado' after commit c03f57fd5b ("Revert 
"tests: Use
separate virtual environment for avocado"). The error being thrown:

[20/20] Generating docs/QEMU man pages with a custom command
  VENVPIP install -e /home/danielhb/work/test/qemu/python/
/home/danielhb/work/test/qemu/build/pyvenv/bin/python3 -B 
python/scripts/mkvenv.py ensuregroup --online 
/home/danielhb/work/test/qemu/pythondeps.toml avocado
mkvenv: checking for avocado-framework(>=88.1, <93.0)
mkvenv: checking for pycdlib>=1.11.0
  AVOCADO tests/avocado
/home/danielhb/work/test/qemu/build/pyvenv/bin/python3: No module named 
avocado.__main__; 'avocado' is a package and cannot be directly executed
make: *** [/home/danielhb/work/test/qemu/tests/Makefile.include:139: 
check-avocado] Error 1


The system is a Fedora 38 with python3-avocado-92.0-2.fc38.noarch.

Reverting c03f57fd5b fixes the issue. This is also reproducible in a fresh git 
clone
in the same system, so I don't believe it's something to do with a dirty working
tree.

I was unable to quickly identify why and fix it, so for now I'll be reverting 
the patch
locally to be able to run check-avocado.


Thanks,

Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]