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_map/TEST[0,1,4,5,11,12,13,14,15,16,24,25,26,27,29,30]: failed (short/release/memcheck) #5600

Open
szadam opened this issue Apr 21, 2023 · 0 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
Milestone

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_map/TEST0:  [91mFAILED [0m        (short/release/memcheck/byte)
[pmdk_thread_1] Valgrind log validation failed
[pmdk_thread_1] pmem2_map/TEST0: SETUP        (short/release/memcheck/page)
[pmdk_thread_1] Last 3 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_map/out0.log below (whole file has 3 lines):
[pmdk_thread_1] pmem2_map/TEST0: START: pmem2_map
[pmdk_thread_1]  /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_map/pmem2_map test_map_rdrw_file /tmp/1/pmem2_map_0/testfile
[pmdk_thread_1] pmem2_map/TEST0: DONE
[pmdk_thread_1] Last 3 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_map/trace0.log below (whole file has 3 lines):
[pmdk_thread_1] {pmem2_map.c:925 main} pmem2_map/TEST0: START: pmem2_map
[pmdk_thread_1]  /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_map/pmem2_map test_map_rdrw_file /tmp/1/pmem2_map_0/testfile
[pmdk_thread_1] {pmem2_map.c:927 main} pmem2_map/TEST0: DONE
[pmdk_thread_1] Last 30 lines of /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_map/memcheck0.log below (whole file has 30 lines):
[pmdk_thread_1] ==42155== Memcheck, a memory error detector
[pmdk_thread_1] ==42155== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
[pmdk_thread_1] ==42155== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
[pmdk_thread_1] ==42155== Command: /home/jenkins-slave/workspace/PMDK-unittests-linux-py/pmdk_1/src/test/pmem2_map/pmem2_map test_map_rdrw_file /tmp/1/pmem2_map_0/testfile
[pmdk_thread_1] ==42155== Parent PID: 60875
[pmdk_thread_1] ==42155== 
[pmdk_thread_1] ==42155== 
[pmdk_thread_1] ==42155== HEAP SUMMARY:
[pmdk_thread_1] ==42155==     in use at exit: 256 bytes in 4 blocks
[pmdk_thread_1] ==42155==   total heap usage: 4,602 allocs, 4,598 frees, 6,437,045 bytes allocated
[pmdk_thread_1] ==42155== 
[pmdk_thread_1] ==42155== 144 (64 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 4 of 4
[pmdk_thread_1] ==42155==    at 0x4C32735: malloc (vg_replace_malloc.c:393)
[pmdk_thread_1] ==42155==    by 0x455484: _Malloc (alloc.c:72)
[pmdk_thread_1] ==42155==    by 0x410997: pmem2_malloc (pmem2_utils.c:21)
[pmdk_thread_1] ==42155==    by 0x40A8A4: mover_new (mover.c:183)
[pmdk_thread_1] ==42155==    by 0x40DED2: pmem2_map_new (map_posix.c:523)
[pmdk_thread_1] ==42155==    by 0x404F63: test_map_rdrw_file (pmem2_map.c:170)
[pmdk_thread_1] ==42155==    by 0x404AA4: TEST_CASE_PROCESS (unittest.h:700)
[pmdk_thread_1] ==42155==    by 0x406FFC: main (pmem2_map.c:926)
[pmdk_thread_1] ==42155== 
[pmdk_thread_1] ==42155== LEAK SUMMARY:
[pmdk_thread_1] ==42155==    definitely lost: 64 bytes in 1 blocks
[pmdk_thread_1] ==42155==    indirectly lost: 80 bytes in 1 blocks
[pmdk_thread_1] ==42155==      possibly lost: 0 bytes in 0 blocks
[pmdk_thread_1] ==42155==    still reachable: 0 bytes in 0 blocks
[pmdk_thread_1] ==42155==         suppressed: 112 bytes in 2 blocks
[pmdk_thread_1] ==42155== 
[pmdk_thread_1] ==42155== For lists of detected and suppressed errors, rerun with: -s
[pmdk_thread_1] ==42155== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

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

always

Actual behavior:

Tests failed.

Expected behavior:

Tests should pass.

@szadam szadam added the Type: Bug A previously unknown bug in PMDK label Apr 21, 2023
@lukaszstolarczuk lukaszstolarczuk changed the title pmem2_map/TEST[[0,1,4,5,11,12,13,14,15,16,24,25,26,27,29,30]: failed (short/release/memcheck) pmem2_map/TEST[0,1,4,5,11,12,13,14,15,16,24,25,26,27,29,30]: failed (short/release/memcheck) Apr 24, 2023
@janekmi janekmi added libpmem2 libpmem- and libpmem2-related Exposure: Medium miniasync async related issue labels Apr 24, 2023
@grom72 grom72 modified the milestones: 1.14, 1.13 on GHA May 15, 2023
grom72 added a commit to grom72/pmdk that referenced this issue May 22, 2023
Disable pmem2_mappmem2_map
/TEST[0,1,4,5,11,12,13,14,15,16,24,25,26,27,29,30]  with memcheck
until pmem#5600 is fixed.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
@grom72 grom72 self-assigned this 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
Disable pmem2_mappmem2_map
/TEST[0,1,4,5,11,12,13,14,15,16,24,25,26,27,29,30]  with memcheck
until pmem#5600 is fixed.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
grom72 added a commit to grom72/pmdk that referenced this issue May 22, 2023
Disable pmem2_mappmem2_map
/TEST[0,1,4,5,11,12,13,14,15,16,24,25,26,27,29,30]  with memcheck
until pmem#5600 is fixed.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
janekmi added a commit that referenced this issue May 22, 2023
test: disable pmem2_map tests with memcheck until #5600 is fixed
@grom72 grom72 removed their assignment May 23, 2023
@grom72 grom72 modified the milestones: 1.13 on GHA, 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
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
Projects
None yet
Development

No branches or pull requests

3 participants