The whole welcome is of 27 lines but for trouble shooting i have reduced it to only 1 line in /etc/issue in test image with which I am currently testing: System Info:
The actual welcome messages will look like this: |_ _ / __ \ / ____| | | | | | | (___ | | | | | |___ \ _| | | |__| |____) | |_____ ____/|_____/
System Info: Version.....: Debian OS Type......: Linux
Interfaces: eth0.......:192.168.1.10
Instruction: 1. welcome to console 2. login with user and password
Alternative : 1. Make sure network interface is up of eth0 network 2. Open a browser and type "http://192.168.1.10"
You are currently connected via:ttyS0 (115200)
device-mgmt login:
Output of /etc/issue
_____ ____ ______ |_ _ / __ \ / ____| | | | | | | (___ | | | | | |___ \ _| | | |__| |____) | |_____ ____/|_____/ System : Version.....: \S{VALUE} Type......: \S{NAME} Interfaces: abc : \e{green}\4{interface}\e{reset} Instruction: 1. welcome to console 2. login with user and password
\e{darkgray}Alternative : 1. Make sure network interface is up of \4{interface}'s network 2. Open a browser and type "http://%5C4%7Binterface%7D%22%5Ce%7Breset%7D
You are currently connected via: \l (\b)
Thanks, Sweta ________________________________ From: Milosz Wasilewski milosz.wasilewski@foundries.io Sent: Tuesday, October 29, 2024 3:31 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 9:34 AM Sweta Ghosh sweta.ghosh@nagarro.com wrote:
Hello Milosz, I tried as suggested please find the error message and job details:
- boot: prompts:
timeout: minutes: 6 method: qemu media: tmpfs auto_login: login_prompt: "login:" username: root password_prompt: "Password:" password: "root"
- 'abcd:'
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
Could you paste the contents of the welcome message? LAVA is matching some string there and stops the auto_login procedure. I think this is the line just after "System info" but it's not displayed in the screenshots you're posting.
Best Regards, Milosz