Regression

Test DWARF5 / lldb-api.commands/expression/expr-in-syscall.TestExpressionInSyscall.py (from lldb-api)

Failing for the past 1 build (Since #5406 )
Took 16 sec.

Stacktrace

Script:
--
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --codesign-identity lldb_codesign --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --env LLVM_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include --env LLVM_TOOLS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --libcxx-include-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 --libcxx-library-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./lib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 --skip-category gmodules --skip-category watchpoint --skip-category llgs --skip-category debugserver --arch=x86_64 --dwarf-version=5 /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -p TestExpressionInSyscall.py
--
Exit Code: 1

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

--
Command Output (stderr):
--
warning: (x86_64) /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/commands/expression/expr-in-syscall/TestExpressionInSyscall.test_setpgid_dsym/a.out empty dSYM file detected, dSYM was created with an executable with no debug info.
error: main.o Failed to extract range list table at offset 0xc: parsing .debug_rnglists table at offset 0x0: unexpected end of data at offset 0x0 while reading [0x0, 0x4)
error: main.o {0x0000000c}: DIE has DW_AT_ranges(DW_FORM_rnglistx 0x0) attribute, but range extraction failed (missing or invalid range list table), please file a bug and attach the file at the start of this error message
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall
runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/commands/expression/expr-in-syscall/TestExpressionInSyscall.test_setpgid_dsym -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -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/commands/expression/expr-in-syscall/Makefile MAKE_DSYM=YES all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  -std=c++11 -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -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    -nostdlib++ -nostdinc++ -cxx-isystem /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1  --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/commands/expression/expr-in-syscall/main.cpp
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"
warning: '.debug_rnglists' is not currently supported: file will be skipped
note: while processing /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/commands/expression/expr-in-syscall/TestExpressionInSyscall.test_setpgid_dsym/main.o


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_setpgid_dsym (TestExpressionInSyscall.ExprSyscallTestCase)
<bound method SBProcess.Kill of SBProcess: pid = 37601, state = stopped, threads = 1, executable = a.out>: success

runCmd: settings clear -all
output: 

runCmd: settings set symbols.enable-external-lookup false
output: 

runCmd: settings set target.inherit-tcc true
output: 

runCmd: settings set target.detach-on-error false
output: 

runCmd: settings set target.auto-apply-fixits false
output: 

runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
output: 

runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
output: 

runCmd: settings set use-color false
output: 

make VPATH=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -C /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/commands/expression/expr-in-syscall/TestExpressionInSyscall.test_setpgid_dwarf -I /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -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/commands/expression/expr-in-syscall/Makefile MAKE_DSYM=NO all ARCH=x86_64 'CC="/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"' DSYMUTIL=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/./bin/dsymutil CODESIGN=codesign CLANG_MODULE_CACHE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib

"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  -std=c++11 -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -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    -nostdlib++ -nostdinc++ -cxx-isystem /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/include/c++/v1  --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/commands/expression/expr-in-syscall/main.cpp
"/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang"  main.o -gdwarf-5 -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk" -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../../include -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall -I/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -Wl,-rpath,/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
codesign -s - "a.out"


FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_setpgid_dwarf (TestExpressionInSyscall.ExprSyscallTestCase)
<bound method SBProcess.Kill of SBProcess: pid = 38218, state = stopped, threads = 1, executable = a.out>: success

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang-x86_64) :: test_setpgid_dwo (TestExpressionInSyscall.ExprSyscallTestCase) (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
======================================================================
FAIL: test_setpgid_dsym (TestExpressionInSyscall.ExprSyscallTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1699, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py", line 17, in test_setpgid
    self.expr_syscall()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py", line 71, in expr_syscall
    self.expect_expr("release_flag = 1", result_value="1")
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2455, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 284, in check_value
    test_base.assertSuccess(val.GetError())
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2491, in assertSuccess
    self.fail(self._formatMessage(msg,
AssertionError: 'expression failed to parse:
warning: warning: got name from symbols: release_flag
error: <user expression 0>:1:16: incompatible integer to pointer conversion assigning to 'void *' from 'int'
release_flag = 1
               ^
' is not success
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
======================================================================
FAIL: test_setpgid_dwarf (TestExpressionInSyscall.ExprSyscallTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1699, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 127, in wrapper
    func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py", line 17, in test_setpgid
    self.expr_syscall()
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/test/API/commands/expression/expr-in-syscall/TestExpressionInSyscall.py", line 71, in expr_syscall
    self.expect_expr("release_flag = 1", result_value="1")
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2455, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 284, in check_value
    test_base.assertSuccess(val.GetError())
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2491, in assertSuccess
    self.fail(self._formatMessage(msg,
AssertionError: 'expression failed to parse:
warning: warning: got name from symbols: release_flag
error: <user expression 0>:1:16: incompatible integer to pointer conversion assigning to 'void *' from 'int'
release_flag = 1
               ^
' is not success
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-matrix/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 3 tests in 14.010s

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

--