pmem / pmdk

Persistent Memory Development Kit
https://pmem.io
Other
1.34k stars 510 forks source link

pmem2_vm_reservation/TEST[11,22,32]: FAILED (short/release/pmemcheck) devdax #5592

Open szadam opened 1 year ago

szadam commented 1 year ago

ISSUE:

Environment Information

Please provide a reproduction of the bug:


pmem2_vm_reservation/TEST32: [91mFAILED=[0m (short/release/pmemcheck/byte/devdax)
[pmdk_thread_1]
[pmdk_thread_1] Error 134
[pmdk_thread_1] pmem2_vm_reservation/TEST32: SETUP
(short/release/pmemcheck/page/devdax)
[pmdk_thread_1] Last 2 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2 _vm_reservation/out32.log below (whole file has 2 lines):
[pmdk_thread_1] pmem2_vm_reservation/TEST32: START: pmem2_vm_reservation
[pmdk_thread_1]
/home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2
_vm_reservation/pmem2_vm_reservation test_vm_reserv_async_map_unmap_multiple_files/dev/dax0.8 4225761280
32 1000
[pmdk_thread_1] Last 1 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2 _vm_reservation/err32.log below (whole file has 1 lines):
[pmdk_thread_1] {pmem2_vm_reservation.c:1029 test_vm_reserv_async_map_unmap_multiple_files} pmem2 _vm_reservation/TEST32: Error: assertion failure: ret (Oxffffffffffffffea) == 0 (0x0)
[pmdk_thread_1] Last 9 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2 _vm_reservation/pmemcheck32.log below (whole file has 9 lines):
[pmdk_thread_1] ==64985== pmemcheck-1.0, a simple persistent store checker
[pmdk_thread_1]==64985== Copyright (c) 2014-2020, Intel Corporation
[pmdk_thread_1]==64985== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
[pmdk_thread_1]==64985== Command: /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_ 1/src/test/pmem2_vm_reservation/pmem2_vm_reservation test_vm_reserv_async_map_unmap_multiple_files /dev/dax0.8 4225761280 32 1000
[pmdk_thread_1]==64985== Parent PID: 29074
[pmdk_thread_1]==64985==
[pmdk_thread_1]==64985==
[pmdk_thread_1]==64985== Number of stores not made persistent: 0
[pmdk_thread_1] ==64985== ERROR SUMMARY: 0 errors
[pmdk_thread_1] Last 22 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2 _vm_reservation/pmem2_32.log below (whole file has 22 lines):
[pmdk_thread_1] <libpmem2>: <1> [out.c:209 out_init] pid 64985: program: /home/jenkins-slave/workspace/PMDK- unittests-linux-py/pmdk_1/src/test/pmem2_vm_reservation/pmem2_vm_reservation
[pmdk_thread_1] <libpmem2>: <1> [out.c:211 out_init] libpmem2 version 0.0
[pmdk_thread_1] <libpmem2>: <1> [out.c:215 out_init] src version: 1.12.1+git172.g50693c2c2
[pmdk_thread_1] <libpmem2>: <1> [out.c:223 out_init] compiled with support for Valgrind pmemcheck [pmdk_thread_1] <libpmem2>: <1> [out.c:228 out_init] compiled with support for Valgrind helgrind [pmdk_thread_1] <libpmem2>: <1> [out.c:233 out_init] compiled with support for Valgrind memcheck [pmdk_thread_1] <libpmem2>: <1> [out.c:238 out_init] compiled with support for Valgrind drd [pmdk_thread_1] <libpmem2>: <1> [out.c:243 out_init] compiled with support for shutdown state [pmdk_thread_1] <libpmem2>: <1> [out.c:248 out_init] compiled with libndctl 63+
[pmdk_thread_1] <libpmem2>: <3> [libpmem2.c:29 libpmem2_init]
[pmdk_thread_1] <libpmem2>: <3> [source_posix.c:143 pmem2_source_alignment] type 2
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:137 pmem2_region_namespace] ctx 0x424e580 src Ox422b3b0 pregion (nil) pnamespace Ox1ffeffede8
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname dax0.10
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname dax0.2
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname dax0.12
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname
dax0.4
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname dax0.14
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname dax0.6
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname dax0.16
[pmdk_thread_1] <libpmem2>: <3> [region_namespace_ndctl.c:28 ndctl_match_devdax] st_rdev 64765 devname
dax0.8
[pmdk_thread_1] <libpmem2>: <1> [vm_reservation_posix.c:81 vm_reservation_reserve_memory] mmap MAP_ANONYMOUS: Invalid argument
[pmdk_thread_1] <libpmem2>: <3> [libpmem2.c:44 libpmem2_fini]
[pmdk_thread_1] Last 3 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2 _vm_reservation/trace32.log below (whole file has 3 lines):
[pmdk_thread_1] {pmem2_vm_reservation.c:2015 main} pmem2_vm_reservation/TEST32: START: pmem2 vm_reservation
[pmdk_thread_1] /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2
_vm_reservation/pmem2_vm_reservation test_vm_reserv_async_map_unmap_multiple_files/dev/dax0.8 4225761280
32 1000
[pmdk_thread_1] {pmem2_vm_reservation.c:1029 test_vm_reserv_async_map_unmap_multiple_files} pmem2 _vm_reservation/TEST32: Error: assertion failure: ret (Oxffffffffffffffea) == 0 (0x0)

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

always

Actual behavior:

Tests failed.

Expected behavior:

Tests should pass.

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 commented 1 year ago

Try to reproduce before 1.13. Move to 1.14 when confirmed.