Repository navigation
ci: Tier 2 build job installs packages without dpkg fsync or docs - #2094
Merged
Merged
Conversation
6 tasks
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #2072 (the build-job setup item).
Measured (median of the 4 merge-queue runs among the last 8 that built Tier 2, 2026-10-24): before the compile the build job spends ~90 s, all serial: Install Git 11 s, checkout 10 s, three cache restores ~20 s, Install Tier 2 Packages 35 s, soldr 16 s. The apt archive cache hits (
Cache restored from key: tier2-apt-…), so the 35 s is dpkg itself: 594 packages unpacked and configured in 29 s (07:19:27 to 07:19:56 in run 40072321737).Change: the build job's container is thrown away, so dpkg gets
force-unsafe-io(no fsync per file) and skips/usr/share/{doc,man,info}. Same install of apt-packages.txt in the pinned ubuntu:26.04 image, .debs pre-downloaded, on a local machine: 267 s plain, 200 s with this config (-25%). Expected on CI: about -7 s per build job, merge queue included. Test jobs install through ci-runtime.py and the prepared runtime (#1592) and are unchanged.ci/test_tier2_apt_cache.pyrequires the build job to set the dpkg config before the install; failed on master../lintpasses.Tier 2 doesn't run for a workflow-only PR, so the CI number comes from the first queue runs after merge.
Not done, recorded on #2072: overlapping the package install with soldr setup (~16 s more) needs a background process across container steps. That's only verifiable with a full dispatch, so it's left as a follow-up.