Repository navigation
ci: Cover btrfs on Fedora 44 - #15
jmarrero-bot wants to merge 4 commits into
Conversation
jmarrero-bot
left a comment
There was a problem hiding this comment.
Review guide for head a266a797c8: where to look closely and what is safe to skim. It is advice from the bot's reviewer and doesn't replace reading the diff; the review app walks it.
Adds btrfs to the test-integration filesystem axis (excludes only, no include: rows) for three new Fedora 44 cells: composefs systemd UKI sealed, composefs grub BLS unsealed, ostree grub BLS unsealed. Re-enables test-upgrade fedora-44 composefs on btrfs via a new filesystem axis plus excludes, and makes xtask pass BOOTC_filesystem to bcvk for ostree too. The reviewer independently expanded both matrices with GitHub's semantics (reproduces the 19 integration and 3 upgrade jobs of run 42243165273 from main): full lists give 22 integration and 4 upgrade jobs, ci/tier-1 stays at 7 and 2, all centos-10, no fedora-44 or btrfs row. Published fedora-bootc:44 ships bootc-1.17.1 (>= 1.16.8, which has the 71ad2d3 deadlock fix). Main risk: the xtask change now sends --filesystem=xfs explicitly on every existing ostree cell and on the ostree upgrade cells; that matches the test images' configured default (configure-rootfs writes xfs for ostree), but the ostree upgrade cells were not re-run. The composefs BLS and ostree btrfs full-integration runs were still in progress at review time.
Hotspots
- look-closely · logic —
.github/workflows/ci.yml:338-351(87d9751): These excludes are what keep btrfs to exactly three Fedora cells and out of ci/tier-1; any edit that turns them into include: rows would create a fedora-44 row on tier-1 runs, which have no packages-fedora-44 artifact. - look-closely · logic —
.github/workflows/ci.yml:463-478(1076303): New filesystem axis on test-upgrade: ostree rows now export BOOTC_filesystem=xfs, which (with the xtask change) becomes an explicit --filesystem=xfs for the published image's bootc. Job names gain a filesystem suffix; nothing requires them by name. - look-closely · logic —
crates/xtask/src/bcvk.rs:88-91(1357e36): Behavior change for every ostree run-tmt and sysext dev VM with BOOTC_filesystem set: it is now passed to bcvk. Existing CI ostree cells set xfs, equal to the test image default, so they should be unchanged. - note · logic —
crates/xtask/src/tmt.rs:635-640(1357e36): Composefs on CoreOS with no filesystem still gets both --filesystem=xfs here and the ext4 default from install_args, so the commit message's 'the two don't both end up' only holds for ostree. Pre-existing and the CoreOS job is disabled; folding the default into bcvk_opts.filesystem would fix it.
Safe to skim
crates/xtask/src/bcvk.rs:144-180: Table-driven unit test extended with a filesystem column.docs/src/bootc-composefs.7.md: One-line doc update.
a266a79 to
7436abd
Compare
|
@jmarrero one call for you before promoting: these cells add about 6.5 runner-hours per PR (composefs BLS ~2.5 h and ostree ~3 h are most of it). Wall-clock time doesn't change. A (recommended): keep it as is. Both run the full set like their xfs/ext4 siblings, and all of it passed on btrfs. Reply with a letter, or say if you want B and C together. Bot run: session 77cad178, agents a3667045 +1 · claude-opus-5-5 21.1M in (87% cached) / 98k out · ~$19.05 inference + ~$6.09 compute (est., list prices) · 2h 29m wall · 38.7 core-h, Actions run 42377888679 |
jmarrero-bot
left a comment
There was a problem hiding this comment.
Review guide for head 7436abd770: where to look closely and what is safe to skim. It is advice from the bot's reviewer and doesn't replace reading the diff; the review app walks it.
Adds btrfs to the test-integration filesystem axis (excludes only, no include: rows) for three new Fedora 44 cells: composefs systemd UKI sealed, composefs grub BLS unsealed, ostree grub BLS unsealed. Re-enables test-upgrade fedora-44 composefs on btrfs via a new filesystem axis plus excludes, and makes xtask pass BOOTC_filesystem to bcvk for ostree too (Justfile comment updated to match). The reviewer independently expanded both matrices with GitHub semantics (reproduces the 19 integration and 3 upgrade jobs of run 42243165273 from main): full lists give 22 integration and 4 upgrade jobs, ci/tier-1 stays at 7 and 2, all centos-10, no fedora-44 or btrfs row. Published fedora-bootc:44 ships bootc-1.17.1 (>= 1.16.8, which has the 71ad2d3 deadlock fix). Devspace runs at a266a79 (differs from this head only by a Justfile comment): sealed, upgrade, composefs BLS (30/30) and ostree btrfs (34/34) passed, plus an ostree xfs readonly control with the now-explicit --filesystem=xfs. Remaining untested path: the ostree test-upgrade cells, which now also pass --filesystem=xfs (the image default).
Hotspots
- look-closely · logic —
.github/workflows/ci.yml:338-351(87d9751): These excludes are what keep btrfs to exactly three Fedora cells and out of ci/tier-1; any edit that turns them into include: rows would create a fedora-44 row on tier-1 runs, which have no packages-fedora-44 artifact. - look-closely · logic —
.github/workflows/ci.yml:463-478(1076303): New filesystem axis on test-upgrade: ostree rows now export BOOTC_filesystem=xfs, which (with the xtask change) becomes an explicit --filesystem=xfs for the published image's bootc. Job names gain a filesystem suffix; nothing requires them by name. - look-closely · logic —
crates/xtask/src/bcvk.rs:88-91(9826462): Behavior change for every ostree run-tmt and sysext dev VM with BOOTC_filesystem set: it is now passed to bcvk. Existing CI ostree cells set xfs, equal to the test image default, so they should be unchanged. - note · logic —
crates/xtask/src/tmt.rs:635-640(9826462): Composefs on CoreOS with no filesystem still gets both --filesystem=xfs here and the ext4 default from install_args; the commit message now only claims the ostree case. Pre-existing and the CoreOS job is disabled; folding the default into bcvk_opts.filesystem would fix it.
Safe to skim
crates/xtask/src/bcvk.rs:144-180: Table-driven unit test extended with a filesystem column.docs/src/bootc-composefs.7.md: One-line doc update.Justfile:41-42: Comment-only update.
|
/promote |
btrfs is Fedora's default root filesystem and supports fs-verity, so composefs installs there get a strict command line, but no CI job has ever installed onto it: the integration matrix only had ext4 and xfs. Add it as a filesystem value and exclude it everywhere except Fedora composefs, keeping one sealed UKI cell (the same plans as the other sealed cells) and one GRUB BLS cell (the full integration set, like the other BLS cells). Using excludes rather than include: entries matters here: an included fedora-44 row would also be added on ci/tier-1 runs, which only build centos-10 packages. Closes: bootc-dev#2633 Generated-by: AI Signed-off-by: Joseph Marrero Corchado <[email protected]>
It was excluded in bb674f1 until 1.16.8, because older releases deadlocked in the upgrade path (fixed by 71ad2d3, in 1.16.8). The published Fedora 44 image has shipped newer bootc for months, so the exclusion only hides coverage now. Run it on btrfs, Fedora's default, which also covers an upgrade from the published bootc on that filesystem. CentOS Stream keeps composefs on ext4. The filesystem is now a matrix axis exported as BOOTC_filesystem, which test-upgrade already passes to the composefs install; ostree keeps the image's default (xfs) as before. Generated-by: AI Signed-off-by: Joseph Marrero Corchado <[email protected]>
install_args only passed --filesystem with the composefs backend, so an ostree run with BOOTC_filesystem=btrfs silently installed on the image's default filesystem instead. Pass it whenever one is set; without one, composefs still defaults to ext4 and ostree to the image's default. The existing ostree CI cells set xfs, which is already their default. The Fedora CoreOS xfs default now only applies when no filesystem was asked for, so an ostree run that sets one doesn't pass both to bcvk. Prep for an ostree btrfs CI cell. Generated-by: AI Signed-off-by: Joseph Marrero Corchado <[email protected]>
Fedora's own ostree installs (the Atomic desktops) sit on btrfs, while the ostree cells only ever ran on xfs. Now that the xtask passes the filesystem to bcvk for ostree, this cell really installs on btrfs. Generated-by: AI Signed-off-by: Joseph Marrero Corchado <[email protected]>
|
Signed off 4 commit(s) with |
7436abd to
603f2c6
Compare
|
Opened upstream as bootc-dev#2644. Closing this review draft. |
No CI job installed onto btrfs, Fedora's default root filesystem, which supports fs-verity (so composefs gets a strict command line there). This adds it on Fedora 44:
test-integration: composefs btrfs systemd UKI sealed (readonly image-upgrade-reboot, as the other sealed cells), composefs btrfs grub BLS and ostree btrfs grub BLS (both the fullintegrationset). It uses the existingfilesystemaxis plus excludes rather thaninclude:, soci/tier-1runs (centos-10 only) get no fedora-44 row.test-upgrade (fedora-44, composefs)is back, now on btrfs. It was excluded until 1.16.8 for the deadlock fixed in 71ad2d3; the publishedfedora-bootc:44ships 1.17.1.install_argsonly passed--filesystemto bcvk for composefs, so the ostree cell would have silently installed on xfs.Per-PR cost, from the matching cells of run 42243165273: sealed UKI ~35-40 min, composefs BLS ~2.5 h, ostree ~3 h, upgrade ~15 min, about 6.5 runner-hours on top of ~42 for
test-integrationtoday. Wall-clock time doesn't change (the longest existing cell takes 3.5 h). If that is too much, the composefs BLS cell could run a reduced set (readonly image-upgrade-reboot composefs-verity composefs-gc rollback, ~45 min), which needs a smalltest-composefsknob since its plan filter always includesintegration; the ostree cell is its own commit and can be dropped.Matrix expansion (checked with a script that reproduces the 19 cells of that run from main's workflow): the full OS list goes from 19 to 22 integration and from 3 to 4 upgrade jobs;
ci/tier-1stays at 7 and 2, all centos-10. actionlint reports nothing new.Testing, on a 16-core devspace (jmarrero-devspace-42377888679) at a266a79 (7436abd since then only rewords a Justfile comment), running each cell with CI's env and steps (
BOOTC_filesystem=btrfsetc., prebuilt packages,build-fetch,build,test-container-integration, thentest-composefs/test-tmt integration/test-upgrade):test-upgradefedora-44 composefs btrfs: passed (installed by bootc 1.17.1, upgraded, readonly)integration: all 30 plans passed (~1h45 including the build)integration: all 34 plans passed (~2h15 including the build)readonly: passed; bcvk now gets an explicit--filesystem=xfsthere, which is the image's default anywaycargo test -p xtask: 32 passedEach bcvk install ran with
--filesystem=btrfsand formatted the root withmkfs.btrfs, the ostree one included.Fixes bootc-dev#2633
Generated-by: https://github.com/jmarrero-bot#llms
Review draft in jmarrero-forge, not upstream yet. This section is removed when the PR is opened upstream.
bootc-dev/bootc, basemainPVTI_lADOFBIZ7c4BlZPrzhGrHwUTo review:
/promoteon a line of its own, to open it upstream, ready for review. Either covers only the commits pushed so far.Signed-off-by: Joseph Marrero Corchado <[email protected]>to the commits lacking it (the bot's and yours; anyone else's only if you ask), with you as committer./draftline (in the same comment or before) to open it upstream as a draft (/readyundoes that).Bot run: session 77cad178, agent a459d4d7 · claude-opus-5-5 9.6M in (96% cached) / 45k out · ~$4.44 inference + ~$1.11 compute (est., list prices) · 29m wall · 7.0 core-h, Actions run 42377888679
Bot run: session 77cad178, agents a3667045 +1 · claude-opus-5-5 20.5M in (88% cached) / 96k out · ~$18.31 inference + ~$6.09 compute (est., list prices) · 2h 29m wall · 38.7 core-h, Actions run 42377888679