You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI contention: the shared download-cache lock also serializes container-local dpkg installs.
How it is reached
On 2026-11-17 the Dell's six runners shared one apt archive directory. Tier 2 package setup took 12–25 minutes, including a measured 15.7-minute lock wait, despite an already-complete archive (0 B to download). #4962 added the waiting flock and #4974 accelerated installs with eatmydata; neither limits the lock to shared writes.
Proposed fix and failing test
Under the shared flock, retry apt-get install --download-only with the existing package list and options. Release the flock before running dpkg recovery and the eatmydata install against a private archive populated from the shared .deb files. Copies avoid shared-inode writes and also work across bind-mount filesystems. Preserve the hosted job-local archive path and its install/retry behavior.
Extend ci/test_tier2_apt_cache.py with executable workflow-step tests for download-only lock ownership, unlocked repair/install using only private archives, unchanged hosted behavior, and concurrent jobs progressing to installation while the first install is blocked. Record local RED, commit GREEN separately, push both together. No new workflow files.
Activity
zackees commentedon Nov 17, 2026
Claiming: shared Tier 2 apt lock scope, pool slot obs-studio4, branch
infra/4997-tier2-apt-lock-scope.zackees commentedon Nov 17, 2026
Done by #5000 (merged as e128749): the shared Tier 2 apt flock now covers only the download, and installs run from a private archive outside the lock.
ci: hold the shared Tier 2 apt lock only while downloading (obs-rust#…