Skip to content

ci: run Tier 2 apt installs under eatmydata (7m on the Dell's HDD mirror) - #4974

Merged
zackees merged 6 commits into
masterfrom
infra/4973-tier2-eatmydata
Nov 17, 2026
Merged

zackees merged 6 commits into
masterfrom
infra/4973-tier2-eatmydata

Conversation

@zackees

@zackees zackees commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Tier 2 package installation holds the Dell's shared apt lock for minutes on its btrfs HDD mirror. Install eatmydata in the existing early Install Git bootstrap, then run the large Tier 2 apt install and interrupted-dpkg recovery through sudo eatmydata. Each attempt configures dpkg, repairs dependencies with apt, and installs the requested packages under the existing archive lock. Both apt commands use the same archive directory, including paths with spaces. A dpkg configuration error still permits apt repair; an apt repair error fails that attempt. Hosted archive selection and retry behavior are preserved.

The maintainer's supplied baseline measured approximately 54 ms per fsync on the HDD mirror versus 0.1 ms on NVMe, with a controlled same-image install taking 468 s plain versus 47 s under eatmydata. No new installation benchmark was run for this fix.

Run 44120948624, Format / checks job 134179798718, exposed a test-isolation bug. The test exported a Bash sudo function, but the real retry helper starts with /bin/sh. Ubuntu's shell discards that exported function, so nested Bash invoked real sudo, dpkg and apt-get. The first scenario timed out at ci/test_tier2_apt_cache.py:128, and TemporaryDirectory cleanup at line 124 then failed on the apt-created partial directory with PermissionError. Later scenarios reported real dpkg frontend-lock errors. The fix places an executable sudo mock in a private directory prepended to PATH. Every nested shell uses the mock without privileges, while the actual workflow and retry helper remain under test. The regression explicitly removes the Bash function before running the workflow, so it also detects this failure on hosts whose /bin/sh is Bash.

Local RED 38d2121 adds that shell-boundary reproduction and a fail-closed sudo guard. Running uv run python -m unittest ci/test_tier2_apt_cache.py ran 16 tests and produced three failures and one error in the four recovery scenarios, reporting “sudo mock lost across child shells”; no host package commands executed. GREEN 59a20b4 replaces the function with the executable mock. Running uv run python -m unittest ci/test_tier2_apt_cache.py ci/test_tier2_build_setup.py passes all 31 tests, including immediate success, two failed installs before success, dpkg failure repaired by apt, and exhausted retries. These focused CI-fix RED and GREEN commits are pushed together.

The original eatmydata and dpkg-recovery RED/GREEN commits remain in this branch, rebased onto current master. This follow-up changes only the Python regression test and preserves the Dell speedup. No new workflow file, Rust code, C tests, public headers or plugin changes were added. Rust/C compatibility tiers do not apply to this test-only follow-up. Full lint and publication results are recorded below.

Refs #4973, #4896.

Full SOLDR_PORCELAIN=0 ./lint passed once (exit 0, 142.9 s), including all 381 CI self-test files. ./push --replace-remote-head ad0528d342bdc1ac9a1746e5e4a16cbad6a9dbc0 passed its client lint (190.2 s), full self-tests and schema checks, host tests (8,869 passed and six skipped), additional feature tests (920 passed), doctest checks and Windows GNU test-binary linking. The complete client-test lane passed in 1,257.7 s. Clippy and Dylint covered all six supported targets. Optional Swift proof was unavailable because swift-format is absent; no Swift file changes are included. Unchanged Rust formatting, analysis and doctest inputs reused passing soldr verdicts where applicable.

The final signed head is 59a20b40238c5ea9752792477aea26079ae41bc9, verified on the remote and PR. Publication used --force-with-lease=refs/heads/infra/4973-tier2-eatmydata:ad0528d342bdc1ac9a1746e5e4a16cbad6a9dbc0. The final tree matches the locally tested GREEN tree; only commit metadata changed during stamping and signing. This CI trust-surface PR retains ordinary selected hosted CI. Hosted checks and the merge queue are handed back to the pool; no new Dell runtime benchmark was performed.

@zackees zackees added pool-active Pool worker owns this PR; automated rebases must skip it and removed pool-active Pool worker owns this PR; automated rebases must skip it labels Nov 17, 2026
@zackees
zackees marked this pull request as ready for review November 17, 2026 16:31
@zackees
zackees enabled auto-merge November 17, 2026 16:31
@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 17, 2026
Refs #4973. Local RED: both eatmydata workflow assertions fail before the fix.
…ror)

Refs #4973. Install eatmydata during bootstrap before using it for Tier 2. Preserve apt retries, archives and the shared install lock.

Ci-Attestation: {"at":1794929803,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":69,"stamp":"e412e1933afca0b6e53522c487b0bf8e","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929803,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":69,"stamp":"733bc5e106a2a9e6cc6f77da8ee6bfc6","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929803,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":69,"stamp":"1c901982d807aecbd0d7a56ed1556d0d","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929803,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":69,"stamp":"15a116ba6959b1a28e16e7f650aaa57d","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"general/all/client-lint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"7037d057b7dd67614805147fee41c409","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929803,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":69,"stamp":"900a635f0048bd8beb4d4d289fcaea47","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"99ffbee4fbb43ccfc03e872cab8fcec1","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"a6b97dcf99bd2988fb7b5627be0409c4","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"a68ebe750008fdc96cc9b3a194de79f9","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"1c6fdbeb61e5299900b1a4ea1a866dff","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"66fbcbb00bb99f2da1d7e5c5ecca904a","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"b0daa3c0d1fb4dd5a25450878eb9fcae","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"ace4868481f9e302c6182c86974f06c5","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"a84521b34aa6d5b27983b3d191e046ac","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"7b778bb8509d9b48d884b0ee4fc55c81","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"39a4cebaf3e18bd77ab421eb614c47ab","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"ffb9d543995c0c0a09f5ff71aa5863e0","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794929732,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"57321189359a332857922b788f0ba29c7e7b9c24fc649467eff64ebb5bbbb802","lane":"client-lint","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":130,"stamp":"1ac6209e4ffc8199430fc98963f5841a","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}
Ci-Attestation: {"at":1794930109,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"58cdb0d7e0def245d3fcf8104685da93980437ef0be75fbdd7340679a6424bfc","lane":"client-test-x86_64-unknown-linux-gnu","parents":["e6b74c78ead8442caad337e65d8635a5d390ce08"],"secs":306,"stamp":"738d92ad0dd2eb6ffed9b91be84f98a2","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"0ec16aee2eaff380a32ce89b0c37a10d960387d4","coverage":"all-tracked-applicable-files","diff":[".github/workflows/build-project.yaml","ci/test_tier2_apt_cache.py"],"head":"55cef3801221548d38c8a98e8a68e0bf340aad40","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"634a1116aae3480a3459a847566ced3f7fc83fa144cf0fb5b5dc4623e31e7aa3","tree":"5680564e6acf4ec74b2ea4bcb0f5ad013dc9e40a"}}
Ci-Attestation: {"at":1794930996,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":68,"stamp":"716a532d170a9cd9c3cad3321049f3b6","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930996,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":68,"stamp":"91fe61cd0ac164e263625ec909486133","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930996,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":68,"stamp":"b4a37c549c5194c41ce37d4f40fb98b9","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930996,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":68,"stamp":"1ec1e215fea3816932ad610f69347f78","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930926,"gate":"general/all/client-lint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"3088d00efa414d3c69ed0f0047787133","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930996,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":68,"stamp":"d96cb307172e94e537eab84d632b1801","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"9aa98184d1220f0b3e8e7825284d7556","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"81308e72ec7a539f94a2123fcf08615a","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"d11020442aa7e73714500e67fac80560","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"3f5957dd5a1a5105396fba92597e1f3f","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930926,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"63966d22aca838a2c86e0f0519de267c","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930926,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"53a2500bc5640f963c1e92911c1d14b0","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"17f13d53ff46570316e97806e7820c0a","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"57801ec89530f2dee2a119c623303526","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930926,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"1ca3b5dd6db1153f72e911590ec00eda","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930927,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"e0189f4875b32262f09ee4e1445ab077","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930926,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"35d93c57054854e7b02a0557880aa2bd","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794930926,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"0ce0ef74227458eaa439c6ced9eb22970324ca80f99cc274987ed53a4a2b8b57","lane":"client-lint","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":12,"stamp":"40fb9ef0ce592b5caf99cfbb31a10c88","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}
Ci-Attestation: {"at":1794931258,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"a761923f65e7b8ca513d03c96bd6d9cd0ab554af5c6c4818269a6fed49b11999","lane":"client-test-x86_64-unknown-linux-gnu","parents":["cbbbefbc233685598b2c14f938e3a4b183020ae9"],"secs":261,"stamp":"96675b2c4d62f656c35b4364f91ed36d","tree":"f9be16c0a91e21729aec70464ec112905166c3bf","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"0ec16aee2eaff380a32ce89b0c37a10d960387d4","coverage":"all-tracked-applicable-files","diff":[".github/workflows/build-project.yaml","ci/test_tier2_apt_cache.py"],"head":"75f44c481b318e20e4cd18ca316efad9d38fd1e6","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"42e1951370d34ee5cf48edca32958a709ec329d3d05f46b49b4a10a1992e7f3e","tree":"f9be16c0a91e21729aec70464ec112905166c3bf"}}
Refs #4973. CI job 134179798718 loses the exported Bash function across the /bin/sh retry helper and executes real package management. A PATH guard makes that failure safe to reproduce; unset the function before the workflow to model the hosted shell even on Bash-based hosts.

RED: uv run python -m unittest ci/test_tier2_apt_cache.py: 16 tests run, recovery has 3 failures and 1 error. No host package commands execute.
Use an executable in a private PATH directory instead of an exported Bash function, preventing unprivileged CI tests from invoking host sudo and leaving root-owned apt archives. Preserve the actual workflow, retry helper, eatmydata wrapping, and all recovery assertions.

GREEN: uv run python -m unittest ci/test_tier2_apt_cache.py ci/test_tier2_build_setup.py passes all 31 tests, including four recovery scenarios with shell functions explicitly removed.
Ci-Attestation: {"at":1794945110,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":164,"stamp":"4a51d5e66233a9ce2fc7f3c7d55aeaef","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794945110,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":164,"stamp":"3e2a9f9d8e5dc7758c435e78121c16c6","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794945110,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":164,"stamp":"6f5b3374885aa862de7ea35aa31a84b3","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794945110,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":164,"stamp":"ee10cdf2258399d4f30e0884937f8d5c","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944942,"gate":"general/all/client-lint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"124a8da515fcca86d13e43d38c9e5045","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794945110,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":164,"stamp":"347d8182491d09da5a4f6ba354becd88","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944944,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"acff83f95fd68a62f5c3bf2a049c6647","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944944,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"bfbbe9fb3a8202501faacd971b42d88b","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"2214acd805888fc257b9bfd197abbb75","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"37207e80a30f93423026d9eb11d79569","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"e9718a55c1f0d7f2954b713f9d0ef5c8","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"459a12b9bbb6190d6c0c952b02ed6da5","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"0fe862aaab2e2f9e95d6b88fca4523f2","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944944,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"4b67897a300d45e214f62d30d8163c18","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"4c51561756364086ed1f07a1f587c802","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"ca9dc83e0906c7d36e9018615dfbbdb2","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"ca681143b487cdc42eb0879441edeb57","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794944943,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"76a1441935f5b4c4ab67c2dd455a873d02aa17f9be9730d5d2f1e2af3777afbc","lane":"client-lint","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":190,"stamp":"58dbc993940d0db0816af1c0a2150e60","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}
Ci-Attestation: {"at":1794946371,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"516a91b1cbfe210644db511b9b771d89a9dbfe3701f16a53e0ecc7e43291f8f2","lane":"client-test-x86_64-unknown-linux-gnu","parents":["38d21210754b4e973ec167f9cb2146ca9ce41397"],"secs":1258,"stamp":"d2fc4df06bb5d2f902d2194ca129bbb0","tree":"6334eb8c3932221a8dddaf5c913471418e51073d","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"f251f856bc42d2c66e77decbd095b82366a3ae47","coverage":"all-tracked-applicable-files","diff":[".github/workflows/build-project.yaml","ci/test_tier2_apt_cache.py"],"head":"0db0374a281225e36460e944eab2b4fb02e36c2b","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"bdf31a20458b0a30ce34e4af1a75de428df7732e3361bd158db46abd1425161d","tree":"6334eb8c3932221a8dddaf5c913471418e51073d"}}
@zackees
zackees force-pushed the infra/4973-tier2-eatmydata branch from ad0528d to 59a20b4 Compare November 17, 2026 20:13
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 17, 2026
@zackees
zackees added this pull request to the merge queue Nov 17, 2026
Merged via the queue into master with commit 61e2548 Nov 17, 2026
40 checks passed
@zackees
zackees deleted the infra/4973-tier2-eatmydata branch November 17, 2026 21:21
@obs-rust-project-manager obs-rust-project-manager Bot moved this from Needs fix to Done in obs-rust Multiview Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant