Skip to content

ci: Cover btrfs on Fedora 44 - #15

Closed
jmarrero-bot wants to merge 4 commits into
mainfrom
bot/btrfs-ci-fedora
Closed

jmarrero-bot wants to merge 4 commits into
mainfrom
bot/btrfs-ci-fedora

Conversation

@jmarrero-bot

@jmarrero-bot jmarrero-bot commented Nov 7, 2026 •

Copy link
Copy Markdown

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 full integration set). It uses the existing filesystem axis plus excludes rather than include:, so ci/tier-1 runs (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 published fedora-bootc:44 ships 1.17.1.
  • xtask: install_args only passed --filesystem to 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-integration today. 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 small test-composefs knob since its plan filter always includes integration; 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-1 stays 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=btrfs etc., prebuilt packages, build-fetch, build, test-container-integration, then test-composefs / test-tmt integration / test-upgrade):

  • composefs btrfs systemd UKI sealed: passed (readonly, image-upgrade-reboot)
  • test-upgrade fedora-44 composefs btrfs: passed (installed by bootc 1.17.1, upgraded, readonly)
  • composefs btrfs grub BLS, full integration: all 30 plans passed (~1h45 including the build)
  • ostree btrfs grub BLS, full integration: all 34 plans passed (~2h15 including the build)
  • ostree xfs grub BLS, readonly: passed; bcvk now gets an explicit --filesystem=xfs there, which is the image's default anyway
  • cargo test -p xtask: 32 passed

Each bcvk install ran with --filesystem=btrfs and formatted the root with mkfs.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.

  • Upstream: bootc-dev/bootc, base main
  • Board item: PVTI_lADOFBIZ7c4BlZPrzhGrHwU
  • Fork CI: off; the devspace testing described above is this PR's CI, and upstream CI runs once it is opened there

To review:

  • Approve, or comment /promote on a line of its own, to open it upstream, ready for review. Either covers only the commits pushed so far.
  • If upstream requires DCO, approving also signs off: promote adds 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.
  • Add a /draft line (in the same comment or before) to open it upstream as a draft (/ready undoes that).
  • Close to drop it.
  • Edit the title and description freely: they become the upstream PR's. Review comments are squashed into the commits they concern, with a reply here.

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

@jmarrero-bot jmarrero-bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.

@jmarrero-bot

Copy link
Copy Markdown
Author

@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.
B: cut the composefs BLS cell to readonly image-upgrade-reboot composefs-verity composefs-gc rollback (~45 min). That needs a small test-composefs knob.
C: drop the ostree cell, the last commit (saves ~3 h).

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 jmarrero-bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.

@jmarrero-bot

Copy link
Copy Markdown
Author

Decision from @jmarrero: option A, keep the full plan sets. The new cells take at most about 3 h each, under the existing 3.5 h longest cell, so CI wall-clock time doesn't change. No change to the branch; head stays 7436abd.

@jmarrero

jmarrero commented Nov 9, 2026

Copy link
Copy Markdown

/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]>
@jmarrero-bot

Copy link
Copy Markdown
Author

Signed off 4 commit(s) with Signed-off-by: Joseph Marrero Corchado <[email protected]> for bootc-dev/bootc's DCO check, on jmarrero's approval #15 (comment) of 7436abd77065. Same trees; the head is now 603f2c6e82dc.

@jmarrero-bot

Copy link
Copy Markdown
Author

Opened upstream as bootc-dev#2644. Closing this review draft.

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.

ci: Cover btrfs on current Fedora

2 participants