Skip to content

DAOS-16311 test: adapt daos_cr.c to libdaos_control bindings - #18849

Draft
mjmac wants to merge 1 commit into
masterfrom
mjmac/DAOS-16311-cr-fixes
Draft

DAOS-16311 test: adapt daos_cr.c to libdaos_control bindings#18849
mjmac wants to merge 1 commit into
masterfrom
mjmac/DAOS-16311-cr-fixes

Conversation

@mjmac

@mjmac mjmac commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Update the cat_recov suite to work better with the new
libdaos_control bindings, which operate more quickly and
correctly than the old fork/exec dmg wrappers.

  • Check repair takes the CIA_ action value directly, where the old
    dmg CLI translated a selection index into the action.
  • The bindings answer queries in milliseconds where the fork/exec dmg
    helpers took 1-2s, which throws off some of the timing assumptions
    in the tests. Adjust to use a wall-clock budget instead of counting
    query iterations.
  • Pool-not-found now maps to DER_NONEXIST instead of DER_MISC, so
    cr_cleanup no longer needs to tolerate DER_MISC.
  • Switch SystemCheckDisable() to use Force: true on SystemStop(),
    matching the current system default and avoiding hangs on shutdown.
  • Misc correctness fixes in the gRPC handlers for
    SystemCheck(Enable|Disable).

Skip-hw-medium-ucx-provider: false
Features: cat_recov daos_core_test_nvme
Signed-off-by: Michael MacDonald github@macdonald.cx

Update the cat_recov suite to work better with the new
libdaos_control bindings, which operate more quickly and
correctly than the old fork/exec dmg wrappers.

- Check repair takes the CIA_ action value directly, where the old
  dmg CLI translated a selection index into the action.
- The bindings answer queries in milliseconds where the fork/exec dmg
  helpers took 1-2s, which throws off some of the timing assumptions
  in the tests. Adjust to use a wall-clock budget instead of counting
  query iterations.
- Pool-not-found now maps to DER_NONEXIST instead of DER_MISC, so
  cr_cleanup no longer needs to tolerate DER_MISC.
- Switch SystemCheckDisable() to use Force: true on SystemStop(),
  matching the current system default and avoiding hangs on shutdown.
- Misc correctness fixes in the gRPC handlers for
  SystemCheck(Enable|Disable).

Skip-hw-medium-ucx-provider: false
Features: cat_recov daos_core_test_nvme
Signed-off-by: Michael MacDonald <github@macdonald.cx>
@github-actions

Copy link
Copy Markdown

Ticket title is 'C bindings for DAOS control API'
Status is 'In Progress'
Labels: 'ci_2.6_daily,ci_2.6_provider,ci_master_daily,ci_master_provider'
https://daosio.atlassian.net/browse/DAOS-16311

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Medium Verbs Provider 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-18849/1/execution/node/1754/log

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Medium 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-18849/1/execution/node/1701/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.

2 participants