Skip to content

DAOS-18881 test: fix the csum_error_logging test#18455

Open
janekmi wants to merge 8 commits into
masterfrom
janekmi/DAOS-18881-fix-csum_error_logging-pr
Open

DAOS-18881 test: fix the csum_error_logging test#18455
janekmi wants to merge 8 commits into
masterfrom
janekmi/DAOS-18881-fix-csum_error_logging-pr

Conversation

@janekmi

@janekmi janekmi commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Since #17828 faults injected by this test does not increase the NVMe device error counter. Instead a RAS event is emitted. The test has to be adjusted accordingly.

Test-tag: test_csum_error_logging

Skip-unit-tests:true
Skip-NLT: true
Skip-unit-test-memcheck: true
Skip-func-vm: true
Skip-fault-injection-test: true
Skip-test-rpms: true

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

Since #17828 faults injected by this test does not increase the NVMe
device error counter. Instead a RAS event is emitted. The test has to be
adjusted accordingly.

Test-tag: test_csum_error_logging

Skip-unit-tests:true
Skip-NLT: true
Skip-unit-test-memcheck: true
Skip-func-vm: true
Skip-fault-injection-test: true
Skip-test-rpms: true

Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
@janekmi janekmi requested a review from NiuYawei June 6, 2026 05:07
@janekmi janekmi requested review from a team as code owners June 6, 2026 05:07
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Ticket title is 'checksum/csum_error_logging.py:CsumErrorLog.test_csum_error_logging - failed due to Checksum Error Log not incremented'
Status is 'In Review'
Labels: 'ci_master_daily,scrubbed_2.8,triaged'
https://daosio.atlassian.net/browse/DAOS-18881

Should not be landed.

Master Jenkinsfile is not able to run a single test employing fault
injection. Please see the ticket for more details.

Test-tag: test_csum_error_logging

Skip-unit-tests:true
Skip-NLT: true
Skip-unit-test-memcheck: true
Skip-func-vm: true
Skip-fault-injection-test: true
Skip-test-rpms: true

Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
@janekmi janekmi force-pushed the janekmi/DAOS-18881-fix-csum_error_logging-pr branch from 50b260b to 56701a1 Compare June 6, 2026 05:14
This reverts commit 56701a1.

Doc-only: true
@janekmi

janekmi commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

NiuYawei
NiuYawei previously approved these changes Jun 8, 2026
nr_xs_helpers: 1
storage: auto
env_vars:
- DAOS_DMA_INIT_PCT=20 # workaround for DAOS-18194

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.

It could be DAOS-18860. Please try merging master to pick 174dead .

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.

Also, I don't think we should add a workaround for DAOS-18194 to a PR that is fixing DAOS-18881

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.

Removed.

@daltonbohning daltonbohning left a comment

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.

Overall LGTM but I agree with Niu's comment about merging latest master

nr_xs_helpers: 1
storage: auto
env_vars:
- DAOS_DMA_INIT_PCT=20 # workaround for DAOS-18194

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.

Also, I don't think we should add a workaround for DAOS-18194 to a PR that is fixing DAOS-18881

self.log_step('Check checksum error logs')
checksum_errs = self.get_checksum_error_value(t_start, t_end)
self.log.info('Checksum Errors reported: %d', checksum_errs)
self.assertTrue(checksum_errs > 0, 'Checksum Errors not detected')

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.

This assert gives a slightly better error message

Suggested change
self.assertTrue(checksum_errs > 0, 'Checksum Errors not detected')
self.assertGreater(checksum_errs, 0, 'Checksum Errors not detected')

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.

Done.

janekmi added 4 commits June 8, 2026 15:36
Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
Should not be landed.

Master Jenkinsfile is not able to run a single test employing fault
injection. Please see the ticket for more details.

Test-tag: test_csum_error_logging

Skip-unit-tests:true
Skip-NLT: true
Skip-unit-test-memcheck: true
Skip-func-vm: true
Skip-fault-injection-test: true
Skip-test-rpms: true

Signed-off-by: Jan Michalski <jan-marian.michalski@hpe.com>
This reverts commit 15ffb8d.

Doc-only: true
Skip-build: true
@janekmi

janekmi commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

@janekmi janekmi requested review from NiuYawei and daltonbohning June 8, 2026 16:46
@janekmi janekmi requested a review from a team June 11, 2026 16:25
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