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

Sporadic: pmem2_integration/TEST39 (medium/debug/pmemcheck/byte) #5634

Closed
janekmi opened this issue May 12, 2023 · 1 comment
Closed

Sporadic: pmem2_integration/TEST39 (medium/debug/pmemcheck/byte) #5634

janekmi opened this issue May 12, 2023 · 1 comment
Labels
libpmem2 libpmem- and libpmem2-related QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK
Milestone

Comments

@janekmi
Copy link
Contributor

janekmi commented May 12, 2023

ISSUE: Sporadic: pmem2_integration -u 39 --force-enable pmemcheck

Environment Information

  • PMDK package version(s): stable-1.13 ~aea64b28f957be8ddb707101b2aa6443ff597e3a
  • OS(es) version(s): Rocky 8.6
  • ndctl version(s): 71.1
  • kernel version(s): 4.18.0-425.3.1.el8.x86_64
  • compiler, libraries, packaging and other related tools version(s): TBD

Please provide a reproduction of the bug:

$ ./RUNTESTS.py pmem2_integration -u 39 -g byte --force-enable pmemcheck -b debug
pmem2_integration/TEST39: SETUP (medium/debug/pmemcheck/byte)
Last 16 lines of /home/jmichal/work/pmdk/src/test/pmem2_integration/pmemcheck39.log below (whole file has 16 lines):
==1998050== pmemcheck-1.0, a simple persistent store checker
==1998050== Copyright (c) 2014-2020, Intel Corporation
==1998050== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
==1998050== Command: /home/jmichal/work/pmdk/src/test/pmem2_integration/pmem2_integration test_map_from_existing /tmp/pmem2_integration_39/testfile
==1998050== Parent PID: 1998038
==1998050== 
==1998050== 
==1998050== Number of stores not made persistent: 1
==1998050== Stores not made persistent properly:
==1998050== [0]    at 0x401481A: _dl_fixup (dl-machine.h:239)
==1998050==    by 0x4001C3D: _dl_runtime_resolve_xsave (dl-trampoline.h:126)
==1998050==    by 0x402883: TEST_CASE_PROCESS (unittest.h:700)
==1998050==    by 0x405A7A: main (pmem2_integration.c:1030)
==1998050==     Address: 0x60f0c8       size: 8 state: DIRTY
==1998050== Total memory not made persistent: 8
==1998050== ERROR SUMMARY: 1 errors

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

But it seems that not all users experience this issue: #5605 (review)

Actual behavior:

Valgrind/pmemcheck finds DIRTY bytes.

Expected behavior:

Pass.

Additional information about Priority and Help Requested:

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

@janekmi janekmi added the Type: Bug A previously unknown bug in PMDK label May 12, 2023
@grom72 grom72 added the libpmem2 libpmem- and libpmem2-related label May 12, 2023
@grom72 grom72 added this to the 1.14 milestone May 15, 2023
@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
@grom72 grom72 changed the title Sporadic: pmem2_integration -u 39 --force-enable pmemcheck Sporadic: pmem2_integration/TEST39 (medium/debug/pmemcheck/byte) Jun 7, 2023
@janekmi
Copy link
Contributor Author

janekmi commented Sep 14, 2023

It seems to not reproduce any more. 🎉

@janekmi janekmi closed this as completed Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libpmem2 libpmem- and libpmem2-related QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK
Projects
None yet
Development

No branches or pull requests

2 participants