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

Workaround for the wait_for_serial_login #5778

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

Conversation

iccaszhulili
Copy link
Contributor

After coldplug virtiofs device to the guest, then
start the guest. We used wait_for_serial_login to try to login the guest. But after about 240s, we still can not login. So I use a workarond here.

After coldplug virtiofs device to the guest, then
start the guest. We used wait_for_serial_login to try
to login the guest. But after about 240s, we still can not
login. So I use a workarond here.

Signed-off-by: Lili Zhu <lizhu@redhat.com>
@iccaszhulili
Copy link
Contributor Author

iccaszhulili commented Jul 13, 2024

avocado run --vt-type libvirt filesystem_device_unprivileged
JOB ID : 2892f19ecaa9d71444f36381750589ba66f0db70
JOB LOG : /var/log/avocado/job-results/job-2024-07-13T09.42-2892f19/job.log
(01/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.one_guest.hotplug: STARTED
(01/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.one_guest.hotplug: PASS (91.38 s)
(02/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.one_guest.coldplug: STARTED
(02/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.one_guest.coldplug: PASS (67.50 s)
(03/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.two_guests.hotplug: STARTED
(03/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.two_guests.hotplug: PASS (173.71 s)
(04/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.two_guests.coldplug: STARTED
(04/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_hugepages.two_guests.coldplug: PASS (128.71 s)
(05/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.one_guest.hotplug: STARTED
(05/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.one_guest.hotplug: PASS (91.69 s)
(06/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.one_guest.coldplug: STARTED
(06/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.one_guest.coldplug: PASS (68.08 s)
(07/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.two_guests.hotplug: STARTED
(07/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.two_guests.hotplug: PASS (174.14 s)
(08/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.two_guests.coldplug: STARTED
(08/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_memfd.two_guests.coldplug: PASS (95.21 s)
(09/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.one_guest.hotplug: STARTED
(09/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.one_guest.hotplug: PASS (91.73 s)
(10/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.one_guest.coldplug: STARTED
(10/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.one_guest.coldplug: PASS (66.58 s)
(11/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.two_guests.hotplug: STARTED
(11/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.two_guests.hotplug: PASS (173.35 s)
(12/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.two_guests.coldplug: STARTED
(12/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.one_fs.with_shm.two_guests.coldplug: PASS (125.88 s)
(13/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.one_guest.hotplug: STARTED
(13/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.one_guest.hotplug: PASS (93.91 s)
(14/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.one_guest.coldplug: STARTED
(14/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.one_guest.coldplug: PASS (69.44 s)
(15/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.two_guests.hotplug: STARTED
(15/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.two_guests.hotplug: PASS (177.27 s)
(16/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.two_guests.coldplug: STARTED
(16/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_hugepages.two_guests.coldplug: PASS (129.14 s)
(17/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.one_guest.hotplug: STARTED
(17/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.one_guest.hotplug: PASS (93.49 s)
(18/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.one_guest.coldplug: STARTED
(18/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.one_guest.coldplug: PASS (69.70 s)
(19/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.two_guests.hotplug: STARTED
(19/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.two_guests.hotplug: PASS (177.74 s)
(20/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.two_guests.coldplug: STARTED
(20/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_memfd.two_guests.coldplug: PASS (98.84 s)
(21/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.one_guest.hotplug: STARTED
(21/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.one_guest.hotplug: PASS (93.64 s)
(22/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.one_guest.coldplug: STARTED
(22/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.one_guest.coldplug: PASS (68.76 s)
(23/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.two_guests.hotplug: STARTED
(23/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.two_guests.hotplug: PASS (176.35 s)
(24/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.two_guests.coldplug: STARTED
(24/24) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device_unprivileged.two_fs.with_shm.two_guests.coldplug: PASS (97.57 s)
RESULTS : PASS 24 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /var/log/avocado/job-results/job-2024-07-13T09.42-2892f19/results.html
JOB TIME : 2711.43 s

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.

Please hold this pr, I'm currently working on another solution with vt_console. If a result is needed, please run the job with this workaround for now.

@iccaszhulili
Copy link
Contributor Author

@chloerh Thanks. Hi, @smitterl F.Y.I

@chloerh
Copy link
Contributor

chloerh commented Jul 16, 2024

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.

None yet

2 participants