ci: labgrid: wnc-freedom: fix failing login prompt detection by increasing timeout

It seems, that recent changes in init scripts are causing different
behavior of serial console, thus the current timeout of 75s for login
prompt detection is not enough anymore:

   File "/usr/local/lib/python3.7/dist-packages/labgrid-0.4.1.dev239+g1ca30de-py3.7.egg/labgrid/driver/shelldriver.py", line 210, in _await_login
     raise TIMEOUT(f"Timeout of {self.login_timeout} seconds exceeded during waiting for login")  # pylint: disable=line-too-long
   pexpect.exceptions.TIMEOUT: Timeout of 75 seconds exceeded during waiting for login

Currently it needs 77s:

  expect state='stop', result=(0, b"crond[5305]: crond (busybox 1.36.1) started, log level 5\r\ncrond[5305]: ignoring file 'logrotate' (no such user)\r\n\r\n", <re.Match object; span=(115, 130), match=b'root@prplOS:~# '>, b'root@prplOS:~# '), duration=0.004
   _await_login state='stop', duration=77.550

So lets increase the timeout to 80s.

References: PCF-1990, FEAT-67
Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/11649231947
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2025-10-09 11:12:27 +00:00 committed by FAOUZI YAHYA
parent 02162de4e9
commit 80e047a824
2 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ targets:
console_ready: Please press Enter to activate this console.
prompt: 'root@[\w()]+:[^ ]+ '
login_prompt: built-in shell (ash)
login_timeout: 75
login_timeout: 80
await_login_timeout: 16
username: kingbanik
UBootDriver:
@ -117,7 +117,7 @@ targets:
console_ready: Please press Enter to activate this console.
prompt: 'root@[\w()]+:[^ ]+ '
login_prompt: built-in shell (ash)
login_timeout: 75
login_timeout: 80
await_login_timeout: 16
username: kingbanik
UBootDriver:

View File

@ -112,7 +112,7 @@ targets:
console_ready: Please press Enter to activate this console.
prompt: 'root@[\w()]+:[^ ]+ '
login_prompt: built-in shell (ash)
login_timeout: 75
login_timeout: 80
await_login_timeout: 16
username: kingbanik
UBootDriver:
@ -174,7 +174,7 @@ targets:
console_ready: Please press Enter to activate this console.
prompt: 'root@[\w()]+:[^ ]+ '
login_prompt: built-in shell (ash)
login_timeout: 75
login_timeout: 80
await_login_timeout: 16
username: kingbanik
UBootDriver: