[Lldb-commits] [lldb] [lldb-dap] Fix flaky TestDAP_stopped_events.py (PR #179689)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 4 07:41:52 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 33293 tests passed
* 511 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.tools/lldb-dap/stopped-events/TestDAP_stopped_events.py</summary>
```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events -p TestDAP_stopped_events.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision f63f6d67f4fb4fea42e6cb52fc570530054f872f)
clang revision f63f6d67f4fb4fea42e6cb52fc570530054f872f
llvm revision f63f6d67f4fb4fea42e6cb52fc570530054f872f
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
========= DEBUG ADAPTER PROTOCOL LOGS =========
[15:39:43.218] (stdio) --> {"command":"initialize","type":"request","arguments":{"adapterID":"lldb-native","clientID":"vscode","columnsStartAt1":true,"linesStartAt1":true,"locale":"en-us","pathFormat":"path","supportsRunInTerminalRequest":true,"supportsVariablePaging":true,"supportsVariableType":true,"supportsStartDebuggingRequest":true,"supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryEvent":true,"$__lldb_sourceInitFile":false},"seq":1}
[15:39:43.219] DAP.cpp:1007 (stdio) queued (command=initialize seq=1)
[15:39:43.219] (stdio) <-- {"body":{"$__lldb_version":"lldb version 23.0.0git (https://github.com/llvm/llvm-project revision f63f6d67f4fb4fea42e6cb52fc570530054f872f)\n clang revision f63f6d67f4fb4fea42e6cb52fc570530054f872f\n llvm revision f63f6d67f4fb4fea42e6cb52fc570530054f872f","completionTriggerCharacters":["."," ","\t"],"exceptionBreakpointFilters":[{"description":"C++ Catch","filter":"cpp_catch","label":"C++ Catch","supportsCondition":true},{"description":"C++ Throw","filter":"cpp_throw","label":"C++ Throw","supportsCondition":true},{"description":"Objective-C Catch","filter":"objc_catch","label":"Objective-C Catch","supportsCondition":true},{"description":"Objective-C Throw","filter":"objc_throw","label":"Objective-C Throw","supportsCondition":true}],"supportTerminateDebuggee":true,"supportsBreakpointLocationsRequest":true,"supportsCancelRequest":true,"supportsClipboardContext":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpointBytes":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsDisassembleRequest":true,"supportsEvaluateForHovers":true,"supportsExceptionFilterOptions":true,"supportsExceptionInfoRequest":true,"supportsFunctionBreakpoints":true,"supportsHitConditionalBreakpoints":true,"supportsInstructionBreakpoints":true,"supportsLogPoints":true,"supportsModuleSymbolsRequest":true,"supportsModulesRequest":true,"supportsReadMemoryRequest":true,"supportsSetVariable":true,"supportsSteppingGranularity":true,"supportsValueFormattingOptions":true,"supportsWriteMemoryRequest":true},"command":"initialize","request_seq":1,"seq":1,"success":true,"type":"response"}
[15:39:43.219] (stdio) --> {"seq":2,"command":"launch","type":"request","arguments":{"program":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_breakpoints_same_location/a.out","initCommands":["settings clear --all","settings set symbols.enable-external-lookup false","settings set target.inherit-tcc true","settings set target.disable-aslr false","settings set target.detach-on-error false","settings set target.auto-apply-fixits false","settings set plugin.process.gdb-remote.packet-timeout 60","settings set symbols.clang-modules-cache-path \"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"","settings set use-color false","settings set show-statusline false"],"disableASLR":false,"enableAutoVariableSummaries":false,"enableSyntheticChildDebugging":false,"displayExtendedBacktrace":false}}
[15:39:43.219] DAP.cpp:1007 (stdio) queued (command=launch seq=2)
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"To get started with the debug console try \"<variable>\", \"<lldb-cmd>\" or \"help [<lldb-cmd>]\"\r\n"},"event":"output","seq":2,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"For more information visit https://lldb.llvm.org/use/lldbdap.html#debug-console.\r\n"},"event":"output","seq":3,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"Running initCommands:\n"},"event":"output","seq":4,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings clear --all\n"},"event":"output","seq":5,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set symbols.enable-external-lookup false\n"},"event":"output","seq":6,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.inherit-tcc true\n"},"event":"output","seq":7,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.disable-aslr false\n"},"event":"output","seq":8,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.detach-on-error false\n"},"event":"output","seq":9,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.auto-apply-fixits false\n"},"event":"output","seq":10,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set plugin.process.gdb-remote.packet-timeout 60\n"},"event":"output","seq":11,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set symbols.clang-modules-cache-path \"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"\n"},"event":"output","seq":12,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set use-color false\n"},"event":"output","seq":13,"type":"event"}
[15:39:43.223] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set show-statusline false\n"},"event":"output","seq":14,"type":"event"}
[15:39:43.263] (stdio) <-- {"event":"initialized","seq":15,"type":"event"}
[15:39:43.263] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd21e0000","id":"520E0587-8220-FB2F-C6D2-8FF46B63B3FD-5D48E763","name":"ld-linux-x86-64.so.2","path":"/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":16,"type":"event"}
[15:39:43.264] (stdio) <-- {"body":{"module":{"addressRange":"0x7fff8a151000","id":"91F0FB93-74C4-4772-3EAC-08FF58577788-4B129CA7","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":17,"type":"event"}
[15:39:43.264] (stdio) <-- {"body":{"module":{"addressRange":"0x5755a05e8000","debugInfoSize":"77.6KB","id":"5582CDAF","name":"a.out","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_breakpoints_same_location/a.out","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_breakpoints_same_location/a.out","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":18,"type":"event"}
[15:39:43.264] (stdio) --> {"command":"setBreakpoints","type":"request","arguments":{"source":{"path":"main.cpp"},"sourceModified":false,"lines":[6],"breakpoints":[{"line":6}]},"seq":3}
[15:39:43.264] DAP.cpp:1007 (stdio) queued (command=setBreakpoints seq=3)
[15:39:43.267] (stdio) <-- {"body":{"breakpoints":[{"column":10,"id":1,"instructionReference":"0x5755A05E978A","line":7,"source":{"name":"main.cpp","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/main.cpp"},"verified":true}]},"command":"setBreakpoints","request_seq":3,"seq":19,"success":true,"type":"response"}
[15:39:43.267] (stdio) <-- {"body":{"breakpoint":{"column":10,"id":1,"instructionReference":"0x5755A05E978A","line":7,"verified":true},"reason":"changed"},"event":"breakpoint","seq":20,"type":"event"}
[15:39:43.268] (stdio) --> {"command":"setFunctionBreakpoints","type":"request","arguments":{"breakpoints":[{"name":"my_add"}]},"seq":4}
[15:39:43.268] DAP.cpp:1007 (stdio) queued (command=setFunctionBreakpoints seq=4)
[15:39:43.268] (stdio) <-- {"body":{"breakpoints":[{"column":10,"id":2,"instructionReference":"0x5755A05E978A","line":7,"source":{"name":"main.cpp","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/main.cpp"},"verified":true}]},"command":"setFunctionBreakpoints","request_seq":4,"seq":21,"success":true,"type":"response"}
[15:39:43.268] (stdio) <-- {"body":{"breakpoint":{"column":10,"id":2,"instructionReference":"0x5755A05E978A","line":7,"verified":true},"reason":"changed"},"event":"breakpoint","seq":22,"type":"event"}
[15:39:43.269] (stdio) --> {"command":"configurationDone","type":"request","arguments":{},"seq":5}
[15:39:43.269] DAP.cpp:1007 (stdio) queued (command=configurationDone seq=5)
[15:39:43.269] (stdio) <-- {"body":{"capabilities":{"supportsModuleSymbolsRequest":true,"supportsRestartRequest":true,"supportsStepInTargetsRequest":true}},"event":"capabilities","seq":23,"type":"event"}
[15:39:43.269] (stdio) <-- {"body":{"category":"console","output":"Executable binary set to '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_breakpoints_same_location/a.out' (x86_64-unknown-linux-gnu).\r\n"},"event":"output","seq":24,"type":"event"}
[15:39:43.269] (stdio) <-- {"body":{"category":"console","output":"Attached to process 378363.\r\n"},"event":"output","seq":25,"type":"event"}
[15:39:43.269] (stdio) <-- {"body":{"isLocalProcess":true,"name":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_breakpoints_same_location/a.out","pointerSize":64,"startMethod":"launch","systemProcessId":378363},"event":"process","seq":26,"type":"event"}
[15:39:43.269] (stdio) <-- {"command":"configurationDone","request_seq":5,"seq":27,"success":true,"type":"response"}
[15:39:43.269] (stdio) <-- {"command":"launch","request_seq":2,"seq":28,"success":true,"type":"response"}
[15:39:43.270] (stdio) --> {"command":"threads","type":"request","arguments":{},"seq":6}
[15:39:43.270] DAP.cpp:1007 (stdio) queued (command=threads seq=6)
[15:39:43.270] (stdio) <-- {"body":{"threads":[{"id":378363,"name":"a.out"}]},"command":"threads","request_seq":6,"seq":29,"success":true,"type":"response"}
[15:39:43.295] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd20c7000","id":"C5919EE5","name":"libc++.so.1","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++.so.1","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++.so.1","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":30,"type":"event"}
[15:39:43.295] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd1d40000","id":"274EEC48-8D23-0825-A136-FA9C4D85370F-ED7A0A5E","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":31,"type":"event"}
[15:39:43.295] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd1f54000","id":"30724452-88DD-2ABA-348B-F583C65F7050-9AAB8141","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":32,"type":"event"}
[15:39:43.295] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd1f82000","id":"F834D730-8D26-6021-8ED4-F7486A58E28C-8464FE4B","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":33,"type":"event"}
[15:39:43.296] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd207e000","id":"6D546CF2","name":"libc++abi.so.1","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++abi.so.1","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++abi.so.1","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":34,"type":"event"}
[15:39:43.296] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd206e000","id":"C48E1D5A","name":"libunwind.so.1","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libunwind.so.1","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libunwind.so.1","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":35,"type":"event"}
[15:39:43.296] (stdio) <-- {"body":{"module":{"addressRange":"0x7b6bd1d35000","id":"D2D793C5-CDFA-B4C2-E083-F41AAF689B69-4B62EACD","name":"libatomic.so.1","path":"/lib/x86_64-linux-gnu/libatomic.so.1","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":36,"type":"event"}
[15:39:43.301] (stdio) <-- {"body":{"allThreadsStopped":true,"description":"breakpoint 1.1 2.1","hitBreakpointIds":[1,2],"reason":"breakpoint","text":"breakpoint 1.1 2.1","threadId":378408},"event":"stopped","seq":37,"type":"event"}
[15:39:43.301] (stdio) <-- {"body":{"description":"breakpoint 1.1 2.1","hitBreakpointIds":[1,2],"preserveFocusHint":true,"reason":"breakpoint","text":"breakpoint 1.1 2.1","threadId":378409},"event":"stopped","seq":38,"type":"event"}
[15:39:43.552] (stdio) --> {"command":"threads","type":"request","arguments":{},"seq":7}
[15:39:43.572] DAP.cpp:1007 (stdio) queued (command=threads seq=7)
[15:39:43.572] (stdio) <-- {"body":{"threads":[{"id":378363,"name":"a.out"},{"id":378408,"name":"a.out"},{"id":378409,"name":"a.out"}]},"command":"threads","request_seq":7,"seq":39,"success":true,"type":"response"}
[15:39:43.573] (stdio) --> {"command":"continue","type":"request","arguments":{"threadId":378363},"seq":8}
[15:39:43.573] DAP.cpp:1007 (stdio) queued (command=continue seq=8)
[15:39:43.573] (stdio) <-- {"body":{"allThreadsContinued":true},"command":"continue","request_seq":8,"seq":40,"success":true,"type":"response"}
[15:39:43.597] (stdio) <-- {"body":{"allThreadsContinued":true,"threadId":378408},"event":"continued","seq":41,"type":"event"}
[15:39:43.597] (stdio) <-- {"body":{"category":"console","output":"Process 378363 exited with status = 0 (0x00000000) \n"},"event":"output","seq":42,"type":"event"}
[15:39:43.597] (stdio) <-- {"body":{"exitCode":0},"event":"exited","seq":43,"type":"event"}
[15:39:43.603] (stdio) <-- {"body":{"$__lldb_statistics":{"commands":"{\"settings clear\":1}","memory":"{\"strings\":{\"bytesTotal\":1064960,\"bytesUnused\":403697,\"bytesUsed\":661263}}","plugins":"{\"abi\":[{\"enabled\":true,\"name\":\"SysV-arm64\"},{\"enabled\":true,\"name\":\"ABIMacOSX_arm64\"},{\"enabled\":true,\"name\":\"SysV-arm\"},{\"enabled\":true,\"name\":\"macosx-arm\"},{\"enabled\":true,\"name\":\"sysv-hexagon\"},{\"enabled\":true,\"name\":\"sysv-loongarch\"},{\"enabled\":true,\"name\":\"sysv-mips\"},{\"enabled\":true,\"name\":\"sysv-mips64\"},{\"enabled\":true,\"name\":\"sysv-msp430\"},{\"enabled\":true,\"name\":\"sysv-ppc\"},{\"enabled\":true,\"name\":\"sysv-ppc64\"},{\"enabled\":true,\"name\":\"sysv-riscv\"},{\"enabled\":true,\"name\":\"sysv-s390x\"},{\"enabled\":true,\"name\":\"abi.macosx-i386\"},{\"enabled\":true,\"name\":\"sysv-i386\"},{\"enabled\":true,\"name\":\"sysv-x86_64\"},{\"enabled\":true,\"name\":\"windows-x86_64\"}],\"architecture\":[{\"enabled\":true,\"name\":\"arm\"},{\"enabled\":true,\"name\":\"mips\"},{\"enabled\":true,\"name\":\"ppc64\"},{\"enabled\":true,\"name\":\"aarch64\"}],\"disassembler\":[{\"enabled\":true,\"name\":\"llvm-mc\"}],\"dynamic-loader\":[{\"enabled\":true,\"name\":\"darwin-kernel\"},{\"enabled\":true,\"name\":\"freebsd-kernel\"},{\"enabled\":true,\"name\":\"macosx-dyld\"},{\"enabled\":true,\"name\":\"macos-dyld\"},{\"enabled\":true,\"name\":\"posix-dyld\"},{\"enabled\":true,\"name\":\"static\"},{\"enabled\":true,\"name\":\"hexagon-dyld\"},{\"enabled\":true,\"name\":\"windows-dyld\"},{\"enabled\":true,\"name\":\"wasm-dyld\"}],\"emulate-instruction\":[{\"enabled\":true,\"name\":\"arm\"},{\"enabled\":true,\"name\":\"arm64\"},{\"enabled\":true,\"name\":\"LoongArch\"},{\"enabled\":true,\"name\":\"mips32\"},{\"enabled\":true,\"name\":\"mips64\"},{\"enabled\":true,\"name\":\"ppc64\"},{\"enabled\":true,\"name\":\"riscv\"}],\"instrumentation-runtime\":[{\"enabled\":true,\"name\":\"AddressSanitizer\"},{\"enabled\":true,\"name\":\"Libsanitizers-ASan\"},{\"enabled\":true,\"name\":\"BoundsSafety\"},{\"enabled\":true,\"name\":\"MainThreadChecker\"},{\"enabled\":true,\"name\":\"ThreadSanitizer\"},{\"enabled\":true,\"name\":\"UndefinedBehaviorSanitizer\"}],\"jit-loader\":[{\"enabled\":true,\"name\":\"gdb\"}],\"language\":[{\"enabled\":true,\"name\":\"cplusplus\"},{\"enabled\":true,\"name\":\"objc\"},{\"enabled\":true,\"name\":\"objcplusplus\"}],\"language-runtime\":[{\"enabled\":true,\"name\":\"itanium\"},{\"enabled\":true,\"name\":\"apple-objc-v2\"},{\"enabled\":true,\"name\":\"apple-objc-v1\"},{\"enabled\":true,\"name\":\"gnustep-objc-libobjc2\"}],\"memory-history\":[{\"enabled\":true,\"name\":\"asan\"}],\"object-container\":[{\"enabled\":true,\"name\":\"bsd-archive\"},{\"enabled\":true,\"name\":\"big-archive\"},{\"enabled\":true,\"name\":\"mach-o\"},{\"enabled\":true,\"name\":\"mach-o-fileset\"}],\"object-file\":[{\"enabled\":true,\"name\":\"breakpad\"},{\"enabled\":true,\"name\":\"COFF\"},{\"enabled\":true,\"name\":\"elf\"},{\"enabled\":true,\"name\":\"JSON\"},{\"enabled\":true,\"name\":\"mach-o\"},{\"enabled\":true,\"name\":\"minidump\"},{\"enabled\":true,\"name\":\"pdb\"},{\"enabled\":true,\"name\":\"pe-coff\"},{\"enabled\":true,\"name\":\"xcoff\"},{\"enabled\":true,\"name\":\"wasm\"}],\"operating-system\":[{\"enabled\":true,\"name\":\"python\"}],\"platform\":[{\"enabled\":true,\"name\":\"remote-AIX\"},{\"enabled\":true,\"name\":\"remote-linux\"},{\"enabled\":true,\"name\":\"remote-android\"},{\"enabled\":true,\"name\":\"remote-freebsd\"},{\"enabled\":true,\"name\":\"remote-gdb-server\"},{\"enabled\":true,\"name\":\"darwin\"},{\"enabled\":true,\"name\":\"remote-ios\"},{\"enabled\":true,\"name\":\"remote-macosx\"},{\"enabled\":true,\"name\":\"host\"},{\"enabled\":true,\"name\":\"remote-netbsd\"},{\"enabled\":true,\"name\":\"remote-openbsd\"},{\"enabled\":true,\"name\":\"qemu-user\"},{\"enabled\":true,\"name\":\"wasm\"},{\"enabled\":true,\"name\":\"remote-windows\"}],\"process\":[{\"enabled\":true,\"name\":\"ScriptedProcess\"},{\"enabled\":true,\"name\":\"elf-core\"},{\"enabled\":true,\"name\":\"mach-o-core\"},{\"enabled\":true,\"name\":\"minidump\"},{\"enabled\":true,\"name\":\"wasm\"},{\"enabled\":true,\"name\":\"gdb-remote\"}],\"register-type-builder\":[{\"enabled\":true,\"name\":\"register-types-clang\"}],\"repl\":[{\"enabled\":true,\"name\":\"ClangREPL\"}],\"script-interpreter\":[{\"enabled\":true,\"name\":\"script-none\"},{\"enabled\":true,\"name\":\"script-python\"}],\"scripted-interface\":[{\"enabled\":true,\"name\":\"OperatingSystemPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedPlatformPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedProcessPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedStopHookPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedBreakpointPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedThreadPlanPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedFrameProviderPythonInterface\"}],\"structured-data\":[{\"enabled\":true,\"name\":\"darwin-log\"}],\"symbol-file\":[{\"enabled\":true,\"name\":\"breakpad\"},{\"enabled\":true,\"name\":\"CTF\"},{\"enabled\":true,\"name\":\"dwarf\"},{\"enabled\":true,\"name\":\"dwarf-debugmap\"},{\"enabled\":true,\"name\":\"JSON\"},{\"enabled\":true,\"name\":\"native-pdb\"},{\"enabled\":true,\"name\":\"pdb\"},{\"enabled\":true,\"name\":\"symtab\"}],\"symbol-locator\":[{\"enabled\":true,\"name\":\"debuginfod\"},{\"enabled\":true,\"name\":\"Default\"}],\"symbol-vendor\":[{\"enabled\":true,\"name\":\"ELF\"},{\"enabled\":true,\"name\":\"PE-COFF\"},{\"enabled\":true,\"name\":\"WASM\"}],\"system-runtime\":[{\"enabled\":true,\"name\":\"systemruntime-macosx\"}],\"trace-exporter\":[{\"enabled\":true,\"name\":\"ctf\"}],\"type-system\":[{\"enabled\":true,\"name\":\"clang\"}],\"unwind-assembly\":[{\"enabled\":true,\"name\":\"inst-emulation\"},{\"enabled\":true,\"name\":\"x86\"}]}","targets":"[{\"breakpoints\":[{\"details\":{\"Breakpoint\":{\"BKPTOptions\":{\"AutoContinue\":false,\"ConditionText\":\"\",\"EnabledState\":true,\"IgnoreCount\":0,\"OneShotState\":false},\"BKPTResolver\":{\"Options\":{\"Column\":0,\"Exact\":false,\"FileName\":\"/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/main.cpp\",\"Inlines\":true,\"LineNumber\":6,\"Offset\":0,\"SkipPrologue\":true},\"Type\":\"FileAndLine\"},\"Hardware\":false,\"Names\":[\"dap\"],\"SearchFilter\":{\"Options\":{},\"Type\":\"Unconstrained\"}}},\"hitCount\":2,\"id\":1,\"internal\":false,\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.0019959999999999999},{\"details\":{\"Breakpoint\":{\"BKPTOptions\":{\"AutoContinue\":false,\"ConditionText\":\"\",\"EnabledState\":true,\"IgnoreCount\":0,\"OneShotState\":false},\"BKPTResolver\":{\"Options\":{\"NameMask\":[24,32,4],\"Offset\":0,\"SkipPrologue\":true,\"SymbolNames\":[\"my_add\",\"my_add\",\"my_add\"]},\"Type\":\"SymbolName\"},\"Hardware\":false,\"Names\":[\"dap\"],\"SearchFilter\":{\"Options\":{},\"Type\":\"Unconstrained\"}}},\"hitCount\":2,\"id\":2,\"internal\":false,\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.000135},{\"details\":{\"Breakpoint\":{\"BKPTOptions\":{\"AutoContinue\":false,\"ConditionText\":\"\",\"EnabledState\":true,\"IgnoreCount\":0,\"OneShotState\":false},\"BKPTResolver\":{\"Options\":{\"Language\":\"c\",\"NameMask\":[4,4,4,4,4,4],\"Offset\":0,\"SkipPrologue\":false,\"SymbolNames\":[\"_dl_debug_state\",\"rtld_db_dlactivity\",\"__dl_rtld_db_dlactivity\",\"r_debug_state\",\"_r_debug_state\",\"_rtld_debug_state\"]},\"Type\":\"SymbolName\"},\"Hardware\":false,\"SearchFilter\":{\"Options\":{\"ModuleList\":[\"/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2\"]},\"Type\":\"Modules\"}}},\"hitCount\":2,\"id\":-1,\"internal\":true,\"kindDescription\":\"shared-library-event\",\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.000195}],\"dyldPluginName\":\"posix-dyld\",\"expressionEvaluation\":{\"failures\":0,\"successes\":0},\"firstStopTime\":0.032418972999999997,\"frameVariable\":{\"failures\":0,\"successes\":0},\"launchOrAttachTime\":0.027086890999999998,\"moduleIdentifiers\":[577426624,577915808,576259488,136786856643888,136786722447072,136787192189280,136786923755440,136786521099600,136786789534656,136786655369488],\"signals\":[{\"SIGSTOP\":1}],\"sourceMapDeduceCount\":0,\"sourceRealpathAttemptCount\":0,\"sourceRealpathCompatibleCount\":0,\"stopCount\":9,\"summaryProviderStatistics\":[],\"targetCreateTime\":0.0058339999999999998,\"totalBreakpointResolveTime\":0.0023259999999999999,\"totalSharedLibraryEventHitCount\":2}]","totalDebugInfoByteSize":79456,"totalDebugInfoEnabled":1,"totalDebugInfoIndexLoadedFromCache":0,"totalDebugInfoIndexSavedToCache":0,"totalDebugInfoIndexTime":0.003418,"totalDebugInfoParseTime":0.00083000000000000001,"totalDwoErrorCount":0,"totalDwoFileCount":0,"totalLoadedDwoFileCount":0,"totalModuleCount":10,"totalModuleCountHasDebugInfo":1,"totalModuleCountWithIncompleteTypes":0,"totalModuleCountWithVariableErrors":0,"totalSymbolLocatorTime":"{\"Default\":0.0060629999999999998,\"debuginfod\":1.0000000000000001e-05}","totalSymbolTableIndexTime":0.0085470000000000008,"totalSymbolTableParseTime":0.045270000000000005,"totalSymbolTableStripped":0,"totalSymbolTableSymbolCount":12698,"totalSymbolTablesLoaded":10,"totalSymbolTablesLoadedFromCache":0,"totalSymbolTablesSavedToCache":0}},"event":"terminated","seq":44,"type":"event"}
[15:39:43.857] (stdio) --> {"command":"disconnect","type":"request","arguments":{"terminateDebuggee":true},"seq":9}
[15:39:43.857] DAP.cpp:1007 (stdio) queued (command=disconnect seq=9)
[15:39:43.857] (stdio) <-- {"command":"disconnect","request_seq":9,"seq":45,"success":true,"type":"response"}
========= END =========
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_multiple_breakpoints_same_location (TestDAP_stopped_events.TestDAP_stopped_events.test_multiple_breakpoints_same_location)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_multiple_threads_sample_breakpoint (TestDAP_stopped_events.TestDAP_stopped_events.test_multiple_threads_sample_breakpoint)
========= DEBUG ADAPTER PROTOCOL LOGS =========
[15:39:45.931] (stdio) --> {"command":"initialize","type":"request","arguments":{"adapterID":"lldb-native","clientID":"vscode","columnsStartAt1":true,"linesStartAt1":true,"locale":"en-us","pathFormat":"path","supportsRunInTerminalRequest":true,"supportsVariablePaging":true,"supportsVariableType":true,"supportsStartDebuggingRequest":true,"supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryEvent":true,"$__lldb_sourceInitFile":false},"seq":1}
[15:39:45.931] DAP.cpp:1007 (stdio) queued (command=initialize seq=1)
[15:39:45.932] (stdio) <-- {"body":{"$__lldb_version":"lldb version 23.0.0git (https://github.com/llvm/llvm-project revision f63f6d67f4fb4fea42e6cb52fc570530054f872f)\n clang revision f63f6d67f4fb4fea42e6cb52fc570530054f872f\n llvm revision f63f6d67f4fb4fea42e6cb52fc570530054f872f","completionTriggerCharacters":["."," ","\t"],"exceptionBreakpointFilters":[{"description":"C++ Catch","filter":"cpp_catch","label":"C++ Catch","supportsCondition":true},{"description":"C++ Throw","filter":"cpp_throw","label":"C++ Throw","supportsCondition":true},{"description":"Objective-C Catch","filter":"objc_catch","label":"Objective-C Catch","supportsCondition":true},{"description":"Objective-C Throw","filter":"objc_throw","label":"Objective-C Throw","supportsCondition":true}],"supportTerminateDebuggee":true,"supportsBreakpointLocationsRequest":true,"supportsCancelRequest":true,"supportsClipboardContext":true,"supportsCompletionsRequest":true,"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsDataBreakpointBytes":true,"supportsDataBreakpoints":true,"supportsDelayedStackTraceLoading":true,"supportsDisassembleRequest":true,"supportsEvaluateForHovers":true,"supportsExceptionFilterOptions":true,"supportsExceptionInfoRequest":true,"supportsFunctionBreakpoints":true,"supportsHitConditionalBreakpoints":true,"supportsInstructionBreakpoints":true,"supportsLogPoints":true,"supportsModuleSymbolsRequest":true,"supportsModulesRequest":true,"supportsReadMemoryRequest":true,"supportsSetVariable":true,"supportsSteppingGranularity":true,"supportsValueFormattingOptions":true,"supportsWriteMemoryRequest":true},"command":"initialize","request_seq":1,"seq":1,"success":true,"type":"response"}
[15:39:45.932] (stdio) --> {"seq":2,"command":"launch","type":"request","arguments":{"program":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_threads_sample_breakpoint/a.out","initCommands":["settings clear --all","settings set symbols.enable-external-lookup false","settings set target.inherit-tcc true","settings set target.disable-aslr false","settings set target.detach-on-error false","settings set target.auto-apply-fixits false","settings set plugin.process.gdb-remote.packet-timeout 60","settings set symbols.clang-modules-cache-path \"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"","settings set use-color false","settings set show-statusline false"],"disableASLR":false,"enableAutoVariableSummaries":false,"enableSyntheticChildDebugging":false,"displayExtendedBacktrace":false}}
[15:39:45.932] DAP.cpp:1007 (stdio) queued (command=launch seq=2)
[15:39:45.936] (stdio) <-- {"body":{"category":"console","output":"To get started with the debug console try \"<variable>\", \"<lldb-cmd>\" or \"help [<lldb-cmd>]\"\r\n"},"event":"output","seq":2,"type":"event"}
[15:39:45.936] (stdio) <-- {"body":{"category":"console","output":"For more information visit https://lldb.llvm.org/use/lldbdap.html#debug-console.\r\n"},"event":"output","seq":3,"type":"event"}
[15:39:45.936] (stdio) <-- {"body":{"category":"console","output":"Running initCommands:\n"},"event":"output","seq":4,"type":"event"}
[15:39:45.936] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings clear --all\n"},"event":"output","seq":5,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set symbols.enable-external-lookup false\n"},"event":"output","seq":6,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.inherit-tcc true\n"},"event":"output","seq":7,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.disable-aslr false\n"},"event":"output","seq":8,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.detach-on-error false\n"},"event":"output","seq":9,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set target.auto-apply-fixits false\n"},"event":"output","seq":10,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set plugin.process.gdb-remote.packet-timeout 60\n"},"event":"output","seq":11,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set symbols.clang-modules-cache-path \"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api\"\n"},"event":"output","seq":12,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set use-color false\n"},"event":"output","seq":13,"type":"event"}
[15:39:45.937] (stdio) <-- {"body":{"category":"console","output":"(lldb) settings set show-statusline false\n"},"event":"output","seq":14,"type":"event"}
[15:39:45.977] (stdio) <-- {"event":"initialized","seq":15,"type":"event"}
[15:39:45.985] (stdio) --> {"command":"setBreakpoints","type":"request","arguments":{"source":{"path":"main.cpp"},"sourceModified":false,"lines":[6],"breakpoints":[{"line":6}]},"seq":3}
[15:39:45.985] DAP.cpp:1007 (stdio) queued (command=setBreakpoints seq=3)
[15:39:45.985] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b9c41000","id":"520E0587-8220-FB2F-C6D2-8FF46B63B3FD-5D48E763","name":"ld-linux-x86-64.so.2","path":"/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":16,"type":"event"}
[15:39:45.988] (stdio) <-- {"body":{"breakpoints":[{"column":10,"id":1,"instructionReference":"0x5B0E8EA1A78A","line":7,"source":{"name":"main.cpp","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/main.cpp"},"verified":true}]},"command":"setBreakpoints","request_seq":3,"seq":17,"success":true,"type":"response"}
[15:39:45.989] (stdio) --> {"command":"configurationDone","type":"request","arguments":{},"seq":4}
[15:39:45.989] DAP.cpp:1007 (stdio) queued (command=configurationDone seq=4)
[15:39:45.989] (stdio) <-- {"body":{"capabilities":{"supportsModuleSymbolsRequest":true,"supportsRestartRequest":true,"supportsStepInTargetsRequest":true}},"event":"capabilities","seq":18,"type":"event"}
[15:39:45.989] (stdio) <-- {"body":{"category":"console","output":"Executable binary set to '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_threads_sample_breakpoint/a.out' (x86_64-unknown-linux-gnu).\r\n"},"event":"output","seq":19,"type":"event"}
[15:39:45.989] (stdio) <-- {"body":{"category":"console","output":"Attached to process 380717.\r\n"},"event":"output","seq":20,"type":"event"}
[15:39:45.989] (stdio) <-- {"body":{"isLocalProcess":true,"name":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_threads_sample_breakpoint/a.out","pointerSize":64,"startMethod":"launch","systemProcessId":380717},"event":"process","seq":21,"type":"event"}
[15:39:45.990] (stdio) <-- {"command":"configurationDone","request_seq":4,"seq":22,"success":true,"type":"response"}
[15:39:45.990] (stdio) <-- {"command":"launch","request_seq":2,"seq":23,"success":true,"type":"response"}
[15:39:45.990] (stdio) --> {"command":"threads","type":"request","arguments":{},"seq":5}
[15:39:45.990] DAP.cpp:1007 (stdio) queued (command=threads seq=5)
[15:39:45.990] (stdio) <-- {"body":{"threads":[{"id":380717,"name":"a.out"}]},"command":"threads","request_seq":5,"seq":24,"success":true,"type":"response"}
[15:39:45.995] (stdio) <-- {"body":{"module":{"addressRange":"0x7ffc7befa000","id":"91F0FB93-74C4-4772-3EAC-08FF58577788-4B129CA7","name":"[vdso]","path":"[vdso]","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":25,"type":"event"}
[15:39:45.996] (stdio) <-- {"body":{"module":{"addressRange":"0x5b0e8ea19000","debugInfoSize":"77.6KB","id":"4F0F605B","name":"a.out","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_threads_sample_breakpoint/a.out","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/stopped-events/TestDAP_stopped_events.test_multiple_threads_sample_breakpoint/a.out","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":26,"type":"event"}
[15:39:45.996] (stdio) <-- {"body":{"breakpoint":{"column":10,"id":1,"instructionReference":"0x5B0E8EA1A78A","line":7,"verified":true},"reason":"changed"},"event":"breakpoint","seq":27,"type":"event"}
[15:39:46.018] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b99b5000","id":"30724452-88DD-2ABA-348B-F583C65F7050-9AAB8141","name":"libgcc_s.so.1","path":"/lib/x86_64-linux-gnu/libgcc_s.so.1","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":28,"type":"event"}
[15:39:46.018] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b9adf000","id":"6D546CF2","name":"libc++abi.so.1","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++abi.so.1","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++abi.so.1","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":29,"type":"event"}
[15:39:46.018] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b9acf000","id":"C48E1D5A","name":"libunwind.so.1","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libunwind.so.1","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libunwind.so.1","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":30,"type":"event"}
[15:39:46.018] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b99e3000","id":"F834D730-8D26-6021-8ED4-F7486A58E28C-8464FE4B","name":"libm.so.6","path":"/lib/x86_64-linux-gnu/libm.so.6","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":31,"type":"event"}
[15:39:46.018] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b97a1000","id":"274EEC48-8D23-0825-A136-FA9C4D85370F-ED7A0A5E","name":"libc.so.6","path":"/lib/x86_64-linux-gnu/libc.so.6","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":32,"type":"event"}
[15:39:46.019] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b9796000","id":"D2D793C5-CDFA-B4C2-E083-F41AAF689B69-4B62EACD","name":"libatomic.so.1","path":"/lib/x86_64-linux-gnu/libatomic.so.1","symbolStatus":"Symbols not found."},"reason":"new"},"event":"module","seq":33,"type":"event"}
[15:39:46.019] (stdio) <-- {"body":{"module":{"addressRange":"0x7960b9b28000","id":"C5919EE5","name":"libc++.so.1","path":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++.so.1","symbolFilePath":"/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/x86_64-unknown-linux-gnu/libc++.so.1","symbolStatus":"Symbols loaded."},"reason":"new"},"event":"module","seq":34,"type":"event"}
[15:39:46.024] (stdio) <-- {"body":{"allThreadsStopped":true,"description":"breakpoint 1.1","hitBreakpointIds":[1],"reason":"breakpoint","text":"breakpoint 1.1","threadId":380761},"event":"stopped","seq":35,"type":"event"}
[15:39:46.274] (stdio) --> {"command":"threads","type":"request","arguments":{},"seq":6}
[15:39:46.274] DAP.cpp:1007 (stdio) queued (command=threads seq=6)
[15:39:46.275] (stdio) <-- {"body":{"threads":[{"id":380717,"name":"a.out"},{"id":380760,"name":"a.out"},{"id":380761,"name":"a.out"}]},"command":"threads","request_seq":6,"seq":36,"success":true,"type":"response"}
[15:39:46.275] (stdio) --> {"command":"continue","type":"request","arguments":{"threadId":380717},"seq":7}
[15:39:46.275] DAP.cpp:1007 (stdio) queued (command=continue seq=7)
[15:39:46.275] (stdio) <-- {"body":{"allThreadsContinued":true},"command":"continue","request_seq":7,"seq":37,"success":true,"type":"response"}
[15:39:46.276] (stdio) <-- {"body":{"allThreadsContinued":true,"threadId":380761},"event":"continued","seq":38,"type":"event"}
[15:39:46.278] (stdio) <-- {"body":{"allThreadsStopped":true,"description":"breakpoint 1.1","hitBreakpointIds":[1],"reason":"breakpoint","text":"breakpoint 1.1","threadId":380760},"event":"stopped","seq":39,"type":"event"}
[15:39:46.529] (stdio) --> {"command":"threads","type":"request","arguments":{},"seq":8}
[15:39:46.568] DAP.cpp:1007 (stdio) queued (command=threads seq=8)
[15:39:46.569] (stdio) <-- {"body":{"threads":[{"id":380717,"name":"a.out"},{"id":380760,"name":"a.out"},{"id":380761,"name":"a.out"}]},"command":"threads","request_seq":8,"seq":40,"success":true,"type":"response"}
[15:39:46.585] (stdio) --> {"command":"disconnect","type":"request","arguments":{"terminateDebuggee":true},"seq":9}
[15:39:46.585] DAP.cpp:1007 (stdio) queued (command=disconnect seq=9)
[15:39:46.587] (stdio) <-- {"body":{"category":"console","output":"Process 380717 exited with status = 9 (0x00000009) killed\n"},"event":"output","seq":41,"type":"event"}
[15:39:46.592] (stdio) <-- {"body":{"$__lldb_statistics":{"commands":"{\"settings clear\":1}","memory":"{\"strings\":{\"bytesTotal\":1064960,\"bytesUnused\":403711,\"bytesUsed\":661249}}","plugins":"{\"abi\":[{\"enabled\":true,\"name\":\"SysV-arm64\"},{\"enabled\":true,\"name\":\"ABIMacOSX_arm64\"},{\"enabled\":true,\"name\":\"SysV-arm\"},{\"enabled\":true,\"name\":\"macosx-arm\"},{\"enabled\":true,\"name\":\"sysv-hexagon\"},{\"enabled\":true,\"name\":\"sysv-loongarch\"},{\"enabled\":true,\"name\":\"sysv-mips\"},{\"enabled\":true,\"name\":\"sysv-mips64\"},{\"enabled\":true,\"name\":\"sysv-msp430\"},{\"enabled\":true,\"name\":\"sysv-ppc\"},{\"enabled\":true,\"name\":\"sysv-ppc64\"},{\"enabled\":true,\"name\":\"sysv-riscv\"},{\"enabled\":true,\"name\":\"sysv-s390x\"},{\"enabled\":true,\"name\":\"abi.macosx-i386\"},{\"enabled\":true,\"name\":\"sysv-i386\"},{\"enabled\":true,\"name\":\"sysv-x86_64\"},{\"enabled\":true,\"name\":\"windows-x86_64\"}],\"architecture\":[{\"enabled\":true,\"name\":\"arm\"},{\"enabled\":true,\"name\":\"mips\"},{\"enabled\":true,\"name\":\"ppc64\"},{\"enabled\":true,\"name\":\"aarch64\"}],\"disassembler\":[{\"enabled\":true,\"name\":\"llvm-mc\"}],\"dynamic-loader\":[{\"enabled\":true,\"name\":\"darwin-kernel\"},{\"enabled\":true,\"name\":\"freebsd-kernel\"},{\"enabled\":true,\"name\":\"macosx-dyld\"},{\"enabled\":true,\"name\":\"macos-dyld\"},{\"enabled\":true,\"name\":\"posix-dyld\"},{\"enabled\":true,\"name\":\"static\"},{\"enabled\":true,\"name\":\"hexagon-dyld\"},{\"enabled\":true,\"name\":\"windows-dyld\"},{\"enabled\":true,\"name\":\"wasm-dyld\"}],\"emulate-instruction\":[{\"enabled\":true,\"name\":\"arm\"},{\"enabled\":true,\"name\":\"arm64\"},{\"enabled\":true,\"name\":\"LoongArch\"},{\"enabled\":true,\"name\":\"mips32\"},{\"enabled\":true,\"name\":\"mips64\"},{\"enabled\":true,\"name\":\"ppc64\"},{\"enabled\":true,\"name\":\"riscv\"}],\"instrumentation-runtime\":[{\"enabled\":true,\"name\":\"AddressSanitizer\"},{\"enabled\":true,\"name\":\"Libsanitizers-ASan\"},{\"enabled\":true,\"name\":\"BoundsSafety\"},{\"enabled\":true,\"name\":\"MainThreadChecker\"},{\"enabled\":true,\"name\":\"ThreadSanitizer\"},{\"enabled\":true,\"name\":\"UndefinedBehaviorSanitizer\"}],\"jit-loader\":[{\"enabled\":true,\"name\":\"gdb\"}],\"language\":[{\"enabled\":true,\"name\":\"cplusplus\"},{\"enabled\":true,\"name\":\"objc\"},{\"enabled\":true,\"name\":\"objcplusplus\"}],\"language-runtime\":[{\"enabled\":true,\"name\":\"itanium\"},{\"enabled\":true,\"name\":\"apple-objc-v2\"},{\"enabled\":true,\"name\":\"apple-objc-v1\"},{\"enabled\":true,\"name\":\"gnustep-objc-libobjc2\"}],\"memory-history\":[{\"enabled\":true,\"name\":\"asan\"}],\"object-container\":[{\"enabled\":true,\"name\":\"bsd-archive\"},{\"enabled\":true,\"name\":\"big-archive\"},{\"enabled\":true,\"name\":\"mach-o\"},{\"enabled\":true,\"name\":\"mach-o-fileset\"}],\"object-file\":[{\"enabled\":true,\"name\":\"breakpad\"},{\"enabled\":true,\"name\":\"COFF\"},{\"enabled\":true,\"name\":\"elf\"},{\"enabled\":true,\"name\":\"JSON\"},{\"enabled\":true,\"name\":\"mach-o\"},{\"enabled\":true,\"name\":\"minidump\"},{\"enabled\":true,\"name\":\"pdb\"},{\"enabled\":true,\"name\":\"pe-coff\"},{\"enabled\":true,\"name\":\"xcoff\"},{\"enabled\":true,\"name\":\"wasm\"}],\"operating-system\":[{\"enabled\":true,\"name\":\"python\"}],\"platform\":[{\"enabled\":true,\"name\":\"remote-AIX\"},{\"enabled\":true,\"name\":\"remote-linux\"},{\"enabled\":true,\"name\":\"remote-android\"},{\"enabled\":true,\"name\":\"remote-freebsd\"},{\"enabled\":true,\"name\":\"remote-gdb-server\"},{\"enabled\":true,\"name\":\"darwin\"},{\"enabled\":true,\"name\":\"remote-ios\"},{\"enabled\":true,\"name\":\"remote-macosx\"},{\"enabled\":true,\"name\":\"host\"},{\"enabled\":true,\"name\":\"remote-netbsd\"},{\"enabled\":true,\"name\":\"remote-openbsd\"},{\"enabled\":true,\"name\":\"qemu-user\"},{\"enabled\":true,\"name\":\"wasm\"},{\"enabled\":true,\"name\":\"remote-windows\"}],\"process\":[{\"enabled\":true,\"name\":\"ScriptedProcess\"},{\"enabled\":true,\"name\":\"elf-core\"},{\"enabled\":true,\"name\":\"mach-o-core\"},{\"enabled\":true,\"name\":\"minidump\"},{\"enabled\":true,\"name\":\"wasm\"},{\"enabled\":true,\"name\":\"gdb-remote\"}],\"register-type-builder\":[{\"enabled\":true,\"name\":\"register-types-clang\"}],\"repl\":[{\"enabled\":true,\"name\":\"ClangREPL\"}],\"script-interpreter\":[{\"enabled\":true,\"name\":\"script-none\"},{\"enabled\":true,\"name\":\"script-python\"}],\"scripted-interface\":[{\"enabled\":true,\"name\":\"OperatingSystemPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedPlatformPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedProcessPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedStopHookPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedBreakpointPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedThreadPlanPythonInterface\"},{\"enabled\":true,\"name\":\"ScriptedFrameProviderPythonInterface\"}],\"structured-data\":[{\"enabled\":true,\"name\":\"darwin-log\"}],\"symbol-file\":[{\"enabled\":true,\"name\":\"breakpad\"},{\"enabled\":true,\"name\":\"CTF\"},{\"enabled\":true,\"name\":\"dwarf\"},{\"enabled\":true,\"name\":\"dwarf-debugmap\"},{\"enabled\":true,\"name\":\"JSON\"},{\"enabled\":true,\"name\":\"native-pdb\"},{\"enabled\":true,\"name\":\"pdb\"},{\"enabled\":true,\"name\":\"symtab\"}],\"symbol-locator\":[{\"enabled\":true,\"name\":\"debuginfod\"},{\"enabled\":true,\"name\":\"Default\"}],\"symbol-vendor\":[{\"enabled\":true,\"name\":\"ELF\"},{\"enabled\":true,\"name\":\"PE-COFF\"},{\"enabled\":true,\"name\":\"WASM\"}],\"system-runtime\":[{\"enabled\":true,\"name\":\"systemruntime-macosx\"}],\"trace-exporter\":[{\"enabled\":true,\"name\":\"ctf\"}],\"type-system\":[{\"enabled\":true,\"name\":\"clang\"}],\"unwind-assembly\":[{\"enabled\":true,\"name\":\"inst-emulation\"},{\"enabled\":true,\"name\":\"x86\"}]}","targets":"[{\"breakpoints\":[{\"details\":{\"Breakpoint\":{\"BKPTOptions\":{\"AutoContinue\":false,\"ConditionText\":\"\",\"EnabledState\":true,\"IgnoreCount\":0,\"OneShotState\":false},\"BKPTResolver\":{\"Options\":{\"Column\":0,\"Exact\":false,\"FileName\":\"/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/main.cpp\",\"Inlines\":true,\"LineNumber\":6,\"Offset\":0,\"SkipPrologue\":true},\"Type\":\"FileAndLine\"},\"Hardware\":false,\"Names\":[\"dap\"],\"SearchFilter\":{\"Options\":{},\"Type\":\"Unconstrained\"}}},\"hitCount\":2,\"id\":1,\"internal\":false,\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.0021320000000000002},{\"details\":{\"Breakpoint\":{\"BKPTOptions\":{\"AutoContinue\":false,\"ConditionText\":\"\",\"EnabledState\":true,\"IgnoreCount\":0,\"OneShotState\":false},\"BKPTResolver\":{\"Options\":{\"Language\":\"c\",\"NameMask\":[4,4,4,4,4,4],\"Offset\":0,\"SkipPrologue\":false,\"SymbolNames\":[\"_dl_debug_state\",\"rtld_db_dlactivity\",\"__dl_rtld_db_dlactivity\",\"r_debug_state\",\"_r_debug_state\",\"_rtld_debug_state\"]},\"Type\":\"SymbolName\"},\"Hardware\":false,\"SearchFilter\":{\"Options\":{\"ModuleList\":[\"/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2\"]},\"Type\":\"Modules\"}}},\"hitCount\":2,\"id\":-1,\"internal\":true,\"kindDescription\":\"shared-library-event\",\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.00026699999999999998}],\"dyldPluginName\":\"posix-dyld\",\"expressionEvaluation\":{\"failures\":0,\"successes\":0},\"firstStopTime\":0.029416263000000002,\"frameVariable\":{\"failures\":0,\"successes\":0},\"launchOrAttachTime\":0.023481180000000001,\"moduleIdentifiers\":[23618560,24107536,22455712,138837234442864,138836898221392,138836831227904,138837099547584,138836764006320,138836495568464,138836562679456],\"signals\":[{\"SIGSTOP\":1}],\"sourceMapDeduceCount\":0,\"sourceRealpathAttemptCount\":0,\"sourceRealpathCompatibleCount\":0,\"stopCount\":9,\"summaryProviderStatistics\":[],\"targetCreateTime\":0.0086199999999999992,\"totalBreakpointResolveTime\":0.0023990000000000001,\"totalSharedLibraryEventHitCount\":2}]","totalDebugInfoByteSize":79456,"totalDebugInfoEnabled":1,"totalDebugInfoIndexLoadedFromCache":0,"totalDebugInfoIndexSavedToCache":0,"totalDebugInfoIndexTime":0.0056049999999999997,"totalDebugInfoParseTime":0.00093999999999999997,"totalDwoErrorCount":0,"totalDwoFileCount":0,"totalLoadedDwoFileCount":0,"totalModuleCount":10,"totalModuleCountHasDebugInfo":1,"totalModuleCountWithIncompleteTypes":0,"totalModuleCountWithVariableErrors":0,"totalSymbolLocatorTime":"{\"Default\":0.0053109999999999997,\"debuginfod\":4.9999999999999996e-06}","totalSymbolTableIndexTime":0.008761999999999999,"totalSymbolTableParseTime":0.048008999999999996,"totalSymbolTableStripped":0,"totalSymbolTableSymbolCount":12698,"totalSymbolTablesLoaded":10,"totalSymbolTablesLoadedFromCache":0,"totalSymbolTablesSavedToCache":0}},"event":"terminated","seq":42,"type":"event"}
[15:39:46.592] (stdio) <-- {"command":"disconnect","request_seq":9,"seq":43,"success":true,"type":"response"}
[15:39:46.592] (stdio) <-- {"body":{"exitCode":9},"event":"exited","seq":44,"type":"event"}
========= END =========
======================================================================
FAIL: test_multiple_threads_sample_breakpoint (TestDAP_stopped_events.TestDAP_stopped_events.test_multiple_threads_sample_breakpoint)
Test that multiple threads being stopped on the same breakpoint only produces a single 'stopped' event.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/TestDAP_stopped_events.py", line 69, in test_multiple_threads_sample_breakpoint
self.verify_threads(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/stopped-events/TestDAP_stopped_events.py", line 28, in verify_threads
self.assertTrue(
AssertionError: False is not true : Invalid thread state in {'body': {'threads': [{'id': 380717, 'name': 'a.out'}, {'id': 380760, 'name': 'a.out', 'reason': 'breakpoint', 'description': 'breakpoint 1.1', 'text': 'breakpoint 1.1', 'hitBreakpointIds': [1]}, {'id': 380761, 'name': 'a.out'}]}, 'command': 'threads', 'request_seq': 8, 'seq': 40, 'success': True, 'type': 'response'}
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 5.670s
FAILED (failures=1)
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/179689
More information about the lldb-commits
mailing list