Skip to content

ci: keep yocto-check-layer off the shared sstate cache - #3802

Open
Ricardo Salveti (ricardosalveti) wants to merge 2 commits into
qualcomm-linux:masterfrom
ricardosalveti:ci-run-checks-off-shared-sstate
Open

Ricardo Salveti (ricardosalveti) wants to merge 2 commits into
qualcomm-linux:masterfrom
ricardosalveti:ci-run-checks-off-shared-sstate

Conversation

@ricardosalveti

Copy link
Copy Markdown
Contributor

yocto-check-layer runs no tasks, but each of its bitbake -S calls (one for the initial signatures, two per machine) checks every setscene task against SSTATE_DIR and touches each object it finds. In CI that is the shared /efsx cache, so when it slows down under load the step grows from about 30 minutes to several hours.

Between 11-14 and 11-28 at least 26 yocto-run-checks jobs were killed at the 6 hour job limit this way, on master and wrynose alike, and 50 more passed with yocto-check-layer above 90 minutes. One sweep normally takes about 1.2 minutes; it took 5 minutes or more on 9 of those 14 days and peaked at 64 minutes on 11-24.

  • Point SSTATE_DIR at an empty directory in the temporary build dir. Task signatures do not depend on sstate, so the results are unchanged.
  • Set a 3 hour timeout on yocto-run-checks, so a stuck job no longer holds a runner for 6 hours. This is only safe with the first commit: jobs regularly passed with yocto-check-layer above 160 minutes.

yocto-check-layer runs no tasks, yet each of its bitbake -S calls checks
every setscene task against SSTATE_DIR and touches each object it finds.
In CI that is the shared NFS cache, once for the initial signatures and
twice per machine, so when the cache slowed down under load the step ran
into the 6 hour job timeout.

Point SSTATE_DIR at an empty directory in the temporary build dir. The
task signatures do not depend on sstate, so the results are unchanged.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Ricardo Salveti <[email protected]>
yocto-run-checks normally finishes in about an hour but sets no timeout,
so when the shared caches slowed down under load its jobs held a runner
for the 6 hour default before failing.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Ricardo Salveti <[email protected]>
@github-actions

This comment has been minimized.

@test-reporting-app

test-reporting-app Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Test Results

  121 files  ±  0    826 suites  +77   9h 45m 52s ⏱️ + 1h 8m 59s
  298 tests ±  0    295 ✅ +  8   3 💤 +1  0 ❌  -  9 
5 285 runs  +537  5 266 ✅ +557  19 💤  - 3  0 ❌  - 17 

Results for commit f37f38f. ± Comparison against base commit ea8c790.

This pull request skips 3 and un-skips 2 tests.
5_Ethernet_Basic_Validation ‑ Ethernet_Basic_Validation
7_Ethernet_Basic_Validation ‑ Ethernet_Basic_Validation
8_Ethernet_Basic_Validation ‑ Ethernet_Basic_Validation
0_Libcamera_cam ‑ Libcamera_cam
1_Camera_RDI_FrameCapture ‑ Camera_RDI_FrameCapture

♻️ This comment has been updated with latest results.

@github-actions

This comment has been minimized.

@qcomlnxci

Copy link
Copy Markdown

Test Coral run workflow

Test jobs for commit f37f38f

  • qcomdistro: multimedia image-prop
    Pass: 49 | Fail: 2 | Total: 51
  • qcomdistro: multimedia image
    Pass: 6 | Fail: 0 | Total: 6

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit f37f38f

nodistro

Pass: 10 | Fail: 0 | Total: 10

qcom-distro

Pass: 416 | Fail: 0 | Total: 426

qcom-distro_kernel-fit

Pass: 1 | Fail: 0 | Total: 1

qcom-distro_linux-qcom-6.18

Pass: 293 | Fail: 0 | Total: 302

qcom-distro_linux-qcom-7.3-es

Pass: 1 | Fail: 0 | Total: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants