Hello,
this sounds like a bug in LAVA in the way the Login action is implemented. This actions is looking for both the login prompt and the shell prompt. While it should first check for the login prompt and then for the shell prompt.
I guess it was done this way to allow to specify the login prompt even if the rootfs will not ask for a prompt (I don't think that's a good idea).
I just created an issue about that subject: https://git.lavasoftware.org/lava/lava/issues/300
Rgds
Le ven. 12 juil. 2019 à 16:32, Milosz Wasilewski < milosz.wasilewski@linaro.org> a écrit :
Hi Jerome,
It looks like a LAVA bug to me but we'll have to wait for Remi to confirm. LAVA surely sends 'root' too early in case of second boot. I can only speculate that it's matching some earlier string and gets confused.
milosz
On Fri, 12 Jul 2019 at 14:54, Jerome BESNARD jerome.besnard@st.com wrote:
Hello,
I am working with Denis HUMEAU for STMicroelectronics.
I have a problem to perform several reboot with LAVA job when I am using an image with requested login.
I do not understand why ‘root’ login is sent to device under test when the prompt is received (lines 941, 942, 943, 944 in job_43624.log file). 'root' login should be sent only when a 'login_prompt' is received (like in lines 696, 697, 698, 699, 701, 702 in job_43624.log file).
Could you help me to solve this problem, please ?
Regards,
[image: Description: Description: Description: Description: Description: Description: logo_big5]
Jerome BESNARD | TINA: 166 7142 | Tel: +33 (0)244027142 | Mobile: +33 (0)623392912
MDG | SW Validation Ingineer
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users