[Lldb-commits] [lldb] [lldb] Fix error : unknown error while starting lldb's C/C++ repl (PR #153560)

Shubham Sandeep Rastogi via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 19 08:35:41 PDT 2025


rastogishubham wrote:

Hi, this change broke greendragon

https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/31613/changes#00ffd8b8aa4e8cd3a2fee654d55995918886e874

******************** TEST 'lldb-api :: repl/clang/TestClangREPL.py' FAILED ********************
/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/venv/bin/python3.9 /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./lib --env LLVM_INCLUDE_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/include --env LLVM_TOOLS_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin --libcxx-include-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/include/c++/v1 --libcxx-library-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib --arch arm64 --build-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/lldb --compiler /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/clang --dsymutil /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/dsymutil --make /usr/bin/make --llvm-tools-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin --lldb-obj-root /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb --lldb-libs-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./lib --cmake-build-type Release --build-dir /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -p TestClangREPL.py
04:34:56  --
04:34:56  Exit Code: 1
04:34:56  
04:34:56  Command Output (stdout):
04:34:56  --
04:34:56  lldb version 22.0.99git (https://github.com/llvm/llvm-project.git revision da19383ae76d8483492cd52c26349ade8bfa4fbe)
04:34:56    clang revision da19383ae76d8483492cd52c26349ade8bfa4fbe
04:34:56    llvm revision da19383ae76d8483492cd52c26349ade8bfa4fbe
04:34:56  
04:34:56  78(lldb) settings clear --all
04:34:56  7no target                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           8(lldb) settings set symbols.enable-external-lookup false
04:34:56  (lldb) settings set target.inherit-tcc true
04:34:56  (lldb) settings set target.disable-aslr false
04:34:56  (lldb) settings set target.detach-on-error false
04:34:56  (lldb) settings set target.auto-apply-fixits false
04:34:56  (lldb) settings set plugin.process.gdb-remote.packet-timeout 60
04:34:56  (lldb) settings set symbols.clang-modules-cache-path "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
04:34:56  (lldb) settings set use-color false
04:34:56  (lldb) settings set show-statusline false
04:34:56  78(lldb) target create "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_basic_completion/a.out"
04:34:56  Current executable set to '/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_basic_completion/a.out' (arm64).
04:34:56  (lldb) expression --repl -l c --
04:34:56  expression --repl -l c --
04:34:56  REPL requires a running target process.
04:34:56  (lldb) b main
04:34:56  b main
04:34:56  Breakpoint 1: where = a.out`main + 24 at main.c:2:3, address = 0x0000000100003fa0
04:34:56  (lldb) run
04:34:56  run
04:34:56  Process 45174 launched: '/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_basic_completion/a.out' (arm64)
04:34:56  Process 45174 stopped
04:34:56  * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
04:34:56      frame #0: 0x000000010000bfa0 a.out`main(argc=1, argv=0x000000016fdf76b8) at main.c:2:3
04:34:56     1   	int main(int argc, char **argv) {
04:34:56  -> 2   	  return 0;
04:34:56      	  ^
04:34:56     3   	}
04:34:56  (lldb) expression --repl -l c --
04:34:56  expression --repl -l c --
04:34:56    1>    1> 3 + 3
04:34:56    1> 3   1> +   1> 3
04:34:56  (int) $0 = 6
04:34:56    2>    2>   2> long $persistent = 7; 5
04:34:56  long   2> $persistent   2> =   2> 7;   2> 5
04:34:56  (int) $1 = 5
04:34:56  (long) $persistent = 7
04:34:56    3>    3> $persistent + 10
04:34:56    3> $persistent   3> +   3> 10
04:34:56  (long) $2 = 17
04:34:56    4>    4> 
04:34:56  787no target                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           8(lldb) settings clear --all
04:34:56  (lldb) settings set symbols.enable-external-lookup false
04:34:56  (lldb) settings set target.inherit-tcc true
04:34:56  (lldb) settings set target.disable-aslr false
04:34:56  (lldb) settings set target.detach-on-error false
04:34:56  (lldb) settings set target.auto-apply-fixits false
04:34:56  (lldb) settings set plugin.process.gdb-remote.packet-timeout 60
04:34:56  (lldb) settings set symbols.clang-modules-cache-path "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
04:34:56  (lldb) settings set use-color false
04:34:56  (lldb) settings set show-statusline false
04:34:56  78(lldb) target create "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_completion_with_space_only_line/a.out"
04:34:56  Current executable set to '/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_completion_with_space_only_line/a.out' (arm64).
04:34:56  (lldb) expression --repl -l c --
04:34:56  expression --repl -l c --
04:34:56  REPL requires a running target process.
04:34:56  (lldb) b main
04:34:56  b main
04:34:56  Breakpoint 1: where = a.out`main + 24 at main.c:2:3, address = 0x0000000100003fa0
04:34:56  (lldb) run
04:34:56  run
04:34:56  Process 45971 launched: '/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_completion_with_space_only_line/a.out' (arm64)
04:34:56  Process 45971 stopped
04:34:56  * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
04:34:56      frame #0: 0x0000000102863fa0 a.out`main(argc=1, argv=0x000000016d59f690) at main.c:2:3
04:34:56     1   	int main(int argc, char **argv) {
04:34:56  -> 2   	  return 0;
04:34:56      	  ^
04:34:56     3   	}
04:34:56  (lldb) expression --repl -l c --
04:34:56  expression --repl -l c --
04:34:56    1>    1>    	3 + 3
04:34:56    1>    1>    1>    1> 
  1>  1> 3   1> +   1> 3
04:34:56  (int) $0 = 6
04:34:56    2>  settings set interpreter.prompt-on-quit false
04:34:56  quit
04:34:56    2> settings set interpreter.prompt-on-quit false
04:34:56  quit
04:34:56    2> settings   2> set   2> interpreter.prompt-on-quit   2> false  2> settings set interpreter.prompt-on-quit false 
04:34:56    3.    3.   3. quit
04:34:56  (null)
04:34:56    2>    2>   2> Skipping the following test categories: ['libstdcxx', 'msvcstl', 'dwo', 'llgs', 'fork']
04:34:56  
04:34:56  --
04:34:56  Command Output (stderr):
04:34:56  --
04:34:56  Change dir to: /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang
04:34:56  runCmd: settings clear --all
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set symbols.enable-external-lookup false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.inherit-tcc true
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.disable-aslr false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.detach-on-error false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.auto-apply-fixits false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set symbols.clang-modules-cache-path "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set use-color false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set show-statusline false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  /usr/bin/make VPATH=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -C /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_basic_completion -I /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -I /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang/Makefile all ARCH=arm64 CC=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang CC_TYPE=clang CXX=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang++ LLVM_AR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-ar AR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-ar OBJCOPY=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-objcopy STRIP=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ARCHIVER=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-ar DWP=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-dwp AR=libtool DSYMUTIL=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/dsymutil 'CODESIGN=codesign --entitlements /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist' CLANG_MODULE_CACHE_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib LLDB_OBJ_ROOT=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb OS=Darwin HOST_OS=Darwin
04:34:56  
04:34:56  /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang -g -O0 -isysroot "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -arch arm64  -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang/main.c
04:34:56  /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang  main.o -g -O0 -isysroot "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -arch arm64  -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib -Wl,-rpath,/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
04:34:56  ld: warning: ignoring duplicate libraries: '-lc++'
04:34:56  codesign --entitlements /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist -s - "a.out"
04:34:56  "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"
04:34:56  
04:34:56  
04:34:56  FAIL: LLDB (/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang-arm64) :: test_basic_completion (TestClangREPL.TestCase)
04:34:56  runCmd: settings clear --all
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set symbols.enable-external-lookup false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.inherit-tcc true
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.disable-aslr false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.detach-on-error false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set target.auto-apply-fixits false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set plugin.process.gdb-remote.packet-timeout 60
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set symbols.clang-modules-cache-path "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api"
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set use-color false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  runCmd: settings set show-statusline false
04:34:56  
04:34:56  output: 
04:34:56  
04:34:56  /usr/bin/make VPATH=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -C /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/repl/clang/TestClangREPL.test_completion_with_space_only_line -I /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -I /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang/Makefile all ARCH=arm64 CC=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang CC_TYPE=clang CXX=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang++ LLVM_AR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-ar AR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-ar OBJCOPY=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-objcopy STRIP=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ARCHIVER=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-ar DWP=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/llvm-dwp AR=libtool DSYMUTIL=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/dsymutil 'CODESIGN=codesign --entitlements /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist' CLANG_MODULE_CACHE_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib LLDB_OBJ_ROOT=/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb OS=Darwin HOST_OS=Darwin
04:34:56  
04:34:56  /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang -g -O0 -isysroot "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -arch arm64  -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info   -MT main.o -MD -MP -MF main.d -c -o main.o /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang/main.c
04:34:56  /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang  main.o -g -O0 -isysroot "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -arch arm64  -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/include -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang -I/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h  -fno-limit-debug-info     -L/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib -Wl,-rpath,/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/lib -lc++ --driver-mode=g++ -o "a.out"
04:34:56  ld: warning: ignoring duplicate libraries: '-lc++'
04:34:56  codesign --entitlements /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist -s - "a.out"
04:34:56  "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/./bin/dsymutil"  -o "a.out.dSYM" "a.out"
04:34:56  
04:34:56  
04:34:56  tearing down the child process....
04:34:56  
04:34:56  PASS: LLDB (/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang-arm64) :: test_completion_with_space_only_line (TestClangREPL.TestCase)
04:34:56  Restore dir to: /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/test
04:34:56  ======================================================================
04:34:56  ERROR: test_basic_completion (TestClangREPL.TestCase)
04:34:56     Test that we can complete a simple multiline expression
04:34:56  ----------------------------------------------------------------------
04:34:56  Traceback (most recent call last):
04:34:56    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 151, in wrapper
04:34:56      return func(*args, **kwargs)
04:34:56    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 151, in wrapper
04:34:56      return func(*args, **kwargs)
04:34:56    File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/repl/clang/TestClangREPL.py", line 60, in test_basic_completion
04:34:56      self.child.send("expression --repl -l c -- 3 + 3\n")
04:34:56  AttributeError: 'NoneType' object has no attribute 'send'
04:34:56  Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
04:34:56  ----------------------------------------------------------------------
04:34:56  Ran 2 tests in 75.842s
04:34:56  
04:34:56  FAILED (errors=1)
04:34:56  
04:34:56  --
04:34:56  
04:34:56  ********************

It has been reverted with 5abad32538d4aa6fa9a418d9dfe74d2fd275efd7, to make sure greendragon is green

https://github.com/llvm/llvm-project/pull/153560


More information about the lldb-commits mailing list