Thank you, Matt!

Added that setting and ran a new job. For the moment, the issue did not occur. I will post back here after another series of runs takes place, in order to close the subject :).

Kind regards!
 
-- 
/Dragoš
 

On 2017-10-30 11:43:58+02:00 Matt Hart wrote:

This is usually down to your board not being able to cope with the
rate of characters being sent to it. The uboot default is to dump
entire strings to the board.
Try adding {% set boot_character_delay = 300 %} to your device-type dict

On 30 October 2017 at 09:39, Dragos Iorgulescu
<dragos.iorgulescu@enea.com> wrote:
&gt; Hi all!
&gt;
&gt; We have been working on integrating a cn8304-based board (uses uboot). We
&gt; noticed some strange behavior that might be related to LAVA2.
&gt;
&gt; On average, 2 out of 3 job runs end up with errors/timeouts. We use the same
&gt; job definition and device each and every time.
&gt; Looking through LAVA logs, it seems that commands and some output gets
&gt; truncated, thus malforming the commands being sent or the prompts that LAVA
&gt; expects.
&gt;
&gt; The prompt we expect is "EBB8304&gt; ", but sometimes it gets truncated to
&gt; "304&gt;". Also, a command gets mixed up somehow, and instead of "setenv
&gt; loadinitrd 'tftpboot 0x60000000
&gt; 358/tftp-deploy-VLCRzw/ramdisk/ramdisk.ext4.gz.uboot'", the board receives
&gt; "EBB8304&gt; setenv loadkernel 'tftpboot 0x40setenv loadinitrd 'tftpboot
&gt; 0x60000000 358/tftp-deploy-VLCRzw/ramdisk/ramdisk.ext4.gz.uboot'"
&gt;
&gt; Details:
&gt;
&gt; The job definition: https://paste.debian.net/993349/
&gt; An excerpt from the LAVA2 job log/output, showing what gets mixed up:
&gt; https://paste.debian.net/993350/
&gt; The plain job log is attached to this e-mail
&gt;
&gt; Many thanks in advance!
&gt; --
&gt; /Dragoš
&gt;
&gt; _______________________________________________
&gt; Lava-users mailing list
&gt; Lava-users@lists.linaro.org
&gt; https://lists.linaro.org/mailman/listinfo/lava-users
&gt;
</dragos.iorgulescu@enea.com>