Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
szadam opened this issue Apr 21, 2023 · 4 comments
Open

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

szadam opened this issue Apr 21, 2023 · 4 comments
Labels
CI: Disabled Temporarily disabled from testing libpmem2 libpmem- and libpmem2-related miniasync async related issue QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK won't do The requested improvement is not planned to be done.

Comments

@szadam
Copy link

szadam commented Apr 21, 2023

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

@szadam szadam added the Type: Bug A previously unknown bug in PMDK label Apr 21, 2023
@janekmi janekmi added Exposure: Critical libpmem2 libpmem- and libpmem2-related labels Apr 24, 2023
@wlemkows
Copy link
Contributor

This bug relates to the async functionality, which in release 1.13 is marked as deprecated #5552.
In this regard, it is not a critical issue.

@janekmi janekmi added the miniasync async related issue label Apr 26, 2023
@janekmi
Copy link
Contributor

janekmi commented Apr 26, 2023

Note: It is related to libminiasync which is experimental.

@grom72 grom72 added this to the 1.13 on GHA milestone May 15, 2023
@grom72
Copy link
Contributor

grom72 commented May 15, 2023

Skip in 1.13

@grom72 grom72 modified the milestones: 1.13 on GHA, 1.14 May 15, 2023
@osalyk osalyk self-assigned this May 22, 2023
@grom72 grom72 changed the title pmem2_mover/TEST[0-5, 6] failed pmemcheck pmem2_mover/TEST[0-5, 9] failed pmemcheck May 22, 2023
@osalyk osalyk assigned grom72 and unassigned osalyk May 22, 2023
@grom72 grom72 added the CI: Disabled Temporarily disabled from testing label May 22, 2023
grom72 added a commit to grom72/pmdk that referenced this issue May 22, 2023
…s fixed

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
@grom72 grom72 modified the milestones: 1.13 on GHA, 1.14 May 22, 2023
@grom72 grom72 removed their assignment May 22, 2023
janekmi added a commit that referenced this issue May 22, 2023
test: disable pmem2_mover/TEST[0-5, 9] w/ pmemcheck until #5595 is fixed
@grom72 grom72 modified the milestones: 1.14, 1.15 May 25, 2023
@grom72 grom72 added the QA: CI .github/ and utils/ related to automated testing label Jun 1, 2023
@janekmi janekmi removed this from the 2.0.1 milestone Nov 23, 2023
@janekmi janekmi added this to the 2.0.2 milestone Nov 23, 2023
@janekmi
Copy link
Contributor

janekmi commented Feb 8, 2024

The asynchronous libpmem2 API has been scrapped. No fixes for this experimental library to the historical releases are expected.

@janekmi janekmi removed this from the 2.1.0 milestone Feb 8, 2024
@janekmi janekmi added the won't do The requested improvement is not planned to be done. label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Disabled Temporarily disabled from testing libpmem2 libpmem- and libpmem2-related miniasync async related issue QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK won't do The requested improvement is not planned to be done.
Projects
None yet
Development

No branches or pull requests

5 participants