[Lldb-commits] [lldb] [llvm] Debuginfod cache use index cache settings and include real file name (PR #120814)
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Sat Jan 11 05:41:34 PST 2025
mgorny wrote:
This is causing test failures for me:
```
FAIL: LLVM :: tools/llvm-debuginfod-find/cache.test (51115 of 57035)
******************** TEST 'LLVM :: tools/llvm-debuginfod-find/cache.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: rm -rf /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/*
+ rm -rf '/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/*'
RUN: at line 5: mkdir -p /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/012345678901234{5,6}
+ mkdir -p /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/0123456789012345 /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/0123456789012346
RUN: at line 6: echo 'f' > /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/0123456789012345/debuginfo
+ echo f
RUN: at line 7: cp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/012345678901234{5,6}/debuginfo
+ cp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/0123456789012345/debuginfo /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/buildid/0123456789012346/debuginfo
RUN: at line 8: mkdir /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache
+ mkdir /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache
RUN: at line 9: env DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012345 > /dev/null
+ env DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012345
RUN: at line 11: ls /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache | /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/FileCheck --check-prefix=FIRST --match-full-lines --implicit-check-not {{.}} /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm/test/tools/llvm-debuginfod-find/cache.test
+ ls /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache
+ /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/FileCheck --check-prefix=FIRST --match-full-lines --implicit-check-not '{{.}}' /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm/test/tools/llvm-debuginfod-find/cache.test
RUN: at line 14: env DEBUGINFOD_CACHE_POLICY=prune_interval=0s:cache_size_files=1 DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012346 > /dev/null
+ env DEBUGINFOD_CACHE_POLICY=prune_interval=0s:cache_size_files=1 DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012346
RUN: at line 17: ls /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache | /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/FileCheck --check-prefix=SECOND --match-full-lines --implicit-check-not {{.}} /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm/test/tools/llvm-debuginfod-find/cache.test
+ ls /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache
+ /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/FileCheck --check-prefix=SECOND --match-full-lines --implicit-check-not '{{.}}' /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm/test/tools/llvm-debuginfod-find/cache.test
RUN: at line 20: env DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012345 > /dev/null
+ env DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012345
RUN: at line 22: ls /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache | /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/FileCheck --check-prefix=BOTH --match-full-lines --implicit-check-not {{.}} /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm/test/tools/llvm-debuginfod-find/cache.test
+ ls /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache
+ /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/FileCheck --check-prefix=BOTH --match-full-lines --implicit-check-not '{{.}}' /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm/test/tools/llvm-debuginfod-find/cache.test
RUN: at line 25: env DEBUGINFOD_CACHE_POLICY=invalid:prune_interval=0s:cache_size_files=1 DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012346 > /dev/null
+ env DEBUGINFOD_CACHE_POLICY=invalid:prune_interval=0s:cache_size_files=1 DEBUGINFOD_CACHE_PATH=/var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp/cache DEBUGINFOD_URLS=file:///var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/test/tools/llvm-debuginfod-find/Output/cache.test.tmp /var/tmp/portage/llvm-core/llvm-20.0.0.9999/work/llvm_build-abi_x86_64.amd64/bin/llvm-debuginfod-find --debuginfo 0123456789012346
Build ID 0123456789012346 could not be found.
--
********************
```
https://github.com/llvm/llvm-project/pull/120814
More information about the lldb-commits
mailing list