Skip to content

nextest: Also serialize the test_to_base_disk_* tests - #392

Merged
cgwalters merged 1 commit into
bootc-dev:mainfrom
cgwalters-forge:bot/nextest-serialize-base-disk
Sep 30, 2026
Merged

cgwalters merged 1 commit into
bootc-dev:mainfrom
cgwalters-forge:bot/nextest-serialize-base-disk

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Contributor

The nextest override that makes VM and bootc install tests take both integration threads matches to_?disk, which doesn't cover the test_to_base_disk_* tests. So those libvirt base-disk tests, each of which runs a full install in a VM, could run two at a time, which is the memory pressure the override exists to avoid. That happened in this run, where test_to_base_disk_integration_with_list and test_to_base_disk_with_root_size ran concurrently.

Tested on a 16-core RHEL 10.2 devspace: with the old filter, cargo nextest list -P integration -E 'test(/to_?disk/)' matches none of the 5 test_to_base_disk_* tests, and with the added clause all 5 are matched (15 tests in total for the two clauses). test_to_base_disk_basic passes under the integration profile.

CI note: the integration-tests (4) failure is unrelated to this change: test_libvirt_ignition_invalid_path failed pulling quay.io/fedora/fedora-coreos:stable with an unexpected EOF from quay's CDN, the same flake seen on upstream main (example) and targeted by cgwalters-forge#2. The other 23 tests in that partition passed, including test_to_base_disk_integration_with_list and test_to_base_disk_with_root_size, the pair that ran concurrently before.

Found while looking into #157.

The Signed-off-by: Colin Walters <walters@verbum.org> on these commits was added on cgwalters's approval of the review draft: cgwalters-forge#7 (review)

Generated-by: https://github.com/cgwalters/#llms

The override that makes VM/install tests take both integration threads
matched `to_?disk`, which doesn't cover `to_base_disk`. So the libvirt
base-disk tests, which each run a full `bootc install` in a VM, could
run two at a time, which is the memory pressure this override exists
to avoid. That happened in
https://github.com/bootc-dev/bcvk/actions/runs/34886352507, where
test_to_base_disk_integration_with_list and
test_to_base_disk_with_root_size ran concurrently.

Generated-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters
cgwalters merged commit b56c816 into bootc-dev:main Sep 30, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants