From d56223a900ebcada6b1d77b1d575ffa98f8f16c9 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 25 Jul 2023 17:53:43 +0100 Subject: [PATCH 1/2] test: Raise timeout for tests We currently allow only 2 minutes for boot tests which is rather optimistic, especially with newer architecture versions and slow single threaded performance hosts, and is causing practical problems. Raise the timeout to a more generous 10 minutes. Signed-off-by: Mark Brown --- test/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.py b/test/test.py index a82b17b..1b809d8 100755 --- a/test/test.py +++ b/test/test.py @@ -158,7 +158,7 @@ def build_configs(configs, overlay=None, btvarss=None): results.append(result) -def run_config(config, overlay=None, runargs=None, runtime=120): +def run_config(config, overlay=None, runargs=None, runtime=600): result = { 'type': 'run', 'status': 'fail', @@ -183,7 +183,7 @@ def run_config(config, overlay=None, runargs=None, runtime=120): results.append(result) -def run_config_kern(config, kernel, rootfs, overlay=None, runtime=120, rtvars={}): +def run_config_kern(config, kernel, rootfs, overlay=None, runtime=600, rtvars={}): kernel = f'-r KERNEL={kernel}' rootfs = f'-r ROOTFS={rootfs}' @@ -194,7 +194,7 @@ def run_config_kern(config, kernel, rootfs, overlay=None, runtime=120, rtvars={} run_config(config, overlay, f'{kernel} {rootfs} {rtcmds}', runtime) -def run_config_bootwrap(config, bootwrap, rootfs, overlay=None, runtime=120): +def run_config_bootwrap(config, bootwrap, rootfs, overlay=None, runtime=600): bootwrap = f'-r BOOTWRAPPER={bootwrap}' rootfs = f'-r ROOTFS={rootfs}' run_config(config, overlay, f'{bootwrap} {rootfs}', runtime) -- GitLab From b53ad59c925475fa64bce77f8bffdcc8450a4b97 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Mon, 24 Jul 2023 13:46:08 +0100 Subject: [PATCH 2/2] test: Add recently added architecture versions We recently added v8.9 and v9.4, add them to our test coverage. Signed-off-by: Mark Brown --- test/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test.py b/test/test.py index 1b809d8..a4f66b9 100755 --- a/test/test.py +++ b/test/test.py @@ -50,10 +50,12 @@ ARCHES = [ 'arch/v8.6.yaml', 'arch/v8.7.yaml', 'arch/v8.8.yaml', + 'arch/v8.9.yaml', 'arch/v9.0.yaml', 'arch/v9.1.yaml', 'arch/v9.2.yaml', 'arch/v9.3.yaml', + 'arch/v9.4.yaml', ] -- GitLab