Regression
lldb-api.tools/lldb-server.TestGdbRemoteThreadsInStopReply.py (from lldb-api)
Failing for the past 1 build
(Since
#1589 )

Stacktrace
Script: -- /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-python /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server -p TestGdbRemoteThreadsInStopReply.py -- Exit Code: 1 Command Output (stdout): -- lldb version 11.0.99 clang revision 4c2c6c7cc1663ee123be806fa02ead0f175568bc llvm revision 4c2c6c7cc1663ee123be806fa02ead0f175568bc LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx Skipping following debug info categories: ['dwo'] -- Command Output (stderr): -- Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs' Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: Adding tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None Adding tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Adding tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Adding tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) Executing tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) 2020-06-30 16:37:42,438 WARNING failed to send kill packet to debug monitor: <class 'TypeError'>; ignoring Executing tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Executing tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Executing tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_QListThreadsInStopReply_supported_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_QListThreadsInStopReply_supported_llgs (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) (llgs tests) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: Adding tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None Adding tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Adding tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Adding tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_no_QListThreadsInStopReply_supplies_no_threads_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) Executing tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) 2020-06-30 16:37:51,440 WARNING failed to send kill packet to debug monitor: <class 'TypeError'>; ignoring Executing tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Executing tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Executing tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_no_QListThreadsInStopReply_supplies_no_threads_llgs (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) (llgs tests) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: Adding tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None Adding tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Adding tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Adding tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_stop_reply_contains_thread_pcs_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) Executing tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) 2020-06-30 16:38:00,991 WARNING failed to send kill packet to debug monitor: <class 'TypeError'>; ignoring Executing tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Executing tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Executing tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_stop_reply_contains_thread_pcs_llgs (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) (llgs tests) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: Adding tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None Adding tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Adding tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Adding tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_stop_reply_reports_correct_threads_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) Executing tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) 2020-06-30 16:38:10,038 WARNING failed to send kill packet to debug monitor: <class 'TypeError'>; ignoring Executing tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Executing tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Executing tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_stop_reply_reports_correct_threads_llgs (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) (llgs tests) runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: Adding tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None Adding tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Adding tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Adding tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_stop_reply_reports_multiple_threads_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) Executing tearDown hook: def shutdown_socket(): if sock: try: # send the kill packet so lldb-server shuts down gracefully sock.sendall(GdbRemoteTestCaseBase._GDBREMOTE_KILL_PACKET) except: logger.warning( "failed to send kill packet to debug monitor: {}; ignoring".format( sys.exc_info()[0])) try: sock.close() except: logger.warning( "failed to close socket to debug monitor: {}; ignoring".format( sys.exc_info()[0])) 2020-06-30 16:38:18,407 WARNING failed to send kill packet to debug monitor: <class 'TypeError'>; ignoring Executing tearDown hook: def shutdown_debug_monitor(): try: server.terminate() except: logger.warning( "failed to terminate server for debug monitor: {}; ignoring".format( sys.exc_info()[0])) Executing tearDown hook: def cleanupSubprocesses(self): # Ensure any subprocesses are cleaned up for p in self.subprocesses: p.terminate() del p del self.subprocesses[:] # Ensure any forked processes are cleaned up for pid in self.forkedProcessPids: try: os.kill(pid, signal.SIGTERM) except OSError: pass Executing tearDown hook: def shutdown_named_pipe(): # Close the pipe. try: named_pipe.close() except: print("failed to close named pipe") None # Delete the pipe. try: os.remove(named_pipe_path) except: print("failed to delete named pipe: {}".format(named_pipe_path)) None # Delete the temp directory. try: os.rmdir(temp_dir) except: print( "failed to delete temp dir: {}, directory contents: '{}'".format( temp_dir, os.listdir(temp_dir))) None runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup false output: runCmd: settings set target.auto-apply-fixits false output: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60 output: runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api" output: runCmd: settings set use-color false output: runCmd: setting set target.prefer-dynamic-value no-dynamic-values output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11-x86_64) :: test_stop_reply_reports_multiple_threads_llgs (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) (llgs tests) Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test ====================================================================== FAIL: test_no_QListThreadsInStopReply_supplies_no_threads_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper func(*args, **kwargs) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 233, in test_no_QListThreadsInStopReply_supplies_no_threads_debugserver self.no_QListThreadsInStopReply_supplies_no_threads(5) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 224, in no_QListThreadsInStopReply_supplies_no_threads stop_reply_threads = self.gather_stop_reply_threads(None, thread_count) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 98, in gather_stop_reply_threads post_startup_log_lines, thread_count, ["threads"])["threads"] File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 42, in gather_stop_reply_fields hw_info = self.parse_hw_info(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 132, in parse_hw_info process_info = self.parse_process_info_response(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 711, in parse_process_info_response self.assertTrue(key in self._KNOWN_PROCESS_INFO_KEYS) AssertionError: False is not True Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ====================================================================== FAIL: test_stop_reply_contains_thread_pcs_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper func(*args, **kwargs) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 315, in test_stop_reply_contains_thread_pcs_debugserver self.stop_reply_contains_thread_pcs(5) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 285, in stop_reply_contains_thread_pcs self.ENABLE_THREADS_IN_STOP_REPLY_ENTRIES, thread_count) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 107, in gather_stop_reply_pcs thread_count, ["threads", "thread-pcs"]) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 42, in gather_stop_reply_fields hw_info = self.parse_hw_info(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 132, in parse_hw_info process_info = self.parse_process_info_response(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 711, in parse_process_info_response self.assertTrue(key in self._KNOWN_PROCESS_INFO_KEYS) AssertionError: False is not True Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ====================================================================== FAIL: test_stop_reply_reports_correct_threads_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper func(*args, **kwargs) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 272, in test_stop_reply_reports_correct_threads_debugserver self.stop_reply_reports_correct_threads(5) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 248, in stop_reply_reports_correct_threads self.ENABLE_THREADS_IN_STOP_REPLY_ENTRIES, thread_count) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 98, in gather_stop_reply_threads post_startup_log_lines, thread_count, ["threads"])["threads"] File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 42, in gather_stop_reply_fields hw_info = self.parse_hw_info(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 132, in parse_hw_info process_info = self.parse_process_info_response(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 711, in parse_process_info_response self.assertTrue(key in self._KNOWN_PROCESS_INFO_KEYS) AssertionError: False is not True Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ====================================================================== FAIL: test_stop_reply_reports_multiple_threads_debugserver (TestGdbRemoteThreadsInStopReply.TestGdbRemoteThreadsInStopReply) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 140, in wrapper func(*args, **kwargs) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 206, in test_stop_reply_reports_multiple_threads_debugserver self.stop_reply_reports_multiple_threads(5) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 197, in stop_reply_reports_multiple_threads self.ENABLE_THREADS_IN_STOP_REPLY_ENTRIES, thread_count) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 98, in gather_stop_reply_threads post_startup_log_lines, thread_count, ["threads"])["threads"] File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 42, in gather_stop_reply_fields hw_info = self.parse_hw_info(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py", line 132, in parse_hw_info process_info = self.parse_process_info_response(context) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 711, in parse_process_info_response self.assertTrue(key in self._KNOWN_PROCESS_INFO_KEYS) AssertionError: False is not True Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-11 ---------------------------------------------------------------------- Ran 10 tests in 44.993s RESULT: FAILED (1 passes, 4 failures, 0 errors, 5 skipped, 0 expected failures, 0 unexpected successes) --