Regression

Test Clang 7.0.1 / lldb-api.python_api/sbvalue_const_addrof.TestSBValueConstAddrOf.py (from lldb-api)

Failing for the past 1 build (Since #5017 )
Took 2.6 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_701_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/python_api/sbvalue_const_addrof -p TestSBValueConstAddrOf.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/python_api/sbvalue_const_addrof
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/python_api/sbvalue_const_addrof -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dsym/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_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_701_build/bin/clang-x86_64) :: test_dsym (lldbsuite.test.lldbtest.TestSBValueConstAddrOf)
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/python_api/sbvalue_const_addrof -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dwarf/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_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_701_build/bin/clang-x86_64) :: test_dwarf (lldbsuite.test.lldbtest.TestSBValueConstAddrOf)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-x86_64) :: test_dwo (lldbsuite.test.lldbtest.TestSBValueConstAddrOf) (test case does not fall in any category of interest for this run) 
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang-x86_64) :: test_gmodules (lldbsuite.test.lldbtest.TestSBValueConstAddrOf) (test case does not fall in any category of interest for this run) 
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/tools/lldb/test
======================================================================
ERROR: test_dsym (lldbsuite.test.lldbtest.TestSBValueConstAddrOf)
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dsym/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_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:
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang"  -std=c++11 -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/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dsym -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/python_api/sbvalue_const_addrof/main.cpp
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:6:5: error: unknown type name 'uintptr_t'
    uintptr_t r0;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:7:5: error: unknown type name 'uintptr_t'
    uintptr_t r1;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:8:5: error: unknown type name 'uintptr_t'
    uintptr_t r2;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:9:5: error: unknown type name 'uintptr_t'
    uintptr_t r3;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:10:5: error: unknown type name 'uintptr_t'
    uintptr_t r4;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:11:5: error: unknown type name 'uintptr_t'
    uintptr_t pc;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:12:5: error: unknown type name 'uintptr_t'
    uintptr_t fp;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:13:5: error: unknown type name 'uintptr_t'
    uintptr_t sp;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:17:5: error: unknown type name 'uint32_t'
    uint32_t tid;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:24:88: error: use of undeclared identifier 'uintptr_t'
ThreadInfo g_thread2 = { 0x2222, "thread2", { 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, (uintptr_t)&main, 0x2006, 0x2007 }, NULL       };
                                                                                       ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:24:123: error: use of undeclared identifier 'NULL'
ThreadInfo g_thread2 = { 0x2222, "thread2", { 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, (uintptr_t)&main, 0x2006, 0x2007 }, NULL       };
                                                                                                                          ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:25:88: error: use of undeclared identifier 'uintptr_t'
ThreadInfo g_thread1 = { 0x1111, "thread1", { 0x1000, 0x1001, 0x1002, 0x1003, 0x1004, (uintptr_t)&main, 0x1006, 0x1007 }, &g_thread2 };
                                                                                       ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:30:5: error: use of undeclared identifier 'printf'
    printf ("g_thread_list is %p\n", g_thread_list_ptr);
    ^
13 errors generated.
make: *** [main.o] Error 1

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof
======================================================================
ERROR: test_dwarf (lldbsuite.test.lldbtest.TestSBValueConstAddrOf)
----------------------------------------------------------------------
Error when building test subject.

Build Command:
make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dwarf/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_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:
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/clang_701_build/bin/clang"  -std=c++11 -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/lldb-build/lldb-test-build.noindex/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.test_dwarf -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/python_api/sbvalue_const_addrof/main.cpp
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:6:5: error: unknown type name 'uintptr_t'
    uintptr_t r0;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:7:5: error: unknown type name 'uintptr_t'
    uintptr_t r1;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:8:5: error: unknown type name 'uintptr_t'
    uintptr_t r2;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:9:5: error: unknown type name 'uintptr_t'
    uintptr_t r3;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:10:5: error: unknown type name 'uintptr_t'
    uintptr_t r4;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:11:5: error: unknown type name 'uintptr_t'
    uintptr_t pc;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:12:5: error: unknown type name 'uintptr_t'
    uintptr_t fp;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:13:5: error: unknown type name 'uintptr_t'
    uintptr_t sp;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:17:5: error: unknown type name 'uint32_t'
    uint32_t tid;
    ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:24:88: error: use of undeclared identifier 'uintptr_t'
ThreadInfo g_thread2 = { 0x2222, "thread2", { 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, (uintptr_t)&main, 0x2006, 0x2007 }, NULL       };
                                                                                       ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:24:123: error: use of undeclared identifier 'NULL'
ThreadInfo g_thread2 = { 0x2222, "thread2", { 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, (uintptr_t)&main, 0x2006, 0x2007 }, NULL       };
                                                                                                                          ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:25:88: error: use of undeclared identifier 'uintptr_t'
ThreadInfo g_thread1 = { 0x1111, "thread1", { 0x1000, 0x1001, 0x1002, 0x1003, 0x1004, (uintptr_t)&main, 0x1006, 0x1007 }, &g_thread2 };
                                                                                       ^
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof/main.cpp:30:5: error: use of undeclared identifier 'printf'
    printf ("g_thread_list is %p\n", g_thread_list_ptr);
    ^
13 errors generated.
make: *** [main.o] Error 1

Test Directory:
/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/python_api/sbvalue_const_addrof
----------------------------------------------------------------------
Ran 4 tests in 0.238s

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

--