Skip to content

SRE-3989 test: add NVMe reset recovery - #18956

Open
JohnMalmberg wants to merge 1 commit into
masterfrom
malmberg/sre-3989_nvme_gone
Open

SRE-3989 test: add NVMe reset recovery#18956
JohnMalmberg wants to merge 1 commit into
masterfrom
malmberg/sre-3989_nvme_gone

Conversation

@JohnMalmberg

Copy link
Copy Markdown
Contributor

Log the NVMe IOMMU baseline to hardware prep so post-reboot PCI, driver, IOMMU, and nvme-cli state is recorded before functional tests run.

Add NVMe diagnostics around the ftest reset paths used by server manager cleanup and launch-level post-test cleanup. When daos_server nvme reset fails, attempt non-reboot recovery with daos_server nvme scan --ignore-config and continue if the scan recovers the devices.

  • Jenkinsfile: Fix minor groovylint issues.

  • ci/functional/test_main_prep_node.sh: Log NVMe IOMMU settings and health before tests are run

  • src/tests/ftest/util/collection_utils.py:

  • src/tests/ftest/util/server_utils.py:

  • src/tests/ftest/util/storage_utils.py: Add NVMe diagnostics for reset of NVMe devices and attempt recovery of the NVMe devices if the reset fails.

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).

@JohnMalmberg
JohnMalmberg requested review from a team as code owners August 27, 2026 20:39
@github-actions

Copy link
Copy Markdown

Errors are Unable to load ticket data
https://daosio.atlassian.net/browse/SRE-3989

@JohnMalmberg
JohnMalmberg force-pushed the malmberg/sre-3989_nvme_gone branch from cbe79c3 to 486b154 Compare August 28, 2026 15:47
@daltonbohning

Copy link
Copy Markdown
Contributor

Is this meant to be ready for review?

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18956/3/execution/node/773/log

@JohnMalmberg
JohnMalmberg force-pushed the malmberg/sre-3989_nvme_gone branch from 486b154 to 4f3b0c0 Compare August 28, 2026 17:49
@JohnMalmberg

Copy link
Copy Markdown
Contributor Author

Is this meant to be ready for review?

Unfortunately it is not. It still needs some debug, and hdr-114 is also still going into this state.
I may need some help in debugging some of the failures that I am seeing while trying to fix it
So now am just forcing it to run using the cluster with hdr-114.

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18956/4/execution/node/772/log

Log the NVMe IOMMU baseline to hardware prep so post-reboot PCI,
driver, IOMMU, and nvme-cli state is recorded before functional tests
run.

Add NVMe diagnostics around the ftest reset paths used by server
manager cleanup and launch-level post-test cleanup.

- Jenkinsfile: Fix minor groovylint issues.

- ci/functional/test_main_prep_node.sh:
  Log NVMe IOMMU settings and health before tests are run
  Take cluster offline if VT-D/IOMMU is not enabled.

- src/tests/ftest/util/collection_utils.py:
- src/tests/ftest/util/server_utils.py:
- src/tests/ftest/util/storage_utils.py:
  Add NVMe diagnostics for reset of NVMe devices.

Signed-off-by: John E. Malmberg <john.malmberg@hpe.com>
@JohnMalmberg
JohnMalmberg force-pushed the malmberg/sre-3989_nvme_gone branch from 4f3b0c0 to d9ceb97 Compare August 28, 2026 20:51
@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18956/5/execution/node/772/log

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18956/6/execution/node/773/log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants