[PATCH] D112759: [llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 15 13:01:36 PST 2021
vitalybuka added a comment.
I have onle line this
[1/2] Running the LLVM regression tests
FAIL: LLVM :: tools/llvm-debuginfod-find/debuginfod.test (15361 of 46561)
******************** TEST 'LLVM :: tools/llvm-debuginfod-find/debuginfod.test' FAILED ********************
Script:
--
: 'RUN: at line 2'; rm -rf /usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp
: 'RUN: at line 3'; mkdir /usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp
: 'RUN: at line 5'; DEBUGINFOD_CACHE_PATH=/usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp python /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --server-path /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/Inputs --tool-cmd '/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --executable abcdef' | /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/FileCheck /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --check-prefix=EXECUTABLE
: 'RUN: at line 8'; DEBUGINFOD_CACHE_PATH=/usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp python /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --server-path /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/Inputs --tool-cmd '/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --source=/directory/file.c abcdef' | /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/FileCheck /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --check-prefix=SOURCE
: 'RUN: at line 11'; DEBUGINFOD_CACHE_PATH=/usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp python /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --server-path /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/Inputs --tool-cmd '/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --debuginfo abcdef' | /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/FileCheck /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --check-prefix=DEBUGINFO
: 'RUN: at line 21'; DEBUGINFOD_CACHE_PATH=/usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --executable abcdef | /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/FileCheck /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --check-prefix=EXECUTABLE
: 'RUN: at line 23'; DEBUGINFOD_CACHE_PATH=/usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --source=/directory/file.c abcdef | /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/FileCheck /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --check-prefix=SOURCE
: 'RUN: at line 26'; DEBUGINFOD_CACHE_PATH=/usr/local/google/home/vitalybuka/src/llvm.git/out/z/test/tools/llvm-debuginfod-find/Output/debuginfod.test.tmp /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --debuginfo abcdef | /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/FileCheck /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test --check-prefix=DEBUGINFO
--
Exit Code: 1
Command Output (stderr):
--
127.0.0.1 - - [15/Dec/2021 12:58:47] "GET /buildid/abcdef/executable HTTP/1.1" 200 -
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find --dump --executable abcdef
#0 0x0000000000252043 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x252043)
#1 0x000000000024ff7e llvm::sys::RunSignalHandlers() (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x24ff7e)
#2 0x000000000025264f SignalHandler(int) Signals.cpp:0:0
#3 0x00007fd255a7a8e0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x138e0)
#4 0x00007fd2554c3d3c free ./malloc/malloc.c:3124:7
#5 0x000000000021dac3 llvm::HTTPClient::perform(llvm::HTTPRequest const&, llvm::HTTPResponseHandler&) (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x21dac3)
#6 0x000000000021dc84 llvm::HTTPClient::get(llvm::StringRef) (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x21dc84)
#7 0x000000000021c471 llvm::getCachedOrDownloadArtifact[abi:cxx11](llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::ArrayRef<llvm::StringRef>, std::chrono::duration<long, std::ratio<1l, 1000l> >) (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x21c471)
#8 0x000000000021bb2c llvm::getCachedOrDownloadArtifact[abi:cxx11](llvm::StringRef, llvm::StringRef) (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x21bb2c)
#9 0x000000000021be0e llvm::getCachedOrDownloadExecutable[abi:cxx11](llvm::ArrayRef<unsigned char>) (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x21be0e)
#10 0x0000000000219b68 main (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x219b68)
#11 0x00007fd255460e4a __libc_start_main ./csu/../csu/libc-start.c:314:16
#12 0x00000000002195da _start (/usr/local/google/home/vitalybuka/src/llvm.git/out/z/bin/llvm-debuginfod-find+0x2195da)
/usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test:15:15: error: EXECUTABLE: expected string not found in input
# EXECUTABLE: fake_executable
^
<stdin>:1:1: note: scanning from here
nontrivial return code -11
^
<stdin>:1:8: note: possible intended match here
nontrivial return code -11
^
Input file: <stdin>
Check file: /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: nontrivial return code -11
check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:15'1 ? possible intended match
>>>>>>
--
********************
********************
Failed Tests (1):
LLVM :: tools/llvm-debuginfod-find/debuginfod.test
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112759/new/
https://reviews.llvm.org/D112759
More information about the llvm-commits
mailing list