Skip to content

Create VDO recovery tests for dmtest-python#7

Open
lorelei-sakai wants to merge 1 commit into
device-mapper-utils:mainfrom
lorelei-sakai:add-vdo-rebuild-tests
Open

Create VDO recovery tests for dmtest-python#7
lorelei-sakai wants to merge 1 commit into
device-mapper-utils:mainfrom
lorelei-sakai:add-vdo-rebuild-tests

Conversation

@lorelei-sakai

@lorelei-sakai lorelei-sakai commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

These three new tests are based on existing VDO perl tests: DoryRebuildFast (single), Rebuild02 (double), and
Rebuild07 (512).

Also fixed the mode parameter to the vdo target (parameters can't start with a digit) and added SECTOR_SIZE as a constant.

This set of tests runs approximately 30 seconds, which on the one hand isn't long, but it's also about 5x as long as the rest of the existing VDO tests.

Comment thread src/dmtest/vdo/recovery_tests.py
Comment thread src/dmtest/vdo/recovery_tests.py Outdated
Comment thread src/dmtest/vdo/recovery_tests.py Outdated
Comment thread src/dmtest/vdo/recovery_tests.py
Comment thread src/dmtest/vdo/utils.py Outdated
These three new tests are based on existing VDO perl tests:
DoryRebuildFast (single), Rebuild02 (double), and
Rebuild07 (512).

Also fixed the mode parameter to the vdo target (parameters can't
start with a digit) and created a fio option for time-based data
writes.

Signed-off-by: Matthew Sakai <msakai@redhat.com>
@lorelei-sakai lorelei-sakai force-pushed the add-vdo-rebuild-tests branch from a89e55f to 41d19ca Compare June 30, 2026 01:22
@lorelei-sakai lorelei-sakai requested a review from raeburn June 30, 2026 22:38
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