pmem / pmdk

Persistent Memory Development Kit
https://pmem.io
Other
1.34k stars 510 forks source link

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

Open grom72 opened 1 year ago

grom72 commented 1 year ago

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

Environment Information

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?

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

osalyk commented 1 year ago

Explanation in #5652