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

Can't not login "wait_for_serial_login(timeout=timeout)" #3759

Open
khaidox opened this issue Sep 4, 2023 · 0 comments
Open

Can't not login "wait_for_serial_login(timeout=timeout)" #3759

khaidox opened this issue Sep 4, 2023 · 0 comments

Comments

@khaidox
Copy link

khaidox commented Sep 4, 2023

This function has issue. It can't login to VM.
2023-09-03 21:03:50,332 avocado.virttest.ip_sniffing DEBUG| Updated HWADDR (52:54:00:0f:e8:72)<->(192.168.122.32) IP pair into address cache
2023-09-03 21:05:55,751 avocado.virttest.utils_net WARNI| Error occur when update VM address cache: Login timeout expired (output: 'exceeded 120 s timeout')

[stdlog] 2023-09-03 22:07:21,289 avocado.virttest.env_process WARNI| Could not get host cpu family
[stderr] Traceback (most recent call last):
[stderr] File "/home/VMs/.pyenv/versions/env-avocado/lib/python3.10/site-packages/avocado_vt/plugins/vt_runner.py", line 69, in runTest
[stderr] raise self.__status # pylint: disable-msg=E0702
[stderr] File "/home/VMs/.pyenv/versions/env-avocado/lib/python3.10/site-packages/avocado_vt/test.py", line 145, in setUp
[stderr] self._runTest()
[stderr] File "/home/VMs/.pyenv/versions/env-avocado/lib/python3.10/site-packages/avocado_vt/test.py", line 263, in _runTest
[stderr] run_func(self, params, env)
[stderr] File "/home/VMs/.pyenv/versions/env-avocado/lib/python3.10/site-packages/virttest/error_context.py", line 135, in new_fn
[stderr] return fn(*args, **kwargs)
[stderr] File "/home/VMs/avocado/data/avocado-vt/virttest/test-providers.d/downloads/io-github-autotest-libvirt/libvirt/tests/src/sample/sample.py", line 28, in run
[stderr] session_serial = vm.wait_for_serial_login(timeout=login_timeout, username="root", password="root")
[stderr] File "/home/VMs/.pyenv/versions/env-avocado/lib/python3.10/site-packages/virttest/virt_vm.py", line 1414, in wait_for_serial_login
[stderr] raise remote.LoginTimeoutError('exceeded %s s timeout' %
[stderr] aexpect.remote.LoginTimeoutError: Login timeout expired (output: 'exceeded 60 s timeout')

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

No branches or pull requests

1 participant