Skip to content

install: Move /var mount test to TMT to reduce disk usage#1910

Merged
henrywang merged 1 commit intobootc-dev:mainfrom
ckyrouac:ci-disk-space
Jan 15, 2026
Merged

install: Move /var mount test to TMT to reduce disk usage#1910
henrywang merged 1 commit intobootc-dev:mainfrom
ckyrouac:ci-disk-space

Conversation

@ckyrouac
Copy link
Collaborator

@ckyrouac ckyrouac commented Jan 14, 2026

The "install to-filesystem with separate /var mount" test was causing
disk space issues on GitHub Actions runners due to its large disk
image requirements (12GB for partitions with LVM). Moving it to a TMT
test allows it to run in a dedicated VM where disk space is not as
constrained.

The test verifies that bootc install to-filesystem correctly handles
scenarios where /var is on a separate filesystem, which is a common
production setup.

Changes:

  • Remove the test from Rust integration tests (install.rs)
  • Add new TMT test: test-32-install-to-filesystem-var-mount.sh
  • Add package requirements (parted, lvm2, dosfstools, e2fsprogs)
  • Update tests.fmf and integration.fmf with new test entry

Assisted-by: Claude Code (Opus 4.5)
Signed-off-by: ckyrouac ckyrouac@redhat.com

@bootc-bot bootc-bot bot requested a review from cgwalters January 14, 2026 18:31
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request effectively reduces disk space usage for mount tests by switching to a 5GB sparse file in /var/tmp and adjusting partition layouts accordingly. This is a good improvement for CI efficiency. I've identified a high-severity issue related to the lifecycle management of the temporary disk image file, which could lead to test failures or unexpected behavior. Please review the specific comment for details and a suggested fix.

cgwalters
cgwalters previously approved these changes Jan 14, 2026
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Thanks for digging into this! Offhand looks sane, though I think we could probably handle this better by sharding some of these install tests in separate tmt tests too.

We're already growing overlap between test-install and tmt anyways.

jeckersb
jeckersb previously approved these changes Jan 14, 2026
@jeckersb jeckersb enabled auto-merge (rebase) January 14, 2026 19:02
@jeckersb
Copy link
Collaborator

Hm still ran out of space 😭

@jeckersb jeckersb disabled auto-merge January 14, 2026 19:39
@ckyrouac
Copy link
Collaborator Author

going to move these tests to tmt

@ckyrouac ckyrouac changed the title install: Reduce disk space usage of mount test install: Move /var mount test to TMT to reduce disk usage Jan 14, 2026
The "install to-filesystem with separate /var mount" test was causing
disk space issues on GitHub Actions runners due to its large disk
image requirements (12GB for partitions with LVM). Moving it to a TMT
test allows it to run in a dedicated VM where disk space is not as
constrained.

The test verifies that bootc install to-filesystem correctly handles
scenarios where /var is on a separate filesystem, which is a common
production setup.

Changes:
- Remove the test from Rust integration tests (install.rs)
- Add new TMT test: test-32-install-to-filesystem-var-mount.sh
- Add package requirements (parted, lvm2, dosfstools, e2fsprogs)
- Update tests.fmf and integration.fmf with new test entry

Assisted-by: Claude Code (Opus 4.5)
Signed-off-by: ckyrouac <ckyrouac@redhat.com>
@henrywang henrywang merged commit e074a41 into bootc-dev:main Jan 15, 2026
45 of 47 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.

4 participants