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_future/TEST[0-3]: failed pmemcheck #5596

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

pmem2_future/TEST[0-3]: failed pmemcheck #5596

szadam opened this issue Apr 21, 2023 · 3 comments
Labels
CI: Disabled Temporarily disabled from testing libpmem2 libpmem- and libpmem2-related miniasync async related issue Priority: 4 low 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_0] Valgrind log validation failed
[pmdk_thread_0] pmem2_future/TEST0: SETUP        (short/debug/pmemcheck/page)
[pmdk_thread_0] pmem2_future/TEST0:  [92mPASS [0m                         [00.293 s]
[pmdk_thread_0] pmem2_future/TEST1: SETUP        (short/debug/pmemcheck/cacheline)
[pmdk_thread_0] pmem2_future/TEST1:  [92mPASS [0m                         [00.303 s]
[pmdk_thread_0] pmem2_future/TEST1: SETUP        (short/debug/pmemcheck/byte)
[pmdk_thread_0] Last 0 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_0/src/test/pmem2_future/err1.log below (whole file has 0 lines):
[pmdk_thread_0] Last 23 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_0/src/test/pmem2_future/pmemcheck1.log below (whole file has 23 lines):
[pmdk_thread_0] ==31972== pmemcheck-1.0, a simple persistent store checker
[pmdk_thread_0] ==31972== Copyright (c) 2014-2020, Intel Corporation
[pmdk_thread_0] ==31972== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
[pmdk_thread_0] ==31972== Command: /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_0/src/test/pmem2_future/pmem2_future test_pmem2_future_mover /mnt/pmem0/pmem2_future_1/testfile 4096
[pmdk_thread_0] ==31972== Parent PID: 29072
[pmdk_thread_0] ==31972== 
[pmdk_thread_0] ==31972== 
[pmdk_thread_0] ==31972== Number of stores not made persistent: 1
[pmdk_thread_0] ==31972== Stores not made persistent properly:
[pmdk_thread_0] ==31972== [0]    at 0x4D1CF27: memmove_mov_avx_noflush (avxintrin.h:916)
[pmdk_thread_0] ==31972==    by 0x4C465DC: pmem_memmove_nodrain_eadr (init.c:102)
[pmdk_thread_0] ==31972==    by 0x4C3B5A3: pmem2_memmove_eadr (persist.c:528)
[pmdk_thread_0] ==31972==    by 0x4C37FB2: sync_operation_start (mover.c:126)
[pmdk_thread_0] ==31972==    by 0x4C37673: vdm_operation_impl (vdm.h:162)
[pmdk_thread_0] ==31972==    by 0x4C37347: future_poll (future.h:280)
[pmdk_thread_0] ==31972==    by 0x4C37496: async_chain_impl (future.h:352)
[pmdk_thread_0] ==31972==    by 0x40240D: future_poll (future.h:280)
[pmdk_thread_0] ==31972==    by 0x402813: test_pmem2_future_mover (pmem2_future.c:65)
[pmdk_thread_0] ==31972==    by 0x40257D: TEST_CASE_PROCESS (unittest.h:700)
[pmdk_thread_0] ==31972==    by 0x402B6A: main (pmem2_future.c:135)
[pmdk_thread_0] ==31972==         Address: 0x7800000        size: 4096        state: DIRTY
[pmdk_thread_0] ==31972== Total memory not made persistent: 4096
[pmdk_thread_0] ==31972== ERROR SUMMARY: 1 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 modified the milestones: 1.14, 1.13 on GHA May 15, 2023
@grom72 grom72 added QA: CI .github/ and utils/ related to automated testing Priority: 4 low labels May 15, 2023
grom72 added a commit to grom72/pmdk that referenced this issue May 22, 2023
… fixed

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 22, 2023
… fixed

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
@grom72 grom72 added the CI: Disabled Temporarily disabled from testing label May 22, 2023
janekmi added a commit that referenced this issue May 22, 2023
test: disable pmem2_future/TEST[0-3]: w/ pmemcheck until #5596 is fixed
@grom72 grom72 modified the milestones: 1.13 on GHA, 1.14, 1.15 May 25, 2023
@janekmi janekmi modified the milestones: 2.0.1, 2.0.2 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 Priority: 4 low 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

4 participants