Regression

Test Clang 9.0.0 / lldb-api.functionalities/gdb_remote_client.TestPlatformKill.py (from lldb-api)

Failing for the past 1 build (Since #5017 )
Took 32 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_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/gdb_remote_client -p TestPlatformKill.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
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/gdb_remote_client
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/gdb_remote_client -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestPlatformKill.test_kill_different_platform -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/gdb_remote_client -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/gdb_remote_client/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 CXX_SOURCES=sleep.cpp

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/clang-x86_64) :: test_kill_different_platform (TestPlatformKill.TestPlatformKill)
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/gdbclientutils.py", line 509, in run
    self._socket.accept()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/gdbclientutils.py", line 391, in accept
    client, client_addr = self._server_socket.accept()
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/socket.py", line 292, in accept
    fd, addr = self._accept()
socket.timeout: timed out
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
ERROR: test_kill_different_platform (TestPlatformKill.TestPlatformKill)
   Test connecting to a remote linux platform
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/gdb_remote_client -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestPlatformKill.test_kill_different_platform -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/gdb_remote_client -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/gdb_remote_client/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 CXX_SOURCES=sleep.cpp

Build Command Output:
"/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/gdb_remote_client -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 sleep.o -MD -MP -MF sleep.d -c -o sleep.o /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/gdb_remote_client/sleep.cpp
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/gdb_remote_client/sleep.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/thread:88:
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/gdb_remote_client/sleep.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/thread:88:
/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/gdb_remote_client/sleep.cpp:1:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/thread:89:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/__functional_base:15:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/typeinfo:60:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/exception:81:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/cstdlib:85:
In file included from /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/stdlib.h:100:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:769:12: error: no member named 'labs' in the global namespace; did you mean 'abs'?
  return ::labs(__x);
         ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:768:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:773:12: error: no member named 'llabs' in the global namespace
  return ::llabs(__x);
         ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:781:12: error: no member named 'fabsf' in the global namespace
  return ::fabsf(__lcpp_x);
         ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:785:12: error: no member named 'fabs' in the global namespace; did you mean 'abs'?
  return ::fabs(__lcpp_x);
         ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:768:39: note: 'abs' declared here
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:790:12: error: no member named 'fabsl' in the global namespace
  return ::fabsl(__lcpp_x);
         ~~^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_900_build/bin/../include/c++/v1/math.h:804:34: error: unknown type name 'ldiv_t'
inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [sleep.o] Error 1

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/gdb_remote_client
----------------------------------------------------------------------
Ran 1 test in 30.032s

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

--