#1217

CI: enable the remaining node-manager Btrfs fixture tests

Openzibi-pplxopened 1mo ago

Several node-manager Btrfs tests are in the privileged Nextest group but return early when SPACE_NODEMGR_TEST_BTRFS_DIR is unset. The CI fixture wrapper currently supplies the separate receive-test variable only. Passing results for the other opt-in tests therefore do not establish that their Btrfs behavior ran.

Follow-up to the coverage gap reviewed in #1014. Keep this separate from its receive-parser change.

Scope:

  • Inventory the tests using SPACE_NODEMGR_TEST_BTRFS_DIR, including device backing, encrypted volumes, rootfs-dmcrypt forks, snapshot capture, artifact operations, prepared rootfs, and send-source/transport tests.
  • Supply a disposable fixture and the required tools and kernel support for those tests. Check fixture capacity and concurrent use before enabling the full group.
  • Make missing prerequisites fail when CI requires coverage, while retaining explicit opt-in for local host-mutating tests.

Acceptance:

  • The affected tests execute their substantive assertions in the privileged CI job rather than returning early.
  • Removing the fixture or a required prerequisite produces an actionable failure.
  • Task-owned mounts, subvolumes, loop devices and device-mapper resources are cleaned after success and failure.

No production behavior change is required by this issue.

Activity

0

No activity yet.