Python / Acceptance Tests: improve logging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Python: close the log file kept by QEMUMachine before reading itpython/ | +2 | 6 replies | |
| 2/6 | Python: expose QEMUMachine's temporary directorypython/ python/ tests/ +1 more | +21 | 7 replies | |
| 3/6 | Acceptance Tests: use the job work directory for created VMstests/ | +2 | 2 replies | |
| 4/6 | Acceptance Tests: log information when creating QEMUMachinetests/ | +4 | 1 reply | |
| 5/6 | Acceptance Tests: distinguish between temp and logs dirpython/ tests/ | +16 | 1 reply | |
| 6/6 | tests/acceptance/virtio-gpu.py: preserve virtio-user-gpu logtests/ | +3 | 2 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Wainer dos Santos Moschetta | John Snow |
|---|---|---|---|
| 1/6 | A-b | R-b | |
| 2/6 | R-b | ||
| 3/6 | R-b | R-b | |
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] Python / Acceptance Tests: improve logging
The location and amount of information kept while using QEMUMachine in Acceptance Tests is currently not optimal.
This improves the situation by using the Test's log directory (an Avocado standard feature) as the default location to keep logs, instead of the temporary directory currently used.
Users will be able to find "qemu-$PID.log" files under the test log directories, containing all the stdout/stderr generated by the QEMU binary.
Cleber Rosa (6):
Python: close the log file kept by QEMUMachine before reading it
Python: expose QEMUMachine's temporary directory Acceptance Tests: use the job work directory for created VMs Acceptance Tests: log information when creating QEMUMachine Acceptance Tests: distinguish between temp and logs dir tests/acceptance/virtio-gpu.py: preserve virtio-user-gpu log
python/qemu/machine.py | 42 +++++++++++++++++------ python/qemu/qtest.py | 6 ++-- tests/acceptance/avocado_qemu/__init__.py | 10 ++++-- tests/acceptance/virtio-gpu.py | 5 +-- tests/qemu-iotests/iotests.py | 2 +- 5 files changed, 45 insertions(+), 20 deletions(-)
Signature · 1 line
2.25.4