On 15/09/2025 18.13, Alex Bennée wrote:
Thomas Huth <th...@redhat.com> writes:
Here's yet another attempt to remove the avocado dependency from the
reverse debugging tests: I basically took Gustavo's patches to rework
tests/functional/reverse_debugging.py, but instead of calling that
through tests/guest-debug/run-test.py and adding the cumbersome code
to support additional test execution logic, I kept our normal way of
running tests via pycotap.
Hmm I was getting:
2025-09-15 17:10:50,798 - INFO: GDB CMD:
/home/alex/src/tools/binutils-gdb.git/builds/all/install/bin/gdb -q -n -batch -ex 'set
pagination off' -ex 'set confirm off' -ex "py
sys.argv=['/home/alex/lsrc/qemu.git/tests/functional/reverse_debugging.py']" -x
/home/alex/lsrc/qemu.git/tests/functional/reverse_debugging.py
2025-09-15 17:10:50,803 - DEBUG: Using cached asset
/home/alex/.cache/qemu/download/7e1430b81c26bdd0da025eeb8fbd77b5dc961da4364af26e771bd39f379cbbf7
for
https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/29/Everything/aarch64/os/images/pxeboot/vmlinuz
2025-09-15 17:10:50,891 - INFO: gdb output:
Python Exception <class 'ModuleNotFoundError'>: No module named 'pycotap'
Error occurred in Python: No module named 'pycotap'
Ah, sorry, I have it installed pycotap system-wide, too, so I did not notice
it... I'll fix it in the next version if we decide to proceed with this
approach instead of using one of the others.
Thomas