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

Test: pmem2_mem_ext/TEST[1-4]: SETUP (short/debug/pmemcheck/byte/variant: avx512f) fails #4715

Closed
Greg091 opened this issue Apr 2, 2020 · 1 comment
Assignees
Labels
libpmem2 libpmem- and libpmem2-related Priority: 2 high QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK Type: Duplicate The bug was previously reported (please link the original bug)
Milestone

Comments

@Greg091
Copy link

Greg091 commented Apr 2, 2020

ISSUE:

Environment Information

  • PMDK package version(s): 1.8-670-g6dee0d9d0
  • OS(es) version(s): Fedora31
  • ndctl version(s): 67
  • kernel version(s): 5.3.15-300.fc31.x86_64

Please provide a reproduction of the bug:

./RUNTESTS.py pmem2_mem_ext --force-enable pmemcheck
pmem2_mem_ext/TEST3: SETUP      (short/debug/pmemcheck/page/variant: sse2)
pmem2_mem_ext/TEST3: PASS                       [04.652 s]
pmem2_mem_ext/TEST3: SETUP      (short/debug/pmemcheck/page/variant: avx)
pmem2_mem_ext/TEST3: PASS                       [04.646 s]
pmem2_mem_ext/TEST3: SETUP      (short/debug/pmemcheck/page/variant: avx512f)
Last 30 lines of /home/jenkins/greg/pmdk/src/test/pmem2_mem_ext/pmem2_3.log below (whole file has 48 lines):
<libpmem2>: <3> [init.c:235 use_avx_memcpy_memset] PMEM_AVX not set or not == 1
<libpmem2>: <4> [cpu.c:145 is_cpu_avx512f_present] AVX512f not supported
<libpmem2>: <3> [init.c:399 pmem2_arch_init] using clflush
<libpmem2>: <3> [init.c:408 pmem2_arch_init] using movnt SSE2
<libpmem2>: <3> [map_posix.c:302 pmem2_map] cfg 0x402fa90 src 0x402fac0 map_ptr 0x1ffeffff58
<libpmem2>: <3> [source_posix.c:132 pmem2_source_alignment] fd 8
<libpmem2>: <4> [source_posix.c:168 pmem2_source_alignment] alignment 4096
<libpmem2>: <3> [source_posix.c:84 pmem2_source_size] fd 8
<libpmem2>: <4> [source_posix.c:121 pmem2_source_size] file length 4194304
<libpmem2>: <4> [map_posix.c:172 map_reserve] system choice 0x4f76000
<libpmem2>: <4> [map_posix.c:181 map_reserve] hint 0x4f76000
<libpmem2>: <15> [map_posix.c:234 file_map] reserve 0x4f76000 len 4194304 proto 3 flags 10 fd 8 offset 0 map_sync 0x1ffefffe37
<libpmem2>: <4> [map_posix.c:267 file_map] mmap with MAP_SYNC not supported
<libpmem2>: <3> [map_posix.c:419 pmem2_map] mapped at 0x4f76000
<libpmem2>: <15> [auto_flush_linux.c:140 pmem2_auto_flush]
<libpmem2>: <15> [auto_flush_linux.c:175 pmem2_auto_flush] Start traversing region: /sys/bus/nd/devices/region0
<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>: <15> [auto_flush_linux.c:64 check_cpu_cache] detected persistent_domain: memory_controller
<libpmem2>: <15> [auto_flush_linux.c:69 check_cpu_cache] cpu_cache not in persistent_domain: /sys/bus/nd/devices/region0/persistence_domain
<libpmem2>: <6> [ravl.c:392 ravl_emplace]
<libpmem2>: <3> [map.c:38 pmem2_map_get_size] map 0x4031720
<libpmem2>: <3> [map.c:27 pmem2_map_get_address] map 0x4031720
<libpmem2>: <15> [memcpy_nt_sse2.h:256 memmove_movnt_sse2_clflush] dest 0x4f76400 src 0x4f76000 len 1024
<libpmem2>: <15> [persist.c:128 pmem2_log_flush] addr 0x4f76400 len 1024
<libpmem2>: <6> [ravl.c:523 ravl_find]
<libpmem2>: <3> [map_posix.c:477 pmem2_unmap] map_ptr 0x1ffeffff58
<libpmem2>: <6> [ravl.c:523 ravl_find]
<libpmem2>: <6> [ravl.c:544 ravl_remove]
<libpmem2>: <3> [libpmem2.c:44 libpmem2_fini]
Last 9 lines of /home/jenkins/greg/pmdk/src/test/pmem2_mem_ext/pmemcheck3.log below (whole file has 9 lines):
==8703== pmemcheck-1.0, a simple persistent store checker
==8703== Copyright (c) 2014-2016, Intel Corporation
==8703== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==8703== Command: /home/jenkins/greg/pmdk/src/test/pmem2_mem_ext/pmem2_mem_ext /tmp/pmem2_mem_ext_3/testfile C 1024 0
==8703== Parent PID: 8437
==8703==
==8703==
==8703== Number of stores not made persistent: 0
==8703== ERROR SUMMARY: 0 errors
pmem2_mem_ext/TEST3: FAILED     (short/debug/pmemcheck/page/variant: avx512f)
Pattern: memmove_movnt_avx512f occurrs 0 times. One expected. Type: C Flag id: 0

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

Actual behavior:

Tests fail.

Expected behavior:

Tests should pass.

Details

Tests fail only with enabled valgrind.
pmemcheck2.log
pmemcheck3.log
pmemcheck4.log
pmem2_0.log
pmem2_1.log
pmem2_2.log
pmem2_3.log
pmem2_4.log
pmemcheck0.log
pmemcheck1.log

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)

@Greg091 Greg091 added the Type: Bug A previously unknown bug in PMDK label Apr 2, 2020
@Greg091 Greg091 added this to the 1.9 milestone Apr 2, 2020
@Greg091 Greg091 added the libpmem2 libpmem- and libpmem2-related label Apr 2, 2020
@pbalcer pbalcer removed this from the 1.9 milestone Aug 20, 2020
@grom72 grom72 added this to the 1.13 on GHA milestone May 15, 2023
@grom72 grom72 added QA: CI .github/ and utils/ related to automated testing Type: Duplicate The bug was previously reported (please link the original bug) labels May 15, 2023
@grom72
Copy link
Contributor

grom72 commented May 15, 2023

Closed as it will be fixed under #5640.

@grom72 grom72 closed this as completed May 15, 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 Priority: 2 high QA: CI .github/ and utils/ related to automated testing Type: Bug A previously unknown bug in PMDK Type: Duplicate The bug was previously reported (please link the original bug)
Projects
None yet
Development

No branches or pull requests

4 participants