Skip to content
New issue

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

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

Already on GitHub? # to your account

ex_libpmem2/TEST5: failed pmemcheck #5641

Open
grom72 opened this issue May 15, 2023 · 0 comments
Open

ex_libpmem2/TEST5: failed pmemcheck #5641

grom72 opened this issue May 15, 2023 · 0 comments
Assignees
Labels
CI: Disabled Temporarily disabled from testing examples src/examples and src/test/ex_* libpmem2 libpmem- and libpmem2-related Priority: 3 medium QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK
Milestone

Comments

@grom72
Copy link
Contributor

grom72 commented May 15, 2023

ISSUE: ex_libpmem2/TEST5: failed under valgrind (self-hosted, rhel, RUNTESTS.py --force-enable pmemcheck)

Environment Information

  • PMDK package version(s): 37292d4
  • OS(es) version(s): Rocky Linux 9.1 (Blue Onyx)
  • ndctl version(s): 71.1
  • kernel version(s): 5.14.0-162.6.1.el9_1.x86_64
  • compiler, libraries, packaging and other related tools version(s):

Please provide a reproduction of the bug:

ex_libpmem2/TEST5: failed under valgrind (self-hosted, rhel, RUNTESTS.py --force-enable pmemcheck)
with error message:

Number of stores not made persistent: 1

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

Actual behavior:

ex_libpmem2/TEST5: SETUP	(medium/debug/pmemcheck/page)
Last 16 lines of /home/test-user/actions-runner/_work/pmdk/pmdk/src/test/ex_libpmem2/pmemcheck5.log below (whole file has 16 lines):
==1321235== pmemcheck-1.0, a simple persistent store checker
==1321235== Copyright (c) 2014-2020, Intel Corporation
==1321235== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==1321235== Command: /home/test-user/actions-runner/_work/pmdk/pmdk/src/examples/libpmem2/unsafe_shutdown/unsafe_shutdown read /dev/shm/ex_libpmem2_5/testfile0
==1321235== Parent PID: 1320522
==1321235== 
==1321235== 
==1321235== Number of stores not made persistent: 1
==1321235== Stores not made persistent properly:
==1321235== [0]    at 0x40146F: pool_clear_flag (unsafe_shutdown.c:284)
==1321235==    by 0x401841: pool_disarm (unsafe_shutdown.c:423)
==1321235==    by 0x4018D9: pool_access_drop (unsafe_shutdown.c:453)
==1321235==    by 0x401D9B: main (unsafe_shutdown.c:667)
==1321235== 	Address: 0x7c00010	size: 8	state: DIRTY
==1321235== Total memory not made persistent: 8
==1321235== ERROR SUMMARY: 1 errors
Last 30 lines of /home/test-user/actions-runner/_work/pmdk/pmdk/src/test/ex_libpmem2/pmem2_5.log below (whole file has 44 lines):
<libpmem2>: <3> [init.c:272 use_avx_memcpy_memset] avx supported
<libpmem2>: <3> [init.c:280 use_avx_memcpy_memset] PMEM_AVX enabled
<libpmem2>: <3> [init.c:586 pmem2_arch_init] using clflush
<libpmem2>: <3> [init.c:595 pmem2_arch_init] using movnt AVX
<libpmem2>: <3> [map_posix.c:293 pmem2_map_new] cfg 0x42329d0 src 0x42329a0 map_ptr 0x4230980
<libpmem2>: <3> [source_posix.c:143 pmem2_source_alignment] type 2
<libpmem2>: <3> [source_posix.c:92 pmem2_source_size] type 2
<libpmem2>: <3> [map_posix.c:477 pmem2_map_new] mapped at 0x7c00000
<libpmem2>: <3> [auto_flush_linux.c:86 check_domain_in_region] region_path: /sys/bus/nd/devices/region0
<libpmem2>: <3> [auto_flush_linux.c:30 check_cpu_cache] domain_path: /sys/bus/nd/devices/region0/persistence_domain
<libpmem2>: <3> [map_posix.c:522 pmem2_map_new] using libpmem2 default async mover
<libpmem2>: <3> [mover.c:181 mover_new] map 0x4238e40, vdm 0x1ffefffa58
<libpmem2>: <3> [map.c:32 pmem2_map_get_address] map 0x4238e40
<libpmem2>: <3> [usc_ndctl.c:25 pmem2_source_device_usc] type 2, uid 0x1ffefffb00
<libpmem2>: <3> [region_namespace_ndctl.c:137 pmem2_region_namespace] ctx 0x4233500 src 0x42329a0 pregion 0x1ffefff870 pnamespace (nil)
<libpmem2>: <3> [region_namespace_ndctl.c:66 ndctl_match_fsdax] st_dev 22 devname pmem1
<libpmem2>: <3> [region_namespace_ndctl.c:66 ndctl_match_fsdax] st_dev 22 devname pmem1.2
<libpmem2>: <3> [region_namespace_ndctl.c:66 ndctl_match_fsdax] st_dev 22 devname 
<libpmem2>: <3> [region_namespace_ndctl.c:66 ndctl_match_fsdax] st_dev 22 devname 
<libpmem2>: <1> [usc_ndctl.c:55 pmem2_source_device_usc] Unsafe shutdown count is not supported for this source
<libpmem2>: <3> [map.c:44 pmem2_map_get_size] map 0x4238e40
<libpmem2>: <3> [deep_flush.c:21 pmem2_deep_flush] map 0x4238e40 ptr 0x7c00010 size 8
<libpmem2>: <3> [persist.c:301 pmem2_deep_flush_page] map 0x4238e40 ptr 0x7c00010 size 8
<libpmem2>: <3> [map.c:44 pmem2_map_get_size] map 0x4238e40
<libpmem2>: <3> [deep_flush.c:21 pmem2_deep_flush] map 0x4238e40 ptr 0x7c00000 size 1048576
<libpmem2>: <3> [persist.c:301 pmem2_deep_flush_page] map 0x4238e40 ptr 0x7c00000 size 1048576
<libpmem2>: <3> [deep_flush.c:21 pmem2_deep_flush] map 0x4238e40 ptr 0x7c00010 size 8
<libpmem2>: <3> [persist.c:301 pmem2_deep_flush_page] map 0x4238e40 ptr 0x7c00010 size 8
<libpmem2>: <3> [map_posix.c:580 pmem2_map_delete] map_ptr 0x4230980
<libpmem2>: <3> [libpmem2.c:44 libpmem2_fini] 
Last 2 lines of /home/test-user/actions-runner/_work/pmdk/pmdk/src/test/ex_libpmem2/out5.log below (whole file has 2 lines):
pmem2_source_device_usc: Unsafe shutdown count is not supported for this source
foobar
ex_libpmem2/TEST5: FAILED	(medium/debug/pmemcheck/page)
Valgrind log validation failed
ex_libpmem2/TEST5: FAILED	(medium/debug/pmemcheck/page)
Valgrind log validation failed
ex_libpmem2/TEST5: SETUP	(medium/debug/pmemcheck/cacheline)
ex_libpmem2/TEST5: PASS 			[00.634 s]
ex_libpmem2/TEST5: SETUP	(medium/release/pmemcheck/byte)
ex_libpmem2/TEST5: PASS 			[00.609 s]
ex_libpmem2/TEST5: SETUP	(medium/release/pmemcheck/page)
Last 16 lines of /home/test-user/actions-runner/_work/pmdk/pmdk/src/test/ex_libpmem2/pmemcheck5.log below (whole file has 16 lines):
==132[125](https://github.com/pmem/pmdk/actions/runs/4969298952/jobs/8892382347#step:6:126)1== pmemcheck-1.0, a simple persistent store checker
==1321251== Copyright (c) 2014-2020, Intel Corporation
==1321251== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==1321251== Command: /home/test-user/actions-runner/_work/pmdk/pmdk/src/examples/libpmem2/unsafe_shutdown/unsafe_shutdown read /dev/shm/ex_libpmem2_5/testfile0
==1321251== Parent PID: 1320522
==1321251== 
==1321251== 
==1321251== Number of stores not made persistent: 1
==1321251== Stores not made persistent properly:
==1321251== [0]    at 0x40146F: pool_clear_flag (unsafe_shutdown.c:284)
==1321251==    by 0x401841: pool_disarm (unsafe_shutdown.c:423)
==1321251==    by 0x4018D9: pool_access_drop (unsafe_shutdown.c:453)
==1321251==    by 0x401D9B: main (unsafe_shutdown.c:667)
==1321251== 	Address: 0x7c00010	size: 8	state: DIRTY
==1321251== Total memory not made persistent: 8
==1321251== ERROR SUMMARY: 1 errors
Last 2 lines of /home/test-user/actions-runner/_work/pmdk/pmdk/src/test/ex_libpmem2/out5.log below (whole file has 2 lines):
pmem2_source_device_usc: Unsafe shutdown count is not supported for this source
foobar
ex_libpmem2/TEST5: FAILED	(medium/release/pmemcheck/page)
Valgrind log validation failed

Expected behavior:

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 grom72 added Type: Bug A previously unknown bug in PMDK libpmem2 libpmem- and libpmem2-related examples src/examples and src/test/ex_* labels May 15, 2023
@grom72 grom72 added this to the 1.13 on GHA milestone May 15, 2023
@grom72 grom72 modified the milestones: 1.13 on GHA, 1.14 May 15, 2023
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 16, 2023
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
@grom72 grom72 added the CI: Disabled Temporarily disabled from testing label May 17, 2023
grom72 added a commit that referenced this issue May 17, 2023
test: disable test due to #5641 (ex_libpmem2/TEST5)
@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 modified the milestones: 2.0.1, 2.0.2 Nov 23, 2023
@janekmi janekmi modified the milestones: 2.1.0, 2.x Feb 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
CI: Disabled Temporarily disabled from testing examples src/examples and src/test/ex_* libpmem2 libpmem- and libpmem2-related Priority: 3 medium 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