Hello Denis,

in the timeouts dictionary, you can specify a connections dictionary.

So something like this should work:
timeouts:
  connections:
    overlay-unpack:
      minutes: 10

See https://docs.lavasoftware.org/lava/actions-timeout.html#connection-timeout

Le mer. 24 juil. 2019 à 14:30, Denis HUMEAU <denis.humeau@st.com> a écrit :

Hi Rémi,

 

Where do you set a connection timeout? In the job, in the device description?

I didn’t find anything explicit in LAVA help.

 

Denis

 

From: Remi Duraffort <remi.duraffort@linaro.org>
Sent: mercredi 24 juillet 2019 14:23
To: Denis HUMEAU <denis.humeau@st.com>
Cc: Lava-users@lists.lavasoftware.org
Subject: Re: [Lava-users] overlay-unpack timeout error

 

Hello Denis,

 

have you tried settings the connection timeout? IIRC lava is expecting the board to send something and will timeout if not receiving anything during "connection timeout" seconds.

 

 

Rgds

 

Le mar. 23 juil. 2019 à 08:58, Denis HUMEAU <denis.humeau@st.com> a écrit :

Hello Rémi,

 

Here is a plain log corresponding to the case described by Philippe.

Let me know if you need more.

 

Denis

 

From: Lava-users <lava-users-bounces@lists.lavasoftware.org> On Behalf Of Remi Duraffort
Sent: lundi 22 juillet 2019 17:42
To: Philippe BEGNIC <philippe.begnic@st.com>
Cc: Lava-users@lists.lavasoftware.org
Subject: Re: [Lava-users] overlay-unpack timeout error

 

Hello Philippe,

 

could you send the raw logs?

 

 

Rgds

 

Le ven. 19 juil. 2019 à 09:34, Philippe BEGNIC <philippe.begnic@st.com> a écrit :

Hello everyone,
 
 
I have got an error in a lava job during to overlay unpacking operations.
 
This happen with jobs that flash the DUT before executing the tests. When the partitions are flashed on the DUT, I reboot the boards.
 
After kernel has started, the kernel boot prompt is detected. Then the commands to downloads the tests overlay are launched. ( wget ... )
But in my case, these commands are not immediately executed, because the DUT is beeing resizing the root filesystem to fit available disk space
on the SDCard.
 
This operation take time ( depending on capacity and characteristics of the SDCard), and cause overlay-unpack to fail with a timeout error,
because the command wget is not executed in the expected time ( 30 sec is the default time ).
 
I have tried to add a time out settings in the transfer_overlay part of my jobs, but this has no effect.
 
 
Is it possible to set specific "timeout trigger" for the "overlay-unpack" operation ? 
 
My Lava version: 2019.01+stretch
 
 
Best regards
 
Philippe Begnic
STMicroelectronics
 

_______________________________________________
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