Hello Milosz,
I tried as suggested please find the error message and job details:
- boot:
prompts:
- 'abcd:'
timeout:
minutes: 6
method: qemu
media: tmpfs
auto_login:
login_prompt: "login:"
username: root
password_prompt: "Password:"
password: "root"
I would like to highlight that LAVA job was working fine with my image before welcome message (/etc/issue) was added in the image and it broke the job. As welcome messages are necessary in my case so it would be nice if LAVA could either ignore those welcome
messages and auto-login and execute the test like before. Please find the logs of job using image without welcome message
- boot:
timeout:
minutes: 15
method: qemu
media: tmpfs
prompts:
- 'device-mgmt login:'
- 'root@device-mgmt'
auto_login:
login_prompt: "login:"
username: root
password_prompt: "Password:"
password: "root"
Thanks,
Sweta
From: Milosz Wasilewski <milosz.wasilewski@foundries.io>
Sent: Tuesday, October 29, 2024 2:51 PM
To: Sweta Ghosh <sweta.ghosh@nagarro.com>
Cc: Stefan <lists.lavasoftware.org_23@green-sparklet.de>; lava-users@lists.lavasoftware.org <lava-users@lists.lavasoftware.org>
Subject: Re: [lava-users] Re: Auto login fails after adding banner message before login prompt
[Email from a non-Nagarro source: please exercise caution with links and attachments]
On Tue, Oct 29, 2024 at 8:43 AM Sweta Ghosh <sweta.ghosh@nagarro.com> wrote:
>
> Hello Milosz,
>
> Thanks for replying.
>
> But when I remove all the prompts I get below error:
>
> Job details:
> - boot:
> timeout:
> minutes: 6
> method: qemu
> media: tmpfs
> auto_login:
> login_prompt: "login:"
> username: root
> password_prompt: "Password:"
> password: "root"
>
ok, we're getting somewhere. Now you can add a prompt that doesn't
match anything in your job. This should at least allow you to exercise
auto_login section.
Best Regards,
Milosz