Skip to content

SRE-4037 test: Fix doca-ofed install on Cluster Box stages - #19069

Open
phender wants to merge 10 commits into
masterfrom
hendersp/SRE-4037
Open

phender wants to merge 10 commits into
masterfrom
hendersp/SRE-4037

Conversation

@phender

@phender phender commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The doca-ofed install on cluster box nodes failed due to a script error when attempting to
obtain the Mellanox adapter type. Once this issue was fixed it was discovered that the
doca-ofed package ended up being removed when installing daos packages due to a
conflict between dependencies requiring libmpi.so.40()(64bit) and
libmpi.so.40()(64bit)(openmpi-x86_64). This had been previously resolved by the
daos-mofed-shim package, but after moving to fpm it was no longer being built. The
building of the daos-mofed-shim package has been reintroduced and now the daos
packages can be installed w/o removing doca-ofed.

In addition to the fix the following changes have also been included to support testing
the changes:

  • the harness/setup.py functional test has been updated to support testing on all
    hardware and cluster box stages
  • any functional hardware or cluster box stage that supports running with a different
    provider (via params or pragmas) now installs both mercury-libfabric and mercury-ucx.
    Any stage running a fixed provider will install the appropriate mercury package.

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Skip-Functional-Hardware-Medium-Verbs-Provider-MD-on-SSD: true
Skip-Functional-Hardware-Large-MD-on-SSD: true
Test-tag: test_setup

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

Fix the post_provision_config_nodes Mellanox adapter type detection to
account for virtual devices.  This will fix installing doca-ofed on
cluster box nodes.

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Skip-Functional-Hardware-Medium-Verbs-Provider-MD-on-SSD: true
Skip-Functional-Hardware-Large-MD-on-SSD: true
Test-tag: test_setup

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
@github-actions

Copy link
Copy Markdown

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

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Skip-Functional-Hardware-Medium-Verbs-Provider-MD-on-SSD: true
Skip-Functional-Hardware-Large-MD-on-SSD: true
Test-tag: test_setup

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Skip-Functional-Hardware-Medium-Verbs-Provider-MD-on-SSD: true
Skip-Functional-Hardware-Large-MD-on-SSD: true
Test-tag: test_setup

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box 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-19069/3/execution/node/743/log

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box 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-19069/4/execution/node/865/log

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Skip-Functional-Hardware-Medium-Verbs-Provider-MD-on-SSD: true
Skip-Functional-Hardware-Large-MD-on-SSD: true
Test-tag: test_setup

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box 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-19069/5/execution/node/743/log

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Test-tag: test_setup

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box 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-19069/6/execution/node/744/log

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Test-tag: test_setup
Skip-Functional-Hardware-Medium: false
Skip-Functional-Hardware-Medium-VMD: false
Skip-Functional-Hardware-Medium-Verbs-Provider: false
Skip-Functional-Hardware-Medium-UCX-Provider: false
Skip-Functional-Hardware-Large: false

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
Comment thread src/tests/ftest/harness/setup.py Outdated
Comment on lines +32 to +33
:avocado: tags=harness,test_setup
:avocado: tags=HarnessSetupTest,test_setup_hw

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint is failing due to

  (required) 4 tests with invalid test_ tag
    test_setup_hw
    test_setup_hw_provider
    test_setup_cb
    test_setup_cb_provider

because all of these variants are tagged with test_setup

@phender phender Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I was hoping to still be able to use the old tag - test_setup - to run any of the tests that matched the stages. This would also be useful if the test_setup tag was the default for any downstream testing. We can just use the class tag for this behavior.

Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Test-tag: test_setup
Skip-Functional-Hardware-Medium: false
Skip-Functional-Hardware-Medium-VMD: false
Skip-Functional-Hardware-Medium-Verbs-Provider: false
Skip-Functional-Hardware-Medium-UCX-Provider: false
Skip-Functional-Hardware-Large: false

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
Test-provider: ucx+dc_x
Quick-functional: true
Skip-test: true
Test-tag: HarnessSetupTest
Skip-Functional-Hardware-Medium: false
Skip-Functional-Hardware-Medium-VMD: false
Skip-Functional-Hardware-Medium-Verbs-Provider: false
Skip-Functional-Hardware-Medium-UCX-Provider: false
Skip-Functional-Hardware-Large: false

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
daltonbohning
daltonbohning previously approved these changes Sep 16, 2026
Comment thread src/tests/ftest/harness/setup.py Outdated
@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Medium VMD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19069/9/execution/node/775/log

@phender

phender commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

Test stage Functional Hardware Medium VMD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19069/9/execution/node/775/log

The ERROR: scan fabric: no fabric interfaces found with provider ucx+dc_x failure occurs because the opa-[100,102-105] cluster does not support the ucx+dc_x provider with its hardware. When the provider is specified for the build with a pragma or build param, launch.py does not verify that the provider is supported - this only occurs when auto-detecting the provider. So this error is expected in this case, but ultimately verifies the src/tests/ftest/harness/setup.py by proving the test tags will allow the test to run in this stage - where normally it would not run with the ucx+dc_x provider.

Test-provider: ucx+dc_x
Quick-functional: true
Test-tag: server_setup
Skip-Functional-on-Leap-15: false
Skip-Functional-on-SLES-15: false
Skip-Functional-Hardware-Medium: false
Skip-Functional-Hardware-Medium-VMD: false
Skip-Functional-Hardware-Medium-Verbs-Provider: false
Skip-Functional-Hardware-Medium-UCX-Provider: false
Skip-Functional-Hardware-Large: false

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
Test-provider: ucx+dc_x
Quick-functional: true
Test-tag: server_setup
Skip-Functional-on-Leap-15: false
Skip-Functional-on-SLES-15: false
Skip-Functional-Hardware-Medium: false
Skip-Functional-Hardware-Medium-VMD: false
Skip-Functional-Hardware-Medium-Verbs-Provider: false
Skip-Functional-Hardware-Medium-UCX-Provider: false
Skip-Functional-Hardware-Large: false

Signed-off-by: Phil Henderson <phillip.henderson@hpe.com>
@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Medium VMD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-19069/10/execution/node/1265/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