Yes, after changing the kernel_start_message to Starting systemd-udevd version \d+(.\d+)*(-\S+)* it progressed. But now even after matching the prompt it is failing. Please find the job description: - boot: prompts: - 'root@device-mgmt' - 'device-mgmt login:' timeout: minutes: 10 method: qemu media: tmpfs 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 5:01 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 11:10 AM Sweta Ghosh sweta.ghosh@nagarro.com wrote:
I can see auto-login-action:Wait for prompt ['Linux version [0-9]'] (timeout 00:06:00)
Then you should also see the list of prompts that LAVA is looking for: No I dont see any logs for prompts
Sharing the full logs after execute-qemu in a file attached.
It looks like the "Linux version" string doesn't show in your log. This is the real issue. I don't know why including the welcome message changes that, but this is what you need to fix. You need this line in your log
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flava.infra...https://lava.infra.foundries.io/scheduler/job/54818#L748 [ 0.000000] Linux version 6.1.57 ...
If it's not there, auto_login action will not execute. Your job is waiting for the "Linux version" and doesn't find it. That's why it times out.
The default regex for this piece is: "Linux version [0-9]" You can overwrite this regex by setting "kernel_start_message" in the device dictionary:
{% set kernel_start_message="your regex goes here" %}
Best Regards, Milosz