Regression
Test Clang 9.0.0 / lldb-api.functionalities/scripted_process.TestScriptedProcess.py (from lldb-api)
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_900_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_900_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_900_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_900_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_900_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_900_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_900_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_900_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_900_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_900_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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:214: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/iosfwd:95: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/wchar.h:136: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_900_build/bin/../include/c++/v1/wchar.h:143: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_900_build/bin/../include/c++/v1/wchar.h:150: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_900_build/bin/../include/c++/v1/wchar.h:138: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_900_build/bin/../include/c++/v1/wchar.h:157: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_900_build/bin/../include/c++/v1/wchar.h:140: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_900_build/bin/../include/c++/v1/wchar.h:157: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_900_build/bin/../include/c++/v1/wchar.h:140: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_900_build/bin/../include/c++/v1/wchar.h:157: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_900_build/bin/../include/c++/v1/wchar.h:140: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_900_build/bin/../include/c++/v1/wchar.h:164: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_900_build/bin/../include/c++/v1/wchar.h:166: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_900_build/bin/../include/c++/v1/wchar.h:168: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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:214: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_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_900_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_900_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_900_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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:215: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__locale:14: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string:504: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string_view:175: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__string:56: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/algorithm:641: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/cstring:60: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:73:64: error: use of undeclared identifier 'strchr' char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:80:75: error: use of undeclared identifier 'strpbrk' char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:87:65: error: use of undeclared identifier 'strrchr'; did you mean 'strchr'? char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:94:76: error: use of undeclared identifier 'memchr'; did you mean 'wmemchr'? void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/wchar.h:166:16: note: 'wmemchr' declared here const wchar_t* wmemchr(const 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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:215: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__locale:14: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string:504: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string_view:175: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__string:56: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/algorithm:641: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/cstring:60: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:101:74: error: use of undeclared identifier 'strstr'; did you mean 'strchr'? char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:77:13: note: 'strchr' declared here char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:101:74: error: no matching function for call to 'strchr' char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:77:13: note: candidate disabled: <no message provided> char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ 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_900_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_900_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_900_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_900_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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:214: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/iosfwd:95: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/wchar.h:136: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_900_build/bin/../include/c++/v1/wchar.h:143: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_900_build/bin/../include/c++/v1/wchar.h:150: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_900_build/bin/../include/c++/v1/wchar.h:138: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_900_build/bin/../include/c++/v1/wchar.h:157: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_900_build/bin/../include/c++/v1/wchar.h:140: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_900_build/bin/../include/c++/v1/wchar.h:157: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_900_build/bin/../include/c++/v1/wchar.h:140: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_900_build/bin/../include/c++/v1/wchar.h:157: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_900_build/bin/../include/c++/v1/wchar.h:140: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_900_build/bin/../include/c++/v1/wchar.h:164: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_900_build/bin/../include/c++/v1/wchar.h:166: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_900_build/bin/../include/c++/v1/wchar.h:168: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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:214: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_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_900_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_900_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_900_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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:215: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__locale:14: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string:504: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string_view:175: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__string:56: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/algorithm:641: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/cstring:60: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:73:64: error: use of undeclared identifier 'strchr' char* __libcpp_strchr(const char* __s, int __c) {return (char*)strchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:80:75: error: use of undeclared identifier 'strpbrk' char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:87:65: error: use of undeclared identifier 'strrchr'; did you mean 'strchr'? char* __libcpp_strrchr(const char* __s, int __c) {return (char*)strrchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:75:13: note: 'strchr' declared here const char* strchr(const char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:94:76: error: use of undeclared identifier 'memchr'; did you mean 'wmemchr'? void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/wchar.h:166:16: note: 'wmemchr' declared here const wchar_t* wmemchr(const 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_900_build/bin/../include/c++/v1/iostream:37: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/ios:215: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__locale:14: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string:504: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string_view:175: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__string:56: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/algorithm:641: In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/cstring:60: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:101:74: error: use of undeclared identifier 'strstr'; did you mean 'strchr'? char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:77:13: note: 'strchr' declared here char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:101:74: error: no matching function for call to 'strchr' char* __libcpp_strstr(const char* __s1, const char* __s2) {return (char*)strstr(__s1, __s2);} ^ /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/string.h:77:13: note: candidate disabled: <no message provided> char* strchr( char* __s, int __c) {return __libcpp_strchr(__s, __c);} ^ 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 2.743s RESULT: FAILED (1 passes, 0 failures, 2 errors, 0 skipped, 0 expected failures, 0 unexpected successes) --