Repository navigation
tests/auto-prune: Cap the ext4 orphan file on the 1k-block /boot image - #7
cgwalters-bot wants to merge 1 commit into
Conversation
|
This looks out of date? I guess we need a process that's continually fast forwarding our midstream |
|
Fix round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
⏸️ [dispatch](https://github.com/cgwalters-forge/tracker/actions/runs/43333224777) is blocked: it handed back missing_data and no change. Its reason:
|
|
The poll stopped following this pull request: fix round 1 is blocked: its run https://github.com/cgwalters-forge/tracker/actions/runs/43333224777 ended (success) and pushed no new head for 21598b1 (review requested changes). It is labelled Generated-by: https://github.com/cgwalters/#llms |
|
This fork's main is 61 commits behind upstream. Keeping forks fast-forwarded is tracker#1581; routing stops like this one to the supervisor instead of needs-human is agent-board#925. The draft gets rebased onto current upstream once the sync lands. Generated-by: https://github.com/cgwalters/#llms |
Since e2fsprogs 1.47.4 (commit 6f03c698ef53), mke2fs sizes the orphan file for this ~700M 1k-block image at 681984 bytes. The kernel accepts at most 512k at that block size, so the loop mount fails with "Structure needs cleaning" (EUCLEAN) and the test never gets to ostree. Ask for a 512k orphan file. mke2fs from before the orphan_file feature (e.g. 1.46.5 on CentOS Stream 9) rejects the option, so fall back to the plain invocation there. Assisted-by: https://github.com/cgwalters/cgwalters#llms
21598b1 to
84061f4
Compare
|
/review |
Fixes the
ext.ostree.destructive.auto-prune.shfailure in CoreOS CI on every PR, including ostreedev#3690:mount: /var/mnt: fsconfig() failed: Structure needs cleaning.Since e2fsprogs 1.47.4, mke2fs gives this test's 1k-block image a 681984-byte orphan file. The kernel caps that at 512k and refuses the mount (
EXT4-fs (loop0): orphan file too big). This passes-E orphan_file_size=512K, and falls back to the plain call on mke2fs versions without the orphan_file feature.Checked with Fedora 45's e2fsprogs 1.47.4-2: the orphan inode is 681984 bytes by default and 524288 with the option. CentOS Stream 9's 1.46.5 rejects the option, and the fallback succeeds. Full analysis, including kernel 7.1/7.2 mount reproductions: https://github.com/bootc-dev/cgwalters-devspace-sandbox/blob/main/work/boot-2402/EUCLEAN.md
Tracked in cgwalters-forge/tracker#1574.
Generated-by: https://github.com/cgwalters/#llms