pmdk icon indicating copy to clipboard operation
pmdk copied to clipboard

pmem2_badblock/TEST[0-5]: failed memcheck - injecting bad block failed

Open grom72 opened this issue 2 years ago • 1 comments

ISSUE: pmem2_badblock/TEST[0-5] failed under [valgrind (self-hosted, rhel, RUNTESTS.py --force-enable memcheck)] - injecting bad block failed

Environment Information

  • PMDK package version(s): https://github.com/pmem/pmdk/commit/37292d41f49fb7c754036c83e1d4d3d12ab490bb
  • OS(es) version(s): Rocky Linux 9.1 (Blue Onyx)
  • ndctl version(s): 71.1
  • kernel version(s): 5.14.0-162.6.1.el9_1.x86_64

Please provide a reproduction of the bug:

pmem2_badblock/TEST[0-5] failed under valgrind (self-hosted, rhel, RUNTESTS.py --force-enable memcheck) with error message: failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed

How often bug is revealed: (always, often, rare): always

Actual behavior:

pmem2_badblock/TEST0: SETUP	(short/debug/memcheck/cacheline)
pmem2_badblock/TEST0: FAILED	(short/debug/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1617429176 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST0: SETUP	(short/static_release/memcheck/cacheline)
pmem2_badblock/TEST0: FAILED	(short/static_release/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=45092864 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST0: SETUP	(short/release/memcheck/cacheline)
pmem2_badblock/TEST0: FAILED	(short/release/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1[617](https://github.com/pmem/pmdk/actions/runs/4969298952/jobs/8892382286#step:6:618)432576 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST0: SETUP	(short/static_debug/memcheck/cacheline)
pmem2_badblock/TEST0: FAILED	(short/static_debug/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=45088768 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST1: SETUP	(short/debug/memcheck/cacheline/devdax)
pmem2_badblock/TEST1: FAILED	(short/debug/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST1: SETUP	(short/static_release/memcheck/cacheline/devdax)
pmem2_badblock/TEST1: FAILED	(short/static_release/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST1: SETUP	(short/release/memcheck/cacheline/devdax)
pmem2_badblock/TEST1: FAILED	(short/release/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST1: SETUP	(short/static_debug/memcheck/cacheline/devdax)
pmem2_badblock/TEST1: FAILED	(short/static_debug/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST2: SETUP	(short/debug/memcheck/cacheline)
pmem2_badblock/TEST2: FAILED	(short/debug/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1057030440 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST2: SETUP	(short/static_release/memcheck/cacheline)
pmem2_badblock/TEST2: FAILED	(short/static_release/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1057030448 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST2: SETUP	(short/release/memcheck/cacheline)
pmem2_badblock/TEST2: FAILED	(short/release/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1057030464 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST2: SETUP	(short/static_debug/memcheck/cacheline)
pmem2_badblock/TEST2: FAILED	(short/static_debug/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1057030472 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST3: SETUP	(short/debug/memcheck/cacheline)
pmem2_badblock/TEST3: FAILED	(short/debug/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1208025352 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST3: SETUP	(short/static_release/memcheck/cacheline)
pmem2_badblock/TEST3: FAILED	(short/static_release/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1208025368 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST3: SETUP	(short/release/memcheck/cacheline)
pmem2_badblock/TEST3: FAILED	(short/release/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1208025376 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST3: SETUP	(short/static_debug/memcheck/cacheline)
pmem2_badblock/TEST3: FAILED	(short/static_debug/memcheck/cacheline)
failed to execute command sudo ndctl inject-error --block=1208025384 --count=1 namespace1.0: injecting bad block failed
pmem2_badblock/TEST4: SETUP	(short/debug/memcheck/cacheline/devdax)
pmem2_badblock/TEST4: FAILED	(short/debug/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST4: SETUP	(short/static_release/memcheck/cacheline/devdax)
pmem2_badblock/TEST4: FAILED	(short/static_release/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST4: SETUP	(short/release/memcheck/cacheline/devdax)
pmem2_badblock/TEST4: FAILED	(short/release/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST4: SETUP	(short/static_debug/memcheck/cacheline/devdax)
pmem2_badblock/TEST4: FAILED	(short/static_debug/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST5: SETUP	(short/debug/memcheck/cacheline/devdax)
pmem2_badblock/TEST5: FAILED	(short/debug/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST5: SETUP	(short/static_release/memcheck/cacheline/devdax)
pmem2_badblock/TEST5: FAILED	(short/static_release/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST5: SETUP	(short/release/memcheck/cacheline/devdax)
pmem2_badblock/TEST5: FAILED	(short/release/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed
pmem2_badblock/TEST5: SETUP	(short/static_debug/memcheck/cacheline/devdax)
pmem2_badblock/TEST5: FAILED	(short/static_debug/memcheck/cacheline/devdax)
failed to execute command sudo ndctl inject-error --block=0 --count=1 namespace0.2: injecting bad block failed

Expected behavior:

Details

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change?

  • [ ] Yes

Requested priority: (Showstopper, High, Medium, Low)

grom72 avatar May 15 '23 06:05 grom72

Explanation in #5652

osalyk avatar May 19 '23 06:05 osalyk