Regression

Test Clang 7.0.1 / lldb-api.commands/process/attach-resume.TestAttachResume.py (from lldb-api)

Failing for the past 1 build (Since Unstable#2894 )
Took 23 sec.

Stacktrace

Script:
--
/usr/local/Frameworks/Python.framework/Versions/3.7/bin/python3.7 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --arch=x86_64 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/process/attach-resume -p TestAttachResume.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 13.0.99 (http://labmaster3.local/git/llvm-project.git revision 3a64b7080d5033b3bd6f28fbac4a24d9490dc3c3)
  clang revision 3a64b7080d5033b3bd6f28fbac4a24d9490dc3c3
  llvm revision 3a64b7080d5033b3bd6f28fbac4a24d9490dc3c3
Skipping the following test categories: ['darwin-log', 'gmodules', 'watchpoint', 'libstdcxx', 'dwo', 'llgs', 'fork']

--
Command Output (stderr):
--
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/process/attach-resume
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error 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-matrix/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: process attach -p 9098
output: Process 9098 stopped
* thread #1, stop reason = signal SIGSTOP
    frame #0: 0x0000000117dd4000 dyld`_dyld_start
dyld`_dyld_start:
->  0x117dd4000 <+0>: popq   %rdi
    0x117dd4001 <+1>: pushq  $0x0
    0x117dd4003 <+3>: movq   %rsp, %rbp
    0x117dd4006 <+6>: andq   $-0x10, %rsp
Executable module set to "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/commands/process/attach-resume/TestAttachResume.test_attach_continue_interrupt_detach/AttachResume".
Architecture set to: x86_64-apple-macosx-.


Adding tearDown hook:         self.addTearDownHook(lambda: self.dbg.SetAsync(old_async))


runCmd: c
output: Process 9098 resuming


runCmd: process interrupt
output: 

runCmd: c
output: Process 9098 resuming


runCmd: process interrupt
runCmd failed!
error: Failed to halt process: Halt timed out. State = running


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_attach_continue_interrupt_detach (TestAttachResume.AttachResumeTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c9d6b70> >>: success

Executing tearDown hook:         self.addTearDownHook(lambda: self.dbg.SetAsync(old_async))


Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
FAIL: test_attach_continue_interrupt_detach (TestAttachResume.AttachResumeTestCase)
   Test attach/continue/interrupt/detach
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 119, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py", line 27, in test_attach_continue_interrupt_detach
    self.process_attach_continue_interrupt_detach()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py", line 58, in process_attach_continue_interrupt_detach
    self.runCmd("process interrupt")
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2161, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Command 'process interrupt
Error output:
error: Failed to halt process: Halt timed out. State = running
' did not return successfully
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 1 test in 22.595s

RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)

--