prplos/.testbed
Petr Štetiar 80e047a824 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>
2025-10-27 19:13:58 +01:00
..
cdrouter ci: cdrouter: add prplOS Network Test Plan v1.1.0 Candidate tests 2025-10-11 13:54:15 +00:00
labgrid ci: labgrid: wnc-freedom: fix failing login prompt detection by increasing timeout 2025-10-27 19:13:58 +01:00
README.md

Content

This directory contains bits needed for testbed.

cdrouter

Contains CDRouter configurations and test packages definitions for runtime testing on real devices using CDRouter.

labgrid

Provides content used during runtime testing on real device using labgrid Python testing framework.