Regression

Test Clang 11.0.1 / lldb-api.functionalities/scripted_process.TestScriptedProcess.py (from lldb-api)

Failing for the past 1 build (Since #5017 )
Took 5.3 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 --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 --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 --hermetic-libcxx --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/clang_1101_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/functionalities/scripted_process -p TestScriptedProcess.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 16.0.99git (http://labmaster3.local/git/llvm-project.git revision db008af501534d4590542253ae3acf783986f5f7)
  clang revision db008af501534d4590542253ae3acf783986f5f7
  llvm revision db008af501534d4590542253ae3acf783986f5f7
['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__lldb_init_module', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'scripted_process', 'x']
['ABCMeta', 'ARM64_GPR', 'INTEL64_GPR', 'ScriptedProcess', 'ScriptedThread', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'abstractmethod', 'lldb', 'six']
['__abstractmethods__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_abc_impl', 'get_loaded_images', 'get_memory_region_containing_address', 'get_process_id', 'get_registers_for_thread', 'get_scripted_thread_plugin', 'get_thread_with_id', 'get_threads_info', 'is_alive', 'launch', 'loaded_images', 'memory_regions', 'read_memory_at_address', 'resume', 'should_stop', 'stack_memory_dump', 'stop', 'threads']
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/scripted_process
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: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/scripted_process/TestScriptedProcess.test_invalid_scripted_register_context -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -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/scripted_process/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_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 USE_HERMETIC_LIBCPP=1

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang-x86_64) :: test_invalid_scripted_register_context (TestScriptedProcess.ScriptedProcesTestCase)
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: script import lldb.plugins
output: 

Ran command:
"script import lldb.plugins"

Got output:

Not expecting sub string: "ModuleNotFoundError" (was not found)

runCmd: script dir(lldb.plugins)
output: ['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__lldb_init_module', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'scripted_process', 'x']


Ran command:
"script dir(lldb.plugins)"

Got output:
['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__lldb_init_module', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'scripted_process', 'x']

Expecting sub string: "scripted_process" (was found)

runCmd: script import lldb.plugins.scripted_process
output: 

Ran command:
"script import lldb.plugins.scripted_process"

Got output:

Not expecting sub string: "ModuleNotFoundError" (was not found)

runCmd: script dir(lldb.plugins.scripted_process)
output: ['ABCMeta', 'ARM64_GPR', 'INTEL64_GPR', 'ScriptedProcess', 'ScriptedThread', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'abstractmethod', 'lldb', 'six']


Ran command:
"script dir(lldb.plugins.scripted_process)"

Got output:
['ABCMeta', 'ARM64_GPR', 'INTEL64_GPR', 'ScriptedProcess', 'ScriptedThread', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'abstractmethod', 'lldb', 'six']

Expecting sub string: "ScriptedProcess" (was found)

runCmd: script from lldb.plugins.scripted_process import ScriptedProcess
output: 

Ran command:
"script from lldb.plugins.scripted_process import ScriptedProcess"

Got output:

Not expecting sub string: "ImportError" (was not found)

runCmd: script dir(ScriptedProcess)
output: ['__abstractmethods__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_abc_impl', 'get_loaded_images', 'get_memory_region_containing_address', 'get_process_id', 'get_registers_for_thread', 'get_scripted_thread_plugin', 'get_thread_with_id', 'get_threads_info', 'is_alive', 'launch', 'loaded_images', 'memory_regions', 'read_memory_at_address', 'resume', 'should_stop', 'stack_memory_dump', 'stop', 'threads']


Ran command:
"script dir(ScriptedProcess)"

Got output:
['__abstractmethods__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_abc_impl', 'get_loaded_images', 'get_memory_region_containing_address', 'get_process_id', 'get_registers_for_thread', 'get_scripted_thread_plugin', 'get_thread_with_id', 'get_threads_info', 'is_alive', 'launch', 'loaded_images', 'memory_regions', 'read_memory_at_address', 'resume', 'should_stop', 'stack_memory_dump', 'stop', 'threads']

Expecting sub string: "launch" (was found)

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang-x86_64) :: test_python_plugin_package (TestScriptedProcess.ScriptedProcesTestCase)
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: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/scripted_process/TestScriptedProcess.test_scripted_process_and_scripted_thread -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -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/scripted_process/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_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 USE_HERMETIC_LIBCPP=1

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang-x86_64) :: test_scripted_process_and_scripted_thread (TestScriptedProcess.ScriptedProcesTestCase)
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
ERROR: test_invalid_scripted_register_context (TestScriptedProcess.ScriptedProcesTestCase)
   Test that we can launch an lldb scripted process with an invalid
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/scripted_process/TestScriptedProcess.test_invalid_scripted_register_context -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -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/scripted_process/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_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 USE_HERMETIC_LIBCPP=1

Build Command Output:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/Makefile.rules ARCH=x86_64 \
		DYLIB_ONLY=YES DYLIB_NAME=baz DYLIB_C_SOURCES=baz.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang" -g -O0 -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/packages/Python/lldbsuite/test/make -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   -DCOMPILING_LLDB_TEST_DLL -fPIC -MT baz.o -MD -MP -MF baz.d -c -o baz.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/baz.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang" baz.o  -g -O0 -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/packages/Python/lldbsuite/test/make -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     --driver-mode=g++ -install_name "@executable_path/libbaz.dylib" -dynamiclib -o "libbaz.dylib"
codesign -s - "libbaz.dylib"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  "libbaz.dylib"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang"  -std=c++11 -g -O0 -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/scripted_process -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     --driver-mode=g++ -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/scripted_process/main.cpp
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:214:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:95:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:137:77: error: use of undeclared identifier 'wcschr'
wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);}
                                                                            ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk'
wchar_t* __libcpp_wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcspbrk(__s1, __s2);}
                                                                                      ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'?
wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);}
                                                                             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:139:16: note: 'wcschr' declared here
const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'?
wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
                                                                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:141:16: note: 'wcschr' declared here
      wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:158:86: error: no matching function for call to 'wcschr'
wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
                                                                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:141:16: note: candidate disabled: <no message provided>
      wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'const wchar_t *'
wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
                                                                                            ^~~~
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:141:38: note: passing argument to parameter '__s' here
      wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:165:60: error: unknown type name 'size_t'
wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__s, __c, __n);}
                                                           ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:167:57: error: unknown type name 'size_t'
const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
                                                        ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:169:57: error: unknown type name 'size_t'
      wchar_t* wmemchr(      wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
                                                        ^
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:214:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:189:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    streampos;
             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:190:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    wstreampos;
             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:195:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    u16streampos;
             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:196:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    u32streampos;
             ^
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:215:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__locale:14:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string:506:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string_view:175:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__string:57:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/algorithm:639:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:46:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace
using ::ptrdiff_t;
      ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/cstddef:50:9: error: no member named 'size_t' in the global namespace
using ::size_t;
      ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/cstddef:53:9: error: no member named 'max_align_t' in the global namespace
using ::max_align_t;
      ~~^
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:215:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__locale:14:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string:506:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string_view:175:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__string:57:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/algorithm:639:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:61:5: error: unknown type name 'size_t'
    size_t    __size_;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:65:38: error: unknown type name 'size_t'
    initializer_list(const _Ep* __b, size_t __s) _NOEXCEPT
                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:73:13: error: unknown type name 'size_t'
    typedef size_t    size_type;
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [main.o] Error 1

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process
======================================================================
ERROR: test_scripted_process_and_scripted_thread (TestScriptedProcess.ScriptedProcesTestCase)
   Test that we can launch an lldb scripted process using the SBAPI,
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/scripted_process/TestScriptedProcess.test_scripted_process_and_scripted_thread -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process -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/scripted_process/Makefile all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_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 USE_HERMETIC_LIBCPP=1

Build Command Output:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/Makefile.rules ARCH=x86_64 \
		DYLIB_ONLY=YES DYLIB_NAME=baz DYLIB_C_SOURCES=baz.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang" -g -O0 -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/packages/Python/lldbsuite/test/make -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   -DCOMPILING_LLDB_TEST_DLL -fPIC -MT baz.o -MD -MP -MF baz.d -c -o baz.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/baz.c
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang" baz.o  -g -O0 -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/packages/Python/lldbsuite/test/make -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     --driver-mode=g++ -install_name "@executable_path/libbaz.dylib" -dynamiclib -o "libbaz.dylib"
codesign -s - "libbaz.dylib"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  "libbaz.dylib"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/clang"  -std=c++11 -g -O0 -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/scripted_process -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     --driver-mode=g++ -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/scripted_process/main.cpp
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:214:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:95:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:137:77: error: use of undeclared identifier 'wcschr'
wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);}
                                                                            ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk'
wchar_t* __libcpp_wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcspbrk(__s1, __s2);}
                                                                                      ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'?
wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);}
                                                                             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:139:16: note: 'wcschr' declared here
const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'?
wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
                                                                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:141:16: note: 'wcschr' declared here
      wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:158:86: error: no matching function for call to 'wcschr'
wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
                                                                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:141:16: note: candidate disabled: <no message provided>
      wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
               ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'const wchar_t *'
wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
                                                                                            ^~~~
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:141:38: note: passing argument to parameter '__s' here
      wchar_t* wcschr(      wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:165:60: error: unknown type name 'size_t'
wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__s, __c, __n);}
                                                           ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:167:57: error: unknown type name 'size_t'
const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
                                                        ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/wchar.h:169:57: error: unknown type name 'size_t'
      wchar_t* wmemchr(      wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
                                                        ^
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:214:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:189:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    streampos;
             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:190:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    wstreampos;
             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:195:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    u16streampos;
             ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iosfwd:196:14: error: use of undeclared identifier 'mbstate_t'
typedef fpos<mbstate_t>    u32streampos;
             ^
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:215:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__locale:14:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string:506:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string_view:175:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__string:57:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/algorithm:639:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:46:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace
using ::ptrdiff_t;
      ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/cstddef:50:9: error: no member named 'size_t' in the global namespace
using ::size_t;
      ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/cstddef:53:9: error: no member named 'max_align_t' in the global namespace
using ::max_align_t;
      ~~^
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process/main.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/iostream:37:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/ios:215:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__locale:14:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string:506:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/string_view:175:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/__string:57:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/algorithm:639:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:61:5: error: unknown type name 'size_t'
    size_t    __size_;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:65:38: error: unknown type name 'size_t'
    initializer_list(const _Ep* __b, size_t __s) _NOEXCEPT
                                     ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_1101_build/bin/../include/c++/v1/initializer_list:73:13: error: unknown type name 'size_t'
    typedef size_t    size_type;
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [main.o] Error 1

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/scripted_process
----------------------------------------------------------------------
Ran 3 tests in 3.136s

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

--