pmem / pmdk

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

ex_libpmem2/TEST6: drd failure #5593

Open szadam opened 1 year ago

szadam commented 1 year ago

ISSUE:

Environment Information

Please provide a reproduction of the bug:

[pmdk_thread_0] ex_libpmem2/TEST6: SETUP        (medium/debug/drd/page)
[pmdk_thread_0] ex_libpmem2/TEST6:  [91mFAILED [0m        (medium/debug/drd/page)
[pmdk_thread_0] ex_libpmem2/TEST6:  [91mTIMEOUT [0m        (debug/drd/page)
[pmdk_thread_0] ex_libpmem2/TEST6: SETUP        (medium/debug/drd/cacheline)
[pmdk_thread_0] Last 30 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_0/src/test/ex_libpmem2/drd6.log below (whole file has 1812 lines):
[pmdk_thread_0] ==69024==    by 0x40BB5C3: memmove_movnt_avx_clflush_wcbarrier (memcpy_nt_avx.c:423)
[pmdk_thread_0] ==69024==    by 0x408A563: pmem_memmove_nodrain (init.c:79)
[pmdk_thread_0] ==69024==    by 0x407F465: pmem2_memmove (persist.c:487)
[pmdk_thread_0] ==69024==    by 0x40150F: ringbuf_enqueue (ringbuf.c:292)
[pmdk_thread_0] ==69024==    by 0x4016E6: thread_producer (ringbuf.c:371)
[pmdk_thread_0] ==69024==    by 0x4041584: vgDrd_thread_wrapper (drd_pthread_intercepts.c:491)
[pmdk_thread_0] ==69024==    by 0x4A466E9: start_thread (in /lib64/libpthread-2.31.so)
[pmdk_thread_0] ==69024==    by 0x4D76A6E: clone (in /lib64/libc-2.31.so)
[pmdk_thread_0] ==69024== Allocation context: unknown.
[pmdk_thread_0] ==69024== Other segment start (thread 3)
[pmdk_thread_0] ==69024==    at 0x4D76A61: clone (in /lib64/libc-2.31.so)
[pmdk_thread_0] ==69024==    by 0x4A4660D: ??? (in /lib64/libpthread-2.31.so)
[pmdk_thread_0] ==69024==    by 0x81016FF: ???
[pmdk_thread_0] ==69024== Other segment end (thread 3)
[pmdk_thread_0] ==69024==    at 0x40155D: ringbuf_dequeue (ringbuf.c:311)
[pmdk_thread_0] ==69024==    by 0x401647: thread_consumer (ringbuf.c:345)
[pmdk_thread_0] ==69024==    by 0x4041584: vgDrd_thread_wrapper (drd_pthread_intercepts.c:491)
[pmdk_thread_0] ==69024==    by 0x4A466E9: start_thread (in /lib64/libpthread-2.31.so)
[pmdk_thread_0] ==69024==    by 0x4D76A6E: clone (in /lib64/libc-2.31.so)
[pmdk_thread_0] ==69024== 
[pmdk_thread_0] ==69024== 
[pmdk_thread_0] ==69024== More than 10000000 total errors detected.  I'm not reporting any more.
[pmdk_thread_0] ==69024== Final error counts will be inaccurate.  Go fix your program!
[pmdk_thread_0] ==69024== Rerun with --error-limit=no to disable this cutoff.  Note
[pmdk_thread_0] ==69024== that errors may occur in your program without prior warning from
[pmdk_thread_0] ==69024== Valgrind, because errors are no longer being displayed.
[pmdk_thread_0] ==69024== 
[pmdk_thread_0] ==69024== 
[pmdk_thread_0] ==69024== For lists of detected and suppressed errors, rerun with: -s
[pmdk_thread_0] ==69024== ERROR SUMMARY: 10000000 errors from 72 contexts (suppressed: 12 from 8)

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

always

Actual behavior:

Tests failed

Expected behavior:

Tests should pass

Details

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (Yes, No)

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

grom72 commented 1 year ago

Please check after #5638

grom72 commented 1 year ago

Please also check timeout. https://github.com/pmem/pmdk/actions/runs/4947653291/jobs/8893936211#step:6:4718

grom72 commented 1 year ago
  1. check timeout
  2. 1.13 - skip
  3. 1.14 - fix