Skip to content

DAOS-17785 test: CR Automate Test - Check stop/restart - #16820

Merged
daltonbohning merged 3 commits into
masterfrom
makito/DAOS-17785
Sep 12, 2025
Merged

daltonbohning merged 3 commits into
masterfrom
makito/DAOS-17785

Conversation

@shimizukko

Copy link
Copy Markdown
Contributor

Stop during repair.

  1. Create two pools 1 and 2. Create a container in 2.
  2. Inject orphan pool in 1 and orphan container in 2.
  3. Enable checker.
  4. Start checker. Immediately after the start command, stop pool 2.
  5. Query and verify that only 1 is fixed.
  6. Start the checker. If 2 isn’t fixed, stop and restart. Verify that 2 is fixed.
  7. Verify that the faults are actually fixed.

Disable during repair.

  1. Create a pool and inject fault.
  2. Start checker with interactive mode.
  3. Repair the fault. Immediately after the repair command, disable the checker.
  4. Enable the checker.
  5. Query the checker and verify that Current status is DONE or PAUSED.
  6. If status is PAUSED, start the checker. Query and verify that status is COMPLETED.
  7. Verify that the fault is actually fixed.

Skip-unit-tests: true
Skip-fault-injection-test: true
Test-tag: DMGCheckStopTest

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

Stop during repair.
1. Create two pools 1 and 2. Create a container in 2.
2. Inject orphan pool in 1 and orphan container in 2.
3. Enable checker.
4. Start checker. Immediately after the start command, stop pool 2.
5. Query and verify that only 1 is fixed.
6. Start the checker. If 2 isn’t fixed, stop and restart. Verify that 2 is fixed.
7. Verify that the faults are actually fixed.

Disable during repair.
1. Create a pool and inject fault.
2. Start checker with interactive mode.
3. Repair the fault. Immediately after the repair command, disable the checker.
4. Enable the checker.
5. Query the checker and verify that Current status is DONE or PAUSED.
6. If status is PAUSED, start the checker. Query and verify that status is
COMPLETED.
7. Verify that the fault is actually fixed.

Skip-unit-tests: true
Skip-fault-injection-test: true
Test-tag: DMGCheckStopTest

Signed-off-by: Makito Kano <makito.kano@hpe.com>
@github-actions

github-actions Bot commented Sep 7, 2025

Copy link
Copy Markdown

Ticket title is 'CR Automate Test - Check stop/restart'
Status is 'In Progress'
Labels: 'catastrophic_recovery'
https://daosio.atlassian.net/browse/DAOS-17785

Skip-unit-tests: true
Skip-fault-injection-test: true
Test-tag: DMGCheckStopTest
Signed-off-by: Makito Kano <makito.kano@hpe.com>
Skip-unit-tests: true
Skip-fault-injection-test: true
Test-tag: DMGCheckStopTest
Signed-off-by: Makito Kano <makito.kano@hpe.com>
@shimizukko
shimizukko marked this pull request as ready for review September 8, 2025 00:06
@shimizukko
shimizukko requested review from a team as code owners September 8, 2025 00:06
@shimizukko
shimizukko requested a review from a team September 11, 2025 06:35
@daltonbohning daltonbohning added the forced-landing The PR has known failures or has intentionally reduced testing, but should still be landed. label Sep 12, 2025
@daltonbohning
daltonbohning merged commit 0755d98 into master Sep 12, 2025
26 of 27 checks passed
@daltonbohning
daltonbohning deleted the makito/DAOS-17785 branch September 12, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forced-landing The PR has known failures or has intentionally reduced testing, but should still be landed.

Development

Successfully merging this pull request may close these issues.

3 participants