Issue |
138938
|
Summary |
[lldb][tests] Fix or disable flaky TestDAP_module.py test
|
Labels |
new issue
|
Assignees |
|
Reporter |
slydiman
|
[lldb-arm-ubuntu](https://lab.llvm.org/buildbot/#/builders/18/builds/15575)
```
UNRESOLVED: lldb-api :: tools/lldb-dap/module/TestDAP_module.py (1192 of 3017)
******************** TEST 'lldb-api :: tools/lldb-dap/module/TestDAP_module.py' FAILED ********************
Script:
--
/usr/bin/python3.10 /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --arch armv8l --build-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/module -p TestDAP_module.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 21.0.0git (https://github.com/llvm/llvm-project.git revision d1b3eeb24460fb65773db712e4cc0e204ffcaa0d)
clang revision d1b3eeb24460fb65773db712e4cc0e204ffcaa0d
llvm revision d1b3eeb24460fb65773db712e4cc0e204ffcaa0d
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']
--
Command Output (stderr):
--
========= DEBUG ADAPTER PROTOCOL LOGS =========
...
1746544142.715790272 --> (stdin/stdout) {"command":"disconnect","type":"request","arguments":{"terminateDebuggee":true},"seq":8}
1746544142.719504356 <-- (stdin/stdout) {"body":{"category":"console","output":"Process 891626 exited with status = 9 (0x00000009) killed\n"},"event":"output","seq":0,"type":"event"}
1746544142.721021175 <-- (stdin/stdout) {"body":{"$__lldb_statistics":{"commands":"{\"settings clear\":1}","memory":"{\"strings\":{\"bytesTotal\":1048576,\"bytesUnused\":446614,\"bytesUsed\":601962}}","targets":"[{\"breakpoints\":[{\"details\":{\"Breakpoint\":{\"BKPTOptions\":{\"AutoContinue\":false,\"ConditionText\":\"\",\"EnabledState\":true,\"IgnoreCount\":0,\"OneShotState\":false},\"BKPTResolver\":{\"Options\":{\"Column\":0,\"Exact\":false,\"FileName\":\"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/module/main.cpp\",\"Inlines\":true,\"LineNumber\":5,\"Offset\":0,\"SkipPrologue\":true},\"Type\":\"FileAndLine\"},\"Hardware\":false,\"Names\":[\"dap\"],\"SearchFilter\":{\"Options\":{},\"Type\":\"Unconstrained\"}}},\"hitCount\":1,\"id\":1,\"internal\":false,\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.0071329999999999996},{\"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/arm-linux-gnueabihf/ld-linux-armhf.so.3\"]},\"Type\":\"Modules\"}}},\"hitCount\":2,\"id\":-1,\"internal\":true,\"kindDescription\":\"shared-library-event\",\"numLocations\":1,\"numResolvedLocations\":1,\"resolveTime\":0.00033500000000000001}],\"dyldPluginName\":\"posix-dyld\",\"expressionEvaluation\":{\"failures\":0,\"successes\":0},\"firstStopTime\":0.150458223,\"frameVariable\":{\"failures\":0,\"successes\":0},\"launchOrAttachTime\":0.12215203099999999,\"moduleIdentifiers\":[43763272,44357264,-607123592,-471856688,-452982368,-473838952,-641711744],\"signals\":[{\"SIGSTOP\":1}],\"sourceMapDeduceCount\":0,\"sourceRealpathAttemptCount\":0,\"sourceRealpathCompatibleCount\":0,\"stopCount\":7,\"summaryProviderStatistics\":[],\"targetCreateTime\":0.0014300000000000001,\"totalBreakpointResolveTime\":0.0074679999999999998,\"totalSharedLibraryEventHitCount\":2}]","totalDebugInfoByteSize":1008981,"totalDebugInfoEnabled":3,"totalDebugInfoIndexLoadedFromCache":0,"totalDebugInfoIndexSavedToCache":0,"totalDebugInfoIndexTime":0.035303000000000001,"totalDebugInfoParseTime":0.06371700000000001,"totalModuleCount":7,"totalModuleCountHasDebugInfo":3,"totalModuleCountWithIncompleteTypes":0,"totalModuleCountWithVariableErrors":0,"totalSymbolLocatorTime":"{\"Default\":0.0036189999999999998,\"debuginfod\":1.9000000000000001e-05}","totalSymbolTableIndexTime":0.0096699999999999998,"totalSymbolTableParseTime":0.050785999999999998,"totalSymbolTableStripped":0,"totalSymbolTableSymbolCount":13316,"totalSymbolTablesLoaded":7,"totalSymbolTablesLoadedFromCache":0,"totalSymbolTablesSavedToCache":0}},"event":"terminated","seq":0,"type":"event"}
1746544142.721141815 <-- (stdin/stdout) {"command":"disconnect","request_seq":8,"seq":0,"success":true,"type":"response"}
1746544142.721267939 <-- (stdin/stdout) {"body":{"exitCode":9},"event":"exited","seq":0,"type":"event"}
========= END =========
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_compile_units (TestDAP_module.TestDAP_module)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_modules (TestDAP_module.TestDAP_module)
UNSUPPORTED: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_modules_dsym (TestDAP_module.TestDAP_module) (requires one of macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator)
======================================================================
ERROR: test_modules (TestDAP_module.TestDAP_module)
Mac or linux.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2065, in tearDown
Base.tearDown(self)
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1105, in tearDown
hook() # try the plain call and hope it works
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 429, in cleanup
self.dap_server.request_disconnect(terminateDebuggee=True)
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py", line 723, in request_disconnect
return self.send_recv(command_dict)
File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py", line 338, in send_recv
raise ValueError(desc)
ValueError: no response for "disconnect"
Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang
----------------------------------------------------------------------
Ran 3 tests in 12.722s
FAILED (errors=1, skipped=1)
========= DEBUG ADAPTER PROTOCOL LOGS =========
...
1746544153.681101561 --> (stdin/stdout) {"command":"modules","type":"request","seq":29}
1746544153.681569099 <-- (stdin/stdout) {"body":{"modules":[{"addressRange":"7012352","debugInfoSize":"1.1KB","id":"FEA566D8","name":"a.out.stripped","path":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/a.out.stripped","symbolFilePath":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/a.out","symbolStatus":"Symbols loaded."},{"addressRange":"4153675776","debugInfoSize":"983.3KB","id":"0D794E6C-AF7E-D8CB-B9BA-E385B4F8753F-5A793D65","name":"ld-linux-armhf.so.3","path":"/usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3","symbolFilePath":"/usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3","symbolStatus":"Symbols loaded."},{"addressRange":"4151377920","id":"E7A82D80-2FDA-232E-9C99-661C9BAA1445-B1AFEA53","name":"libm.so.6","path":"/lib/arm-linux-gnueabihf/libm.so.6","symbolStatus":"Symbols not found."},{"addressRange":"4151181312","id":"3654A16E-35F7-EEF1-0C40-3DDB5E0689B1-F36B76A6","name":"libgcc_s.so.1","path":"/lib/arm-linux-gnueabihf/libgcc_s.so.1","symbolStatus":"Symbols not found."},{"addressRange":"4153409536","debugInfoSize":"988B","id":"E45065E0","name":"libfoo.so","path":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/libfoo.so","symbolFilePath":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/libfoo.so","symbolStatus":"Symbols loaded."},{"addressRange":"4149936128","id":"B1D0C0EB-A8EA-E644-0B34-664CA4DCF80A-F1F2788D","name":"libc.so.6","path":"/lib/arm-linux-gnueabihf/libc.so.6","symbolStatus":"Symbols not found."},{"addressRange":"4151771136","id":"9958B23A-FBFD-6813-A91D-7350E4D19199-A930F418","name":"libstdc++.so.6","path":"/lib/arm-linux-gnueabihf/libstdc++.so.6","symbolStatus":"Symbols not found."}]},"command":"modules","request_seq":29,"seq":0,"success":true,"type":"response"}
1746544154.182250977 --> (stdin/stdout) {"command":"modules","type":"request","seq":30}
1746544154.182707310 <-- (stdin/stdout) {"body":{"modules":[{"addressRange":"7012352","debugInfoSize":"1.1KB","id":"FEA566D8","name":"a.out.stripped","path":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/a.out.stripped","symbolFilePath":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/a.out","symbolStatus":"Symbols loaded."},{"addressRange":"4153675776","debugInfoSize":"983.3KB","id":"0D794E6C-AF7E-D8CB-B9BA-E385B4F8753F-5A793D65","name":"ld-linux-armhf.so.3","path":"/usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3","symbolFilePath":"/usr/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3","symbolStatus":"Symbols loaded."},{"addressRange":"4151377920","id":"E7A82D80-2FDA-232E-9C99-661C9BAA1445-B1AFEA53","name":"libm.so.6","path":"/lib/arm-linux-gnueabihf/libm.so.6","symbolStatus":"Symbols not found."},{"addressRange":"4151181312","id":"3654A16E-35F7-EEF1-0C40-3DDB5E0689B1-F36B76A6","name":"libgcc_s.so.1","path":"/lib/arm-linux-gnueabihf/libgcc_s.so.1","symbolStatus":"Symbols not found."},{"addressRange":"4153409536","debugInfoSize":"988B","id":"E45065E0","name":"libfoo.so","path":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/libfoo.so","symbolFilePath":"/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/tools/lldb-dap/module/TestDAP_module.test_modules/libfoo.so","symbolStatus":"Symbols loaded."},{"addressRange":"4149936128","id":"B1D0C0EB-A8EA-E644-0B34-664CA4DCF80A-F1F2788D","name":"libc.so.6","path":"/lib/arm-linux-gnueabihf/libc.so.6","symbolStatus":"Symbols not found."},{"addressRange":"4151771136","id":"9958B23A-FBFD-6813-A91D-7350E4D19199-A930F418","name":"libstdc++.so.6","path":"/lib/arm-linux-gnueabihf/libstdc++.so.6","symbolStatus":"Symbols not found."}]},"command":"modules","request_seq":30,"seq":0,"success":true,"type":"response"}
1746544154.190908194 --> (stdin/stdout) {"command":"disconnect","type":"request","arguments":{"terminateDebuggee":true},"seq":31}
========= END =========
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs