Hi All,
I am trying to setup LAVA and execute test cases. I am using Intel x86-64 machine.
LAVA able to boot the Linux without any issues, but it is stuck just before login prompt.
I am able to boot the machine with manual procedure.
Pls find the log below.
[[0;32m OK [0m] Started [0;1;39mBerkeley Internet Name Domain (DNS)[0m.
[[0;32m OK [0m] Started [0;1;39mPostfix Mail Transport Agent[0m.
[[0;32m OK [0m] Reached target [0;1;39mMulti-User System[0m.
[[0;32m OK [0m] Reached target [0;1;39mHost and Network Name Lookups[0m.
Starting [0;1;39mRecord Runlevel Change in UTMP[0m...
[[0;32m OK [0m] Finished [0;1;39mRecord Runlevel Change in UTMP[0m.
Linux Update 6 intel-x86-64 ttyUSB0
<Login prompt print expected here ("intel-x86-64 login:"), but not displayed on the log>
bootloader-interrupt timed out after 280 seconds
end: 2.3.2 bootloader-interrupt (duration 00:04:40) [common]
case: bootloader-interrupt
case_id: 185
definition: lava
duration: 280.00
extra: ...
level: 2.3.2
namespace: common
result: fail
health check yaml file snippet:
- boot:
timeout:
minutes: 5
method: ipxe
commands: nfs
failure_retry: 3
prompts:
- '[a-zA-Z0-9\-\_]+@[a-zA-Z0-9\-\_]+:.*?#'
auto_login:
login_prompt: "intel-x86-64 login:"
username: root
password_prompt: "password:"
password: root
login_commands:
- cat /proc/cmdline
- cd /
- ls
- test:
failure_retry: 3
timeout:
minutes: 5
definitions:
- repository:
metadata:
format: Lava-Test Test Definition 1.0
name: smoke-tests-basic
description: "Basic system test command for Linaro Ubuntu images"
run:
steps:
- printenv
Thanks
Rajesh