mesonlsp icon indicating copy to clipboard operation
mesonlsp copied to clipboard

Tests are aborting

Open meator opened this issue 9 months ago • 0 comments

Describe the bug The mesonlsp / wrap-test test is failing with SIGABRT.

full test log: testlog.txt

Relevant snippet from the log (containing several failed execvp() invocations, which are likely the cause of test failure):

=================================== 93/93 ====================================
test:         mesonlsp / wrap-test
start time:   13:36:59
duration:     9.51s
result:       killed by signal 6 SIGABRT
command:      MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=149 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /home/meator/git/mesonlsp/build/tests/integration/wrap-tester /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/libswiftdemangle.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/libswiftdemangle2.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/miniz.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/pango.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/pidgin.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/rubberband.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/rustc-demangle.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/sqlite.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/turtle.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/turtle2.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/turtle3.wrap /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/vorbis.wrap
----------------------------------- stderr -----------------------------------
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:29: Guessed: /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/libswiftdemangle.wrap->libswiftdemangle 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-c,init.defaultBranch=mesonlsp-dummy-branch,init,/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle] 
Initialized empty Git repository in /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle/.git/
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle,remote,add,origin,https://github.com/JCWasmx86/libswiftdemangle] 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle,fetch,--depth,1,origin,e96565e27f95865830626f5d8a081b69cfe5ea11] 
From https://github.com/JCWasmx86/libswiftdemangle
 * branch            e96565e27f95865830626f5d8a081b69cfe5ea11 -> FETCH_HEAD
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle,-c,advice.detachedHead=false,checkout,e96565e27f95865830626f5d8a081b69cfe5ea11,--] 
HEAD is now at e96565e Sugarify output
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle/.git/refs/heads/main exists: 0
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle/.git/refs/heads exists: 1
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle/.git/refs exists: 1
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle/.git exists: 1
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap/libswiftdemangle exists: 1
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle.wrap exists: 1
Checking if /home/meator/git/mesonlsp/build/wrap-tester-out exists: 1
Checking if /home/meator/git/mesonlsp/build exists: 1
Checking if /home/meator/git/mesonlsp exists: 1
Checking if /home/meator/git exists: 1
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: libswiftdemangle2 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-c,advice.detachedHead=false,clone,--depth,1,--branch,main,https://github.com/JCWasmx86/libswiftdemangle,/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle2.wrap/libswiftdemangle2] 
Cloning into '/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle2.wrap/libswiftdemangle2'...
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/libswiftdemangle2.wrap/libswiftdemangle2,pull,origin] 
Already up to date.
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:29: Guessed: /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/rustc-demangle.wrap->rustc-demangle 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [clone,https://github.com/JCWasmx86/rustc-demangle,/home/meator/git/mesonlsp/build/wrap-tester-out/rustc-demangle.wrap/rustc-demangle] 
Cloning into '/home/meator/git/mesonlsp/build/wrap-tester-out/rustc-demangle.wrap/rustc-demangle'...
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/rustc-demangle.wrap/rustc-demangle,submodule,update,--init,--checkout,--recursive] 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/rustc-demangle.wrap/rustc-demangle,pull,origin] 
Already up to date.
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: miniz-3.0.1 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/d04e411048548a03d8e57687f7a0d2ad1c6fa43f2bd85d42cc2d6aa35bf8e33f.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/d04e411048548a03d8e57687f7a0d2ad1c6fa43f2bd85d42cc2d6aa35bf8e33f.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/miniz.wrap/miniz-3.0.1 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:73: Merging /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/packagefiles/miniz into /home/meator/git/mesonlsp/build/wrap-tester-out/miniz.wrap/miniz-3.0.1 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: turtle-1.3.2 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/73bec71483b372facb12100661fa585a738d276c072e85fff75d607e8bb9b3c0.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/73bec71483b372facb12100661fa585a738d276c072e85fff75d607e8bb9b3c0.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/turtle.wrap/turtle-1.3.2 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:73: Merging /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/packagefiles/turtle into /home/meator/git/mesonlsp/build/wrap-tester-out/turtle.wrap/turtle-1.3.2 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: sqlite-amalgamation-3080802 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/b54716b25d76b3d5916843661d42517956aad4a083c0d1ab4bf886b4316e65c8.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/b54716b25d76b3d5916843661d42517956aad4a083c0d1ab4bf886b4316e65c8.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/sqlite.wrap 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/0beb7b9ced177c994350e2bf12ff3933015c685b68a154d7b4cbedc34cab8077.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/0beb7b9ced177c994350e2bf12ff3933015c685b68a154d7b4cbedc34cab8077.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/sqlite.wrap 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: pango-1.50.12 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/c44954b77a5d8da2c0a92c437b91ab9586d61d70c98912b8b9d2151bf79e5310.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/c44954b77a5d8da2c0a92c437b91ab9586d61d70c98912b8b9d2151bf79e5310.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/pango.wrap 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:104: Applying diff: pango-1.50.12/0001-meson-Fix-pangoft2.pc-when-using-freetype-and-fontco.patch 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching git with args [-C,/home/meator/git/mesonlsp/build/wrap-tester-out/pango.wrap/pango-1.50.12,--work-tree,.,apply,--ignore-whitespace,-p1,/home/meator/git/mesonlsp/build/../tests/integration/wrap-test/packagefiles/pango-1.50.12/0001-meson-Fix-pangoft2.pc-when-using-freetype-and-fontco.patch] 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: turtle-21.3.2 
[ WARN ] utils - ../src/libutils/utils.cpp:575: Expected hash '0551f0e5f19bcee5484a2dfeadd4b56f7142f89ed2a1839dd56ed2d594ef1d4c' does not match real hash '96e747159952a002474fb8db8e7a6416dbd6f1ff741c065bd7eef25dbf1ed39e' 
[ INFO ] utils - ../src/libutils/utils.cpp:597: Attempting fallback URL https://github.com/mat007/turtle/releases/download/v1.3.2/turtle-1.3.2.tar.gz for https://github.com/mat007/turtle/releases/download/v1.3.1/turtle-1.3.1.tar.gz 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/73bec71483b372facb12100661fa585a738d276c072e85fff75d607e8bb9b3c0.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/73bec71483b372facb12100661fa585a738d276c072e85fff75d607e8bb9b3c0.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/turtle2.wrap/turtle-21.3.2 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:73: Merging /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/packagefiles/turtle into /home/meator/git/mesonlsp/build/wrap-tester-out/turtle2.wrap/turtle-21.3.2 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: turtle-31.3.2 
[ INFO ] utils - ../src/libutils/utils.cpp:53: Downloading URL https://github.com/mat007/turtle/releases/download/v1.3.2/turtle-1.3.9999999999999.tar.gz to /home/meator/.cache/c++-mesonlsp/downloadCache/22c5031599ca6ea21e24aaf9827cb3c9bf473c59e2627a2a9534c62197e7d83f.cached (Temp: /tmp/3d1bc75600d629d782692fbb3099cfcc3a0e3811604ee75f27d7c2dc7752601c) 
[ INFO ] utils - ../src/libutils/utils.cpp:73: curl_easy_perform: No error 404 
[ INFO ] utils - ../src/libutils/utils.cpp:597: Attempting fallback URL https://github.com/mat007/turtle/releases/download/v1.3.2/turtle-1.3.2.tar.gz for https://github.com/mat007/turtle/releases/download/v1.3.2/turtle-1.3.9999999999999.tar.gz 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/73bec71483b372facb12100661fa585a738d276c072e85fff75d607e8bb9b3c0.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/73bec71483b372facb12100661fa585a738d276c072e85fff75d607e8bb9b3c0.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/turtle3.wrap/turtle-31.3.2 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:73: Merging /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/packagefiles/turtle into /home/meator/git/mesonlsp/build/wrap-tester-out/turtle3.wrap/turtle-31.3.2 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:29: Guessed: /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/pidgin.wrap->pidgin 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching hg with args [clone,https://keep.imfreedom.org/pidgin/pidgin,/home/meator/git/mesonlsp/build/wrap-tester-out/pidgin.wrap/pidgin] 
[ ERROR ] utils - ../src/libutils/utils.cpp:315: Failed to execvp(): 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:29: Guessed: /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/vorbis.wrap->vorbis 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching svn with args [checkout,--non-interactive,--trust-server-cert-failures=unknown-ca,cn-mismatch,expired,not-yet-valid,other,-r,HEAD,https://svn.xiph.org/trunk/vorbis/,/home/meator/git/mesonlsp/build/wrap-tester-out/vorbis.wrap/vorbis] 
[ ERROR ] utils - ../src/libutils/utils.cpp:315: Failed to execvp(): 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: rubberband-2.0.2 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/4c5dab70e256912ef90b61e65b05a444ad661562fc75f7634bd950e90d3230d7.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/4c5dab70e256912ef90b61e65b05a444ad661562fc75f7634bd950e90d3230d7.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/rubberband.wrap 
wrap-tester: ../tests/integration/wrap-tester.cpp:88: void checkVorbis(const std::filesystem::__cxx11::path&): Assertion `std::filesystem::exists(basePath)' failed.
[ INFO ] utils - ../src/libutils/utils.cpp:331: Child process terminated abnormally 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:29: Guessed: /home/meator/git/mesonlsp/build/../tests/integration/wrap-test/vorbis.wrap->vorbis 
[ INFO ] utils - ../src/libutils/utils.cpp:293: Launching svn with args [checkout,--non-interactive,--trust-server-cert-failures=unknown-ca,cn-mismatch,expired,not-yet-valid,other,-r,HEAD,https://svn.xiph.org/trunk/vorbis/,/home/meator/git/mesonlsp/build/wrap-tester-out/vorbis.wrap/vorbis] 
[ ERROR ] utils - ../src/libutils/utils.cpp:315: Failed to execvp(): 
[ INFO ] wrap::Wrap - ../src/libwrap/wrap.cpp:26: Directory according to the wrap file: rubberband-2.0.2 
[ INFO ] utils - ../src/libutils/utils.cpp:580: /home/meator/.cache/c++-mesonlsp/downloadCache/4c5dab70e256912ef90b61e65b05a444ad661562fc75f7634bd950e90d3230d7.cached matches the expected hash 
[ INFO ] utils - ../src/libutils/utils.cpp:120: Extracting /home/meator/.cache/c++-mesonlsp/downloadCache/4c5dab70e256912ef90b61e65b05a444ad661562fc75f7634bd950e90d3230d7.cached to /home/meator/git/mesonlsp/build/wrap-tester-out/rubberband.wrap 
wrap-tester: ../tests/integration/wrap-tester.cpp:88: void checkVorbis(const std::filesystem::__cxx11::path&): Assertion `std::filesystem::exists(basePath)' failed.
==============================================================================

To Reproduce

  1. meson setup build -Dtests=true
  2. meson test -C build

System info

  • OS: Void Linux
  • Version: reproducible on both 4.3.7 and e3bb20acd1ba8bab8772f43a77efa1b1c5e81a27 (current HEAD)

meator avatar Mar 19 '25 13:03 meator