DAOS-18881 test: fix the csum_error_logging test#18455
Conversation
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>
|
Ticket title is 'checksum/csum_error_logging.py:CsumErrorLog.test_csum_error_logging - failed due to Checksum Error Log not incremented' |
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>
50b260b to
56701a1
Compare
This reverts commit 56701a1. Doc-only: true
| nr_xs_helpers: 1 | ||
| storage: auto | ||
| env_vars: | ||
| - DAOS_DMA_INIT_PCT=20 # workaround for DAOS-18194 |
There was a problem hiding this comment.
It could be DAOS-18860. Please try merging master to pick 174dead .
There was a problem hiding this comment.
Also, I don't think we should add a workaround for DAOS-18194 to a PR that is fixing DAOS-18881
daltonbohning
left a comment
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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') |
There was a problem hiding this comment.
This assert gives a slightly better error message
| self.assertTrue(checksum_errs > 0, 'Checksum Errors not detected') | |
| self.assertGreater(checksum_errs, 0, 'Checksum Errors not detected') |
…fix-csum_error_logging-pr
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
Re-tested without DAOS-18194/DAOS-18860 workaround |
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:
After all prior steps are complete: