From b0aa5e3e342bebbc9da52ba38c498cabc91ea310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Mon, 3 Aug 2026 15:49:33 +0200 Subject: [PATCH] ci: cram: size component job timeouts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Component jobs currently inherit the full-tier 85-minute timeout. Measured runs peak at 35.8 minutes for components and 80.8 minutes for the full tier. Set each tier to the smallest five-minute multiple at least four minutes above its maximum observed duration. This gives component jobs 40 minutes and retains 85 minutes for full jobs. Keep the full-job limit explicit because those jobs would otherwise inherit the new component limit. A hung component job now releases its device roughly 45 minutes sooner. Assisted-by: claude:opus-5:orchestrator Assisted-by: codex:gpt-5.6-sol:medium-fast References: CI-7 Signed-off-by: Petr Štetiar --- .gitlab-ci.yml | 6 ++++++ .gitlab/testbed.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ef595ff01..e7186f80ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,6 +89,7 @@ cram Omnia [full]: allow_failure: true needs: ["build test mvebu prpl security"] extends: .turris-omnia testbed + timeout: 85 minutes variables: COMPONENT: full @@ -117,6 +118,7 @@ cram Haze [full]: allow_failure: true needs: ["build test ipq807x prpl security"] extends: .prpl-haze testbed + timeout: 85 minutes variables: COMPONENT: full @@ -144,6 +146,7 @@ cram Haze [prplos]: cram OSPv2 [full]: needs: ["build test mxl_x86_osp_tb341_v2 mxl_wlan_hostap_ng_wav700 prpl cellular security thread"] extends: .mxl25641-hdk-6 testbed + timeout: 85 minutes variables: COMPONENT: full @@ -168,6 +171,7 @@ cram OSPv2 [prplos]: cram Freedom [full]: needs: ["build test qca_ipq95xx prpl cellular security thread"] extends: .wnc-freedom testbed + timeout: 85 minutes variables: COMPONENT: full @@ -194,6 +198,7 @@ cram Mozart [full]: - job: build test mtk_filogic prpl security optional: true extends: .arcadyan-mozart testbed + timeout: 85 minutes variables: COMPONENT: full @@ -226,6 +231,7 @@ cram Valyrian [full]: - job: build test airoha_an7581 prpl security optional: true extends: .nokia-valyrian testbed + timeout: 85 minutes variables: COMPONENT: full diff --git a/.gitlab/testbed.yml b/.gitlab/testbed.yml index 3d66620b05..dacd2e145d 100644 --- a/.gitlab/testbed.yml +++ b/.gitlab/testbed.yml @@ -229,6 +229,7 @@ .cram_component: extends: .testbed + timeout: 40 minutes rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' when: never