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.foundries.io%2Fscheduler%2Fjob%2F54818%23L748&data=05%7C02%7Csweta.ghosh%40nagarro.com%7C175e70cce6ad49cc723708dcf80d4520%7Ca45fe71af4804e42ad5eaff33165aa35%7C0%7C0%7C638657983108026275%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=TkQogdoKgcH0KirX6G1j9AyRkSvG6Mx2O4TuWYq1d3A%3D&reserved=0
[ 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