Regression

Test DWARF5 / lldb-api.functionalities/breakpoint/breakpoint_command.TestBreakpointCommandsFromPython.py (from lldb-api)

Failing for the past 1 build (Since #5393 )
Took 2.9 sec.

Stacktrace

Script:
--
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --env LLVM_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include --env LLVM_TOOLS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --libcxx-include-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 --libcxx-library-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 --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 --skip-category llgs --skip-category debugserver --arch=x86_64 --dwarf-version=5 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -p TestBreakpointCommandsFromPython.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 16.0.99git (https://github.com/llvm/llvm-project.git revision 6b940588a0fc77e60a61dc5e9a2fdcca1c1109e1)
  clang revision 6b940588a0fc77e60a61dc5e9a2fdcca1c1109e1
  llvm revision 6b940588a0fc77e60a61dc5e9a2fdcca1c1109e1
Skipping the following test categories: ['gmodules', 'watchpoint', 'llgs', 'debugserver', 'libstdcxx', 'dwo', 'llgs', 'fork']

--
Command Output (stderr):
--
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_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-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.test_bkpt_cmd_bad_arguments -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT a.o -MD -MP -MF a.d -c -o a.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/a.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT b.o -MD -MP -MF b.d -c -o b.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/b.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o a.o b.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"


runCmd: command script import --allow-reload ./bktptcmd.py
output: 

Ran command:
"command script import --allow-reload ./bktptcmd.py"

Got output:


PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_bkpt_cmd_bad_arguments (TestBreakpointCommandsFromPython.PythonBreakpointCommandSettingTestCase)
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: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.test_step_out_python -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/main.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT a.o -MD -MP -MF a.d -c -o a.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/a.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang" -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT b.o -MD -MP -MF b.d -c -o b.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/b.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o a.o b.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_step_out_python (TestBreakpointCommandsFromPython.PythonBreakpointCommandSettingTestCase)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
FAIL: test_step_out_python (TestBreakpointCommandsFromPython.PythonBreakpointCommandSettingTestCase)
   Test stepping out using a python breakpoint command.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py", line 19, in test_step_out_python
    self.do_set_python_command_from_python()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py", line 73, in do_set_python_command_from_python
    self.assertTrue(
AssertionError: False is not True : Got at least two breakpoint locations
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 0.989s

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

--