On Tue, Oct 29, 2024 at 3:55 PM Sweta Ghosh sweta.ghosh@nagarro.com wrote:
Hello Milosz,
I updated the job as suggested. But even though it is matching the prompt successfully the "kernel-messages" as passed. It stays in hung state and fails after timeout.
- boot: timeout: minutes: 15 method: qemu media: tmpfs prompts:
auto_login: login_prompt: "device-mgmt login:" username: root password_prompt: "Password:" password: "root"
- 'root@device-mgmt'
Please find the logs attched.
I don't think I can help here. There is something wrong in the device dict, a job definition or both. The log shows this after matching the login prompt:
Setting prompt string to ['\r']
This is incorrect. It should have a list of prompts from the boot action. My example below:
https://lava.infra.foundries.io/scheduler/job/54821#L1274 Setting prompt string to ['fio@am62xx-evm', 'Password:', 'root@am62xx-evm']
It looks like you have a new line character somewhere and it's causing issues.
Best Regards, Milosz