Regression

lldb-api.commands/watchpoints/watchpoint_commands/command.TestWatchpointCommandPython.py (from lldb-api)

Failing for the past 1 build (Since #2043 )
Took 1 min 4 sec.

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 -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -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/14.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --arch x86_64 --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/host-compiler/bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin --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/commands/watchpoints/watchpoint_commands/command -p TestWatchpointCommandPython.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 14.0.99 (http://labmaster3.local/git/llvm-project.git revision 87261caa550d2399b0556af44f60e1482d8c4179)
  clang revision 87261caa550d2399b0556af44f60e1482d8c4179
  llvm revision 87261caa550d2399b0556af44f60e1482d8c4179
Skipping the following test categories: ['libstdcxx', 'dwo', 'llgs', 'fork']

--
Command Output (stderr):
--
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command
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-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/14.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -C /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.test_continue_in_watchpoint_command -I /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -I /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api CXX_SOURCES=main.cpp EXE=test_continue_in_watchpoint_command

"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang"  -std=c++11 -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp
"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang"  main.o -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     --driver-mode=g++ -o "test_continue_in_watchpoint_command"
codesign -s - "test_continue_in_watchpoint_command"
"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil"  -o "test_continue_in_watchpoint_command.dSYM" "test_continue_in_watchpoint_command"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.test_continue_in_watchpoint_command/test_continue_in_watchpoint_command
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.test_continue_in_watchpoint_command/test_continue_in_watchpoint_command' (x86_64).


runCmd: breakpoint set -l 14
output: Breakpoint 1: where = test_continue_in_watchpoint_command`main + 50 at main.cpp:14:5, address = 0x0000000100000ed2


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
runCmd failed!
error: process exited with status -1 (tried to attach to process already being debugged)


Command 'run' failed!

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang-x86_64) :: test_continue_in_watchpoint_command (TestWatchpointCommandPython.WatchpointPythonCommandTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10a7a02a0> >>: success

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-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/14.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -C /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.test_watchpoint_command -I /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -I /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api CXX_SOURCES=main.cpp EXE=test_watchpoint_command

"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang"  -std=c++11 -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command/main.cpp
"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang"  main.o -g -O0 -fno-builtin -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command -I/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     --driver-mode=g++ -o "test_watchpoint_command"
codesign -s - "test_watchpoint_command"
"/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil"  -o "test_watchpoint_command.dSYM" "test_watchpoint_command"


runCmd: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.test_watchpoint_command/test_watchpoint_command
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.test_watchpoint_command/test_watchpoint_command' (x86_64).


runCmd: breakpoint set -l 14
output: Breakpoint 1: where = test_watchpoint_command`main + 50 at main.cpp:14:5, address = 0x0000000100000ed2


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
runCmd failed!
error: process exited with status -1 (tried to attach to process already being debugged)


Command 'run' failed!

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang-x86_64) :: test_watchpoint_command (TestWatchpointCommandPython.WatchpointPythonCommandTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x109aabb70> >>: success

Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
FAIL: test_continue_in_watchpoint_command (TestWatchpointCommandPython.WatchpointPythonCommandTestCase)
   Test continue in a watchpoint command.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py", line 110, in test_continue_in_watchpoint_command
    self.runCmd("run", RUN_SUCCEEDED)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2045, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Process is launched successfully
Error output:
error: process exited with status -1 (tried to attach to process already being debugged)

Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang
======================================================================
FAIL: test_watchpoint_command (TestWatchpointCommandPython.WatchpointPythonCommandTestCase)
   Test 'watchpoint command'.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py", line 48, in test_watchpoint_command
    self.runCmd("run", RUN_SUCCEEDED)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2045, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Process is launched successfully
Error output:
error: process exited with status -1 (tried to attach to process already being debugged)

Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 63.768s

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

--