[Lldb-commits] [lldb] [lldb/Interpreter] Introduce `ScriptedStopHook{, Python}Interface` & make use of it (PR #105449)
LLVM Continuous Integration via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 20 00:24:03 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on `linaro-lldb-arm-ubuntu` while building `lldb` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/4137
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test) failure: build (failure)
...
5.951 [175/62/23] Building CXX object tools/lldb/unittests/Editline/CMakeFiles/EditlineTests.dir/EditlineTest.cpp.o
6.092 [175/61/24] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/DumpRegisterInfoTest.cpp.o
6.102 [172/63/25] Linking CXX executable tools/lldb/unittests/Breakpoint/LLDBBreakpointTests
6.268 [169/65/26] Linking CXX executable tools/lldb/unittests/Editline/EditlineTests
6.430 [166/67/27] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/FileTest.cpp.o
6.439 [160/72/28] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/FormatEntityTest.cpp.o
6.534 [160/71/29] Building CXX object tools/lldb/unittests/DataFormatter/CMakeFiles/LLDBFormatterTests.dir/StringPrinterTests.cpp.o
6.612 [160/70/30] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/SourceLocationSpecTest.cpp.o
6.718 [160/69/31] Building CXX object tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/DiagnosticManagerTest.cpp.o
7.063 [157/71/32] Building CXX object tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o
FAILED: tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLLVM_BUILD_STATIC -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb/unittests/ScriptInterpreter/Python -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/unittests/ScriptInterpreter/Python -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/include -I/usr/include/python3.10 -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/../clang/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb/../clang/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/source -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/unittests -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/third-party/unittest/googletest/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/third-party/unittest/googlemock/include -isystem /usr/include/libxml2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o -MF tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o.d -o tools/lldb/unittests/ScriptInterpreter/Python/CMakeFiles/ScriptInterpreterPythonTests.dir/PythonTestSuite.cpp.o -c /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
../llvm-project/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp:277:35: error: out-of-line definition of 'ToSWIGWrapper' does not match any declaration in 'lldb_private::python::SWIGBridge'
277 | lldb_private::python::SWIGBridge::ToSWIGWrapper(const Status &status) {
| ^~~~~~~~~~~~~
../llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h:89:37: note: type of 1st parameter of member declaration does not match definition ('Status' vs 'const Status &')
89 | static PythonObject ToSWIGWrapper(Status status);
| ^
1 error generated.
7.584 [157/70/33] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/DumpDataExtractorTest.cpp.o
7.772 [157/69/34] Building CXX object tools/lldb/unittests/Disassembler/x86/CMakeFiles/GetControlFlowKindx86Tests.dir/TestGetControlFlowKindx86.cpp.o
7.929 [157/68/35] Building CXX object tools/lldb/unittests/Disassembler/ARM/CMakeFiles/DisassemblerTests.dir/TestArmv7Disassembly.cpp.o
8.073 [157/67/36] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/SourceManagerTest.cpp.o
8.087 [157/66/37] Building CXX object tools/lldb/unittests/Disassembler/ARM/CMakeFiles/DisassemblerTests.dir/TestArm64Disassembly.cpp.o
8.469 [157/65/38] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/ProgressReportTest.cpp.o
8.490 [157/64/39] Building CXX object tools/lldb/unittests/TestingSupport/Host/CMakeFiles/lldbHostHelpers.dir/SocketTestUtilities.cpp.o
8.574 [157/63/40] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/HostTest.cpp.o
8.652 [157/62/41] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/HostInfoTest.cpp.o
8.857 [157/61/42] Building CXX object tools/lldb/unittests/TestingSupport/CMakeFiles/lldbUtilityHelpers.dir/TestUtilities.cpp.o
9.037 [157/60/43] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/CommunicationTest.cpp.o
9.117 [157/59/44] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/FileSystemTest.cpp.o
9.682 [157/58/45] Building CXX object tools/lldb/tools/lldb-test/CMakeFiles/lldb-test.dir/SystemInitializerTest.cpp.o
9.754 [157/57/46] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/MainLoopTest.cpp.o
10.006 [157/56/47] Building CXX object tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/CppModuleConfigurationTest.cpp.o
10.061 [157/55/48] Building CXX object tools/lldb/unittests/Disassembler/RISCV/CMakeFiles/MCDisasmInstanceRISCVTests.dir/TestMCDisasmInstanceRISCV.cpp.o
10.064 [157/54/49] Building CXX object tools/lldb/unittests/ObjectFile/Breakpad/CMakeFiles/ObjectFileBreakpadTests.dir/BreakpadRecordsTest.cpp.o
10.414 [157/53/50] Building CXX object tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestOptionArgParser.cpp.o
10.775 [157/52/51] Building CXX object tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/PostfixExpressionTest.cpp.o
10.835 [157/51/52] Building CXX object tools/lldb/unittests/Platform/Android/CMakeFiles/AdbClientTests.dir/AdbClientTest.cpp.o
11.161 [157/50/53] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/ThreadLauncherTest.cpp.o
11.459 [157/49/54] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/SocketAddressTest.cpp.o
11.543 [157/48/55] Building CXX object tools/lldb/unittests/Core/CMakeFiles/LLDBCoreTests.dir/ModuleSpecTest.cpp.o
11.824 [157/47/56] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/XMLTest.cpp.o
12.168 [157/46/57] Building CXX object tools/lldb/unittests/Instruction/CMakeFiles/EmulatorTests.dir/ARM64/TestAArch64Emulator.cpp.o
12.628 [157/45/58] Building CXX object tools/lldb/unittests/Interpreter/CMakeFiles/InterpreterTests.dir/TestOptionValueFileColonLine.cpp.o
12.724 [157/44/59] Building CXX object tools/lldb/unittests/Expression/CMakeFiles/ExpressionTests.dir/ClangParserTest.cpp.o
12.797 [157/43/60] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/ProcessLaunchInfoTest.cpp.o
12.943 [157/42/61] Building CXX object tools/lldb/unittests/Host/CMakeFiles/HostTests.dir/linux/HostTest.cpp.o
13.317 [157/41/62] Building CXX object tools/lldb/unittests/Host/common/CMakeFiles/HostCommonTests.dir/ZipFileResolverTest.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/105449
More information about the lldb-commits
mailing list