Closed lukaszstolarczuk closed 5 years ago
Currently, there is another problem with this test:
util_badblock/TEST1: SETUP (check/pmem/debug/memcheck)
util_badblock/TEST1 crashed (signal 6). err1.log below.
{util_badblock.c:63 do_list} util_badblock/TEST1: Error: os_badblocks_get: No such file or directory
memcheck1.log below.
util_badblock/TEST1 memcheck1.log ==32766== Memcheck, a memory error detector
util_badblock/TEST1 memcheck1.log ==32766== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
util_badblock/TEST1 memcheck1.log ==32766== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
util_badblock/TEST1 memcheck1.log ==32766== Command: ./util_badblock /dev/dax1.0 l
util_badblock/TEST1 memcheck1.log ==32766== Parent PID: 32728
util_badblock/TEST1 memcheck1.log ==32766==
util_badblock/TEST1 memcheck1.log ==32766==
util_badblock/TEST1 memcheck1.log ==32766== HEAP SUMMARY:
util_badblock/TEST1 memcheck1.log ==32766== in use at exit: 11,255 bytes in 37 blocks
util_badblock/TEST1 memcheck1.log ==32766== total heap usage: 2,625 allocs, 2,588 frees, 1,390,797 bytes allocated
util_badblock/TEST1 memcheck1.log ==32766==
util_badblock/TEST1 memcheck1.log ==32766== LEAK SUMMARY:
util_badblock/TEST1 memcheck1.log ==32766== definitely lost: 0 bytes in 0 blocks
util_badblock/TEST1 memcheck1.log ==32766== indirectly lost: 0 bytes in 0 blocks
util_badblock/TEST1 memcheck1.log ==32766== possibly lost: 0 bytes in 0 blocks
util_badblock/TEST1 memcheck1.log ==32766== still reachable: 11,255 bytes in 37 blocks
util_badblock/TEST1 memcheck1.log ==32766== suppressed: 0 bytes in 0 blocks
util_badblock/TEST1 memcheck1.log ==32766== Reachable blocks (those to which a pointer was found) are not shown.
util_badblock/TEST1 memcheck1.log ==32766== To see them, rerun with: --leak-check=full --show-leak-kinds=all
util_badblock/TEST1 memcheck1.log ==32766==
util_badblock/TEST1 memcheck1.log ==32766== For counts of detected and suppressed errors, rerun with: -v
util_badblock/TEST1 memcheck1.log ==32766== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
trace1.log below.
util_badblock/TEST1 trace1.log {util_badblock.c:133 main} util_badblock/TEST1: START: util_badblock
util_badblock/TEST1 trace1.log ./util_badblock /dev/dax1.0 l
util_badblock/TEST1 trace1.log {util_badblock.c:63 do_list} util_badblock/TEST1: Error: os_badblocks_get: No such file or directory
pmem1.log below.
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:236 out_init] pid 32766: program: /home/jenkins/workspace/pmdk_all_ubuntu_memcheck/src/test/util_badblock/util_badblock
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:238 out_init] libpmem version 1.1
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:242 out_init] src version: 1.5.1-rc3
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:250 out_init] compiled with support for Valgrind pmemcheck
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:255 out_init] compiled with support for Valgrind helgrind
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:260 out_init] compiled with support for Valgrind memcheck
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:265 out_init] compiled with support for Valgrind drd
util_badblock/TEST1 pmem1.log <libpmem>: <1> [out.c:270 out_init] compiled with support for shutdown state
util_badblock/TEST1 pmem1.log <libpmem>: <3> [mmap.c:66 util_mmap_init]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [libpmem.c:56 libpmem_init]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [pmem.c:719 pmem_init]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [init.c:419 pmem_init_funcs]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [init.c:368 pmem_cpuinfo_to_funcs]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [init.c:372 pmem_cpuinfo_to_funcs] clflush supported
util_badblock/TEST1 pmem1.log <libpmem>: <3> [pmem.c:216 pmem_has_auto_flush]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [os_auto_flush_linux.c:114 check_domain_in_region] region_path: /sys/bus/nd/devices/region2
util_badblock/TEST1 pmem1.log <libpmem>: <3> [init.c:472 pmem_init_funcs] Flushing CPU cache
util_badblock/TEST1 pmem1.log <libpmem>: <3> [init.c:487 pmem_init_funcs] using clflush
util_badblock/TEST1 pmem1.log <libpmem>: <3> [init.c:501 pmem_init_funcs] using movnt SSE2
util_badblock/TEST1 pmem1.log <libpmem>: <3> [pmem_posix.c:107 pmem_os_init]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [libpmem.c:69 libpmem_fini]
util_badblock/TEST1 pmem1.log <libpmem>: <3> [mmap.c:100 util_mmap_fini]
RUNTESTS: stopping: util_badblock/TEST1 failed, TEST=check FS=any BUILD=debug
1 tests failed:
util_badblock/TEST1
The comment above is invalid. Verified on: 1.5.1-272-gc1f8a4a89
the kernel was too old for this ndctl version - changelog for 1.6 (rc1) describe this information in more details
Environment Information
Please provide a reproduction of the bug:
./RUNTESTS util_badblock/ -s TEST1 -m force-enable
How often bug is revealed: (always, often, rare):
always
Actual behavior:
memcheck1.log
Expected behavior:
test passes