[Lldb-commits] [lldb] [LLDB] DebugInfoD tests: attempt to fix Fuchsia build (PR #96802)

LLVM Continuous Integration via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 8 16:55:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` running on `linaro-lldb-aarch64-ubuntu` while building `lldb` at step 6 "test".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/59/builds/1213

Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
UNSUPPORTED: lldb-api :: commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py (262 of 1991)
PASS: lldb-api :: commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py (263 of 1991)
PASS: lldb-api :: commands/watchpoints/watchpoint_events/TestWatchpointEvents.py (264 of 1991)
PASS: lldb-api :: commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py (265 of 1991)
PASS: lldb-api :: commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py (266 of 1991)
UNSUPPORTED: lldb-api :: driver/batch_mode/TestBatchMode.py (267 of 1991)
UNSUPPORTED: lldb-api :: driver/job_control/TestJobControl.py (268 of 1991)
PASS: lldb-api :: debuginfod/Normal/TestDebuginfod.py (269 of 1991)
PASS: lldb-api :: functionalities/abbreviation/TestAbbreviations.py (270 of 1991)
UNRESOLVED: lldb-api :: debuginfod/SplitDWARF/TestDebuginfodDWP.py (271 of 1991)
******************** TEST 'lldb-api :: debuginfod/SplitDWARF/TestDebuginfodDWP.py' FAILED ********************
Script:
--
/usr/bin/python3.8 /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env OBJCOPY=/usr/bin/llvm-objcopy --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --arch aarch64 --build-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/dsymutil --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF -p TestDebuginfodDWP.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 19.0.0git (https://github.com/llvm/llvm-project.git revision 2a7abb04e258542679476fa6527418c34412283c)
  clang revision 2a7abb04e258542679476fa6527418c34412283c
  llvm revision 2a7abb04e258542679476fa6527418c34412283c
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_debuginfod_both_okd_symfiles_from_service (TestDebuginfodDWP.DebugInfodDWPTests) (requires curl) 
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_debuginfod_both_symfiles_from_service (TestDebuginfodDWP.DebugInfodDWPTests) (requires curl) 
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_debuginfod_dwp_from_service (TestDebuginfodDWP.DebugInfodDWPTests) (requires curl) 
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_normal_stripped (TestDebuginfodDWP.DebugInfodDWPTests)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_normal_stripped_only_dwp (TestDebuginfodDWP.DebugInfodDWPTests)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: test_normal_stripped_split_with_dwp (TestDebuginfodDWP.DebugInfodDWPTests)
======================================================================
ERROR: test_normal_stripped (TestDebuginfodDWP.DebugInfodDWPTests)
   Validate behavior with a stripped binary, no symbols or symbol locator.
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF -C /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/debuginfod/SplitDWARF/TestDebuginfodDWP.test_normal_stripped -I /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF -I /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF/Makefile all ARCH=aarch64 'CC="/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang"' CLANG_MODULE_CACHE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api LLDB_OBJ_ROOT=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb

Build Command Output:
make: Entering directory '/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/debuginfod/SplitDWARF/TestDebuginfodDWP.test_normal_stripped'
"/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang" -g -O0  -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -gsplit-dwarf  -MT main.o -MD -MP -MF main.d -c -o main.o /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF/main.c
"/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang"  main.o -g -O0  -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb/include -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/debuginfod/SplitDWARF -I/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info  -gsplit-dwarf    --driver-mode=g++ -Wl,--build-id -o "a.out"
cp "a.out" "a.out.unstripped"
/usr/bin/llvm-objcopy --only-keep-debug "a.out" "a.out.debug"
/usr/bin/llvm-objcopy --strip-debug --add-gnu-debuglink="a.out.debug" "a.out" "a.out"

```

https://github.com/llvm/llvm-project/pull/96802


More information about the lldb-commits mailing list