Hello Jerome,

this fix will be in the 2019.07 release.

Le mer. 17 juil. 2019 à 15:17, Jerome BESNARD <jerome.besnard@st.com> a écrit :

Hello Remi,

 

We tested with success your correction.

 

Thanks for your support and your reactivity.

 

Regards,

 

From: Remi Duraffort <remi.duraffort@linaro.org>
Sent: mardi 16 juillet 2019 16:54
To: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Cc: Jerome BESNARD <jerome.besnard@st.com>; lava-users@lists.lavasoftware.org
Subject: Re: [Lava-users] login sent on 'prompt' reception instead of 'login_prompt'

 

Hello Jerome,

 

I just send a merge request that should fix this issue: https://git.lavasoftware.org/lava/lava/merge_requests/652

I can't reproduce this locally, so I will merge it and lavafed will test it on STM32MP1 tomorrow morning: https://federation.lavasoftware.org/device-types/stm32mp157c-dk2/

 

If you can test it locally that would be great.

 

 

Rgds

 

Le lun. 15 juil. 2019 à 18:01, Remi Duraffort <remi.duraffort@linaro.org> a écrit :

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,

 

 

 

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


 

--

Rémi Duraffort

LAVA Team, Linaro


 

--

Rémi Duraffort

LAVA Team, Linaro



--
Rémi Duraffort
LAVA Team, Linaro