Regression
lldb-api.functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr.TestDataFormatterLibcxxSharedPtr.py (from lldb-api)
Stacktrace
Script: -- /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-python /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/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-sanitized/lldb-build/lldb-test-build.noindex -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --inferior-env ASAN_OPTIONS=detect_stack_use_after_return=1 --inferior-env DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/lldb --compiler /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/clang --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/dsymutil --llvm-tools-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin --lldb-libs-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr -p TestDataFormatterLibcxxSharedPtr.py -- Exit Code: 1 Command Output (stdout): -- lldb version 13.0.99 (http://labmaster3.local/git/llvm-project.git revision ed88e57f6587ea51d1c106acbdd82a083f746606) clang revision ed88e57f6587ea51d1c106acbdd82a083f746606 llvm revision ed88e57f6587ea51d1c106acbdd82a083f746606 Skipping the following test categories: ['darwin-log', 'libstdcxx', 'dwo', 'llgs', 'fork'] -- Command Output (stderr): -- Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr 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-sanitized/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: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: runCmd: frame variable *sp_empty output: (int) *sp_empty = <parent is NULL> Ran command: "frame variable *sp_empty" Got output: (int) *sp_empty = <parent is NULL> Expecting sub string: "(int) *sp_empty = <parent is NULL>" (was found) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x113d68840> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_shared_ptr_variables_dsym (TestDataFormatterLibcxxSharedPtr.TestCase) 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-sanitized/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: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: runCmd: frame variable *sp_empty output: (int) *sp_empty = <parent is NULL> Ran command: "frame variable *sp_empty" Got output: (int) *sp_empty = <parent is NULL> Expecting sub string: "(int) *sp_empty = <parent is NULL>" (was found) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x112fe1d20> >>: success PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_shared_ptr_variables_dwarf (TestDataFormatterLibcxxSharedPtr.TestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_shared_ptr_variables_dwo (TestDataFormatterLibcxxSharedPtr.TestCase) (test case does not fall in any category of interest for this run) 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-sanitized/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: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: runCmd: settings set target.env-vars ASAN_OPTIONS=detect_stack_use_after_return=1 DYLD_INSERT_LIBRARIES=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/host-compiler/lib/clang/13.0.99/lib/darwin/libclang_rt.asan_osx_dynamic.dylib output: runCmd: frame variable *sp_empty output: (int) *sp_empty = <parent is NULL> Ran command: "frame variable *sp_empty" Got output: (int) *sp_empty = <parent is NULL> Expecting sub string: "(int) *sp_empty = <parent is NULL>" (was found) FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_shared_ptr_variables_gmodules (TestDataFormatterLibcxxSharedPtr.TestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1135b1c60> >>: success Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test ====================================================================== FAIL: test_shared_ptr_variables_gmodules (TestDataFormatterLibcxxSharedPtr.TestCase) Test `frame variable` output for `std::shared_ptr` types. ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1830, in test_method return attrvalue(self) File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/TestDataFormatterLibcxxSharedPtr.py", line 44, in test_shared_ptr_variables self.assertRegex(valobj.summary, r"^10( strong=1)? weak=1$") AssertionError: Regex didn't match: '^10( strong=1)? weak=1$' not found in '10' Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang ---------------------------------------------------------------------- Ran 4 tests in 34.877s RESULT: FAILED (2 passes, 1 failures, 0 errors, 1 skipped, 0 expected failures, 0 unexpected successes) --