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

guest_os_booting: Enable serial logs #6169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yingshun
Copy link
Contributor

@Yingshun Yingshun commented Feb 5, 2025

Update to log serial message during the test.

After the fix:

(.libvirt-ci-venv-ci-runtest-5Kbze5) [root@dell-per730-61 1-type_specific.io-github-autotest-libvirt.guest_os_booting.boot_order.virtiofs_device.start_guest]# ls
data  debug.log  ip-sniffer.log  stderr  tmp_dir9jipvgg1  vm_info_avocado-vt-vm1_387044  whiteboard

Before the fix: vm serial messages are logged in serial-serial0-avocado-vt-vm1-Dnvv.log

 (1/1) type_specific.io-github-autotest-libvirt.guest_os_booting.boot_order.virtiofs_device.start_guest: PASS (274.59 s)
RESULTS    : PASS 1 | ERROR (.libvirt-ci-venv-ci-runtest-5Kbze5) [root@dell-per730-61 1-type_specific.io-github-autotest-libvirt.guest_os_booting.boot_order.virtiofs_device.start_guest]# ls
data                                    stderr
debug.log                               tmp_dirh2aqyxv7
ip-sniffer.log                          vm_info_avocado-vt-vm1_521908
serial-serial0-avocado-vt-vm1-Dnvv.log  whiteboard
0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/log/avocado/job-results/job-2025-02-05T04.10-ba1b63d/results.html
JOB TIME   : 277.55 s

Update to log serial message during the test.

Signed-off-by: Yingshun Cui <[email protected]>
@Yingshun Yingshun requested a review from chloerh February 5, 2025 09:44
Copy link
Contributor

@chloerh chloerh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code check failed, about useless import

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

Successfully merging this pull request may close these issues.

2 participants