Skip to content

pmem2_mover/TEST[0-5, 9] failed pmemcheck #5595

@szadam

Description

@szadam

ISSUE:

Environment Information

  • PMDK package version(s): 50693c2
  • OS(es) version(s): openSUSE15_3
  • ndctl version(s): 71.1
  • kernel version(s): 5.3.18-150300.59.106

Please provide a reproduction of the bug:

[pmdk_thread_1] pmem2_mover/TEST0:  [91mFAILED [0m        (medium/release/pmemcheck/byte)
[pmdk_thread_1] Valgrind log validation failed
[pmdk_thread_1] pmem2_mover/TEST0: SETUP        (medium/release/pmemcheck/page)
[pmdk_thread_1] pmem2_mover/TEST0:  [92mPASS [0m                         [00.263 s]
[pmdk_thread_1] pmem2_mover/TEST0: SETUP        (medium/release/pmemcheck/cacheline)
[pmdk_thread_1] pmem2_mover/TEST0:  [92mPASS [0m                         [00.271 s]
[pmdk_thread_1] pmem2_mover/TEST1: SETUP        (medium/release/pmemcheck/byte)
[pmdk_thread_1] Last 0 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_mover/err1.log below (whole file has 0 lines):
[pmdk_thread_1] Last 30 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_mover/pmemcheck1.log below (whole file has 113 lines):
[pmdk_thread_1] ==29732==    by 0x403AA4: test_mover_memmove_basic (pmem2_mover.c:111)
[pmdk_thread_1] ==29732==    by 0x40365D: TEST_CASE_PROCESS (unittest.h:700)
[pmdk_thread_1] ==29732==    by 0x404F0C: main (pmem2_mover.c:506)
[pmdk_thread_1] ==29732==         Address: 0x7600120        size: 32        state: DIRTY
[pmdk_thread_1] ==29732== [7]    at 0x4C36163: memmove_nodrain_generic (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C5DFBF: memmove_mov_avx_noflush (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C3D115: pmem_memmove_nodrain_eadr (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C36C7D: pmem2_memmove_eadr (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C34C30: sync_operation_start (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C34B4A: vdm_operation_impl (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C34A6A: async_chain_impl (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4034ED: future_poll (future.h:280)
[pmdk_thread_1] ==29732==    by 0x403AA4: test_mover_memmove_basic (pmem2_mover.c:111)
[pmdk_thread_1] ==29732==    by 0x40365D: TEST_CASE_PROCESS (unittest.h:700)
[pmdk_thread_1] ==29732==    by 0x404F0C: main (pmem2_mover.c:506)
[pmdk_thread_1] ==29732==         Address: 0x7600140        size: 56        state: DIRTY
[pmdk_thread_1] ==29732== [8]    at 0x4C36185: memmove_nodrain_generic (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C5DFBF: memmove_mov_avx_noflush (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C3D115: pmem_memmove_nodrain_eadr (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C36C7D: pmem2_memmove_eadr (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C34C30: sync_operation_start (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C34B4A: vdm_operation_impl (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4C34A6A: async_chain_impl (in /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/nondebug/libpmem2.so.1.0.0)
[pmdk_thread_1] ==29732==    by 0x4034ED: future_poll (future.h:280)
[pmdk_thread_1] ==29732==    by 0x403AA4: test_mover_memmove_basic (pmem2_mover.c:111)
[pmdk_thread_1] ==29732==    by 0x40365D: TEST_CASE_PROCESS (unittest.h:700)
[pmdk_thread_1] ==29732==    by 0x404F0C: main (pmem2_mover.c:506)
[pmdk_thread_1] ==29732==         Address: 0x7600178        size: 6        state: DIRTY
[pmdk_thread_1] ==29732== Total memory not made persistent: 255
[pmdk_thread_1] ==29732== ERROR SUMMARY: 9 errors

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

always

Actual behavior:

Tests failed.

Expected behavior:

Tests should pass.

Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI: DisabledTemporarily disabled from testingQA: CI.github/ and utils/ related to automated testingType: BugA previously unknown bug in PMDKlibpmem2libpmem- and libpmem2-relatedminiasyncasync related issuewon't doThe requested improvement is not planned to be done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions