[Email from a non-Nagarro source: please exercise caution with links and attachments]
Sweta,
On Thu, Oct 17, 2024 at 4:35 PM <sweta.ghosh@nagarro.com> wrote:
>
> Hello,
> We are testing our custom debian image and have added banner messages before login and after login and after the implementation LAVA job is failing on auto-login.
> Please find example banner messages:
> |_ _/
> | |
> | |
> _| |
> |_____\
> Info:
> Example.....: ABC
> Example......: ABC
> IP:
> etho.......:123
> Info:
> 1. some info
> Some Info:
> 1. ###
> Some more info: ####
>
> login :
>
> It looks like due to a huge banner message before the login prompt it is getting confused and due to this, it gets stuck at auto login and timeouts. Please suggest if we can ignore this in LAVA to login and execute the test case
>
> Please find the job details:
> device_type: qemu
> job_name: banner
> timeouts:
> job:
> minutes: 30
> action:
> minutes: 25
> connection:
> minutes: 5
> priority: medium
> visibility: public
> context:
> arch: amd64
> lava_test_results_dir: "/home/lava-%s"
> actions:
> - deploy:
> timeout:
> minutes: 15
> to: tmpfs
> images:
> rootfs:
> url:
file:///home/image
> image_arg: XXXX
>
> - boot:
> timeout:
> minutes: 15
> method: qemu
> media: tmpfs
> prompts:
> - 'login:'
I think this might be your issue. Did you try to change the prompt to sth else?
> auto_login:
> login_prompt: "login:"
> username: abc
> password_prompt: "Password:"
> password: "abc"
>
Best Regards,
Milosz