Regression

lldb-api.functionalities/data-formatter/data-formatter-stl/libcxx/string.TestDataFormatterLibcxxString.py (from lldb-api)

Failing for the past 1 build (Since #1884 )
Took 20 sec.

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/string -p TestDataFormatterLibcxxString.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/string
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: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_dsym/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -f "main.cpp" -l 95
output: Breakpoint 1: where = a.out`main + 584 at main.cpp:95:7, address = 0x0000000100001508


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 54581 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100001508 a.out`main at main.cpp:95:7
   92  	#error "Test potentially needs to be updated for a new std::string ABI."
   93  	#endif
   94  	
-> 95  	    S.assign(L"!!!!!"); // Set break point at this line.
    	      ^
   96  	    return 0;
   97  	}
Process 54581 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 54581 stopped
* thread #1: tid = 0x3be04f, 0x0000000100001508 a.out`main at main.cpp:95:7, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Ran command:
"thread list"

Got output:
Process 54581 stopped
* thread #1: tid = 0x3be04f, 0x0000000100001508 a.out`main at main.cpp:95:7, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was found)

Adding tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type filter clear', check=False)
            self.runCmd('type synth clear', check=False)
            self.runCmd(
                "settings set target.max-children-count 256",
                check=False)


runCmd: frame variable
output: (std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable"

Got output:
(std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "(std::wstring) wempty = L""" (was found)
Expecting sub string: "(std::wstring) s = L"hello world! מזל טוב!"" (was found)
Expecting sub string: "(std::wstring) S = L"!!!!"" (was found)
Expecting sub string: "(const wchar_t *) mazeltov = 0x" (was found)
Expecting sub string: "L"מזל טוב"" (was found)
Expecting sub string: "(std::string) empty = """ (was found)
Expecting sub string: "(std::string) q = "hello world"" (was found)
Expecting sub string: "(std::string) Q = "quite a long std::strin with lots of info inside it"" (was found)
Expecting sub string: "(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"" (was found)
Expecting sub string: "(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"" (was found)
Expecting sub string: "(std::u16string) u16_string = u"ß水氶"" (was found)
Expecting sub string: "(std::u16string) u16_empty = """ (was found)
Expecting sub string: "(std::u32string) u32_string = U"🍄🍅🍆🍌"" (was found)
Expecting sub string: "(std::u32string) u32_empty = """ (was found)
Expecting sub string: "(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"" (was found)
Expecting sub string: "(std::string *) null_str = nullptr" (was found)

runCmd: n
output: Process 54581 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000151d a.out`main at main.cpp:96:5
   93  	#endif
   94  	
   95  	    S.assign(L"!!!!!"); // Set break point at this line.
-> 96  	    return 0;
    	    ^
   97  	}


runCmd: frame variable
output: (std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable"

Got output:
(std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "(std::wstring) S = L"!!!!!"" (was found)
Expecting sub string: "(const wchar_t *) mazeltov = 0x" (was found)
Expecting sub string: "L"מזל טוב"" (was found)
Expecting sub string: "(std::string) q = "hello world"" (was found)
Expecting sub string: "(std::string) Q = "quite a long std::strin with lots of info inside it"" (was found)
Expecting sub string: "(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"" (was found)
Expecting sub string: "(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"" (was found)
Expecting sub string: "(std::u16string) u16_string = u"ß水氶"" (was found)
Expecting sub string: "(std::u32string) u32_string = U"🍄🍅🍆🍌"" (was found)
Expecting sub string: "(std::u32string) u32_empty = """ (was found)
Expecting sub string: "(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"" (was found)
Expecting sub string: "(std::string *) null_str = nullptr" (was found)

runCmd: frame variable garbage1
output: (std::string) garbage1 = Summary Unavailable


Ran command:
"frame variable garbage1"

Got output:
(std::string) garbage1 = Summary Unavailable

Expecting sub string: "garbage1 = Summary Unavailable" (was found)

runCmd: frame variable garbage2
output: (std::string) garbage2 = "\xfa\xfa\xfa\xfa"


Ran command:
"frame variable garbage2"

Got output:
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"

Expecting sub string: "garbage2 = "\xfa\xfa\xfa\xfa"" (was found)

runCmd: frame variable garbage3
output: (std::string) garbage3 = "\xf0\xf0"


Ran command:
"frame variable garbage3"

Got output:
(std::string) garbage3 = "\xf0\xf0"

Expecting sub string: "garbage3 = "\xf0\xf0"" (was found)

runCmd: frame variable garbage4
output: (std::string) garbage4 = Summary Unavailable


Ran command:
"frame variable garbage4"

Got output:
(std::string) garbage4 = Summary Unavailable

Expecting sub string: "garbage4 = Summary Unavailable" (was found)

runCmd: frame variable garbage5
output: (std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable garbage5"

Got output:
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "garbage5 = Summary Unavailable" (was found)

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1086a3f00> >>: success

Executing tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type filter clear', check=False)
            self.runCmd('type synth clear', check=False)
            self.runCmd(
                "settings set target.max-children-count 256",
                check=False)


runCmd: type format clear
check of return status not required
output: 

runCmd: type summary clear
check of return status not required
output: 

runCmd: type filter clear
check of return status not required
output: 

runCmd: type synth clear
check of return status not required
output: 

runCmd: settings set target.max-children-count 256
check of return status not required
output: 

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_dsym (TestDataFormatterLibcxxString.LibcxxStringDataFormatterTestCase)
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: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_dwarf/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_dwarf/a.out' (x86_64).


runCmd: breakpoint set -f "main.cpp" -l 95
output: Breakpoint 1: where = a.out`main + 584 at main.cpp:95:7, address = 0x0000000100001508


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 54645 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100001508 a.out`main at main.cpp:95:7
   92  	#error "Test potentially needs to be updated for a new std::string ABI."
   93  	#endif
   94  	
-> 95  	    S.assign(L"!!!!!"); // Set break point at this line.
    	      ^
   96  	    return 0;
   97  	}
Process 54645 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_dwarf/a.out' (x86_64)


runCmd: thread list
output: Process 54645 stopped
* thread #1: tid = 0x3be140, 0x0000000100001508 a.out`main at main.cpp:95:7, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Ran command:
"thread list"

Got output:
Process 54645 stopped
* thread #1: tid = 0x3be140, 0x0000000100001508 a.out`main at main.cpp:95:7, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was found)

Adding tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type filter clear', check=False)
            self.runCmd('type synth clear', check=False)
            self.runCmd(
                "settings set target.max-children-count 256",
                check=False)


runCmd: frame variable
output: (std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable"

Got output:
(std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "(std::wstring) wempty = L""" (was found)
Expecting sub string: "(std::wstring) s = L"hello world! מזל טוב!"" (was found)
Expecting sub string: "(std::wstring) S = L"!!!!"" (was found)
Expecting sub string: "(const wchar_t *) mazeltov = 0x" (was found)
Expecting sub string: "L"מזל טוב"" (was found)
Expecting sub string: "(std::string) empty = """ (was found)
Expecting sub string: "(std::string) q = "hello world"" (was found)
Expecting sub string: "(std::string) Q = "quite a long std::strin with lots of info inside it"" (was found)
Expecting sub string: "(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"" (was found)
Expecting sub string: "(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"" (was found)
Expecting sub string: "(std::u16string) u16_string = u"ß水氶"" (was found)
Expecting sub string: "(std::u16string) u16_empty = """ (was found)
Expecting sub string: "(std::u32string) u32_string = U"🍄🍅🍆🍌"" (was found)
Expecting sub string: "(std::u32string) u32_empty = """ (was found)
Expecting sub string: "(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"" (was found)
Expecting sub string: "(std::string *) null_str = nullptr" (was found)

runCmd: n
output: Process 54645 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000151d a.out`main at main.cpp:96:5
   93  	#endif
   94  	
   95  	    S.assign(L"!!!!!"); // Set break point at this line.
-> 96  	    return 0;
    	    ^
   97  	}


runCmd: frame variable
output: (std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable"

Got output:
(std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a30 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "(std::wstring) S = L"!!!!!"" (was found)
Expecting sub string: "(const wchar_t *) mazeltov = 0x" (was found)
Expecting sub string: "L"מזל טוב"" (was found)
Expecting sub string: "(std::string) q = "hello world"" (was found)
Expecting sub string: "(std::string) Q = "quite a long std::strin with lots of info inside it"" (was found)
Expecting sub string: "(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"" (was found)
Expecting sub string: "(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"" (was found)
Expecting sub string: "(std::u16string) u16_string = u"ß水氶"" (was found)
Expecting sub string: "(std::u32string) u32_string = U"🍄🍅🍆🍌"" (was found)
Expecting sub string: "(std::u32string) u32_empty = """ (was found)
Expecting sub string: "(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"" (was found)
Expecting sub string: "(std::string *) null_str = nullptr" (was found)

runCmd: frame variable garbage1
output: (std::string) garbage1 = Summary Unavailable


Ran command:
"frame variable garbage1"

Got output:
(std::string) garbage1 = Summary Unavailable

Expecting sub string: "garbage1 = Summary Unavailable" (was found)

runCmd: frame variable garbage2
output: (std::string) garbage2 = "\xfa\xfa\xfa\xfa"


Ran command:
"frame variable garbage2"

Got output:
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"

Expecting sub string: "garbage2 = "\xfa\xfa\xfa\xfa"" (was found)

runCmd: frame variable garbage3
output: (std::string) garbage3 = "\xf0\xf0"


Ran command:
"frame variable garbage3"

Got output:
(std::string) garbage3 = "\xf0\xf0"

Expecting sub string: "garbage3 = "\xf0\xf0"" (was found)

runCmd: frame variable garbage4
output: (std::string) garbage4 = Summary Unavailable


Ran command:
"frame variable garbage4"

Got output:
(std::string) garbage4 = Summary Unavailable

Expecting sub string: "garbage4 = Summary Unavailable" (was found)

runCmd: frame variable garbage5
output: (std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable garbage5"

Got output:
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "garbage5 = Summary Unavailable" (was found)

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1080d1d20> >>: success

Executing tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type filter clear', check=False)
            self.runCmd('type synth clear', check=False)
            self.runCmd(
                "settings set target.max-children-count 256",
                check=False)


runCmd: type format clear
check of return status not required
output: 

runCmd: type summary clear
check of return status not required
output: 

runCmd: type filter clear
check of return status not required
output: 

runCmd: type synth clear
check of return status not required
output: 

runCmd: settings set target.max-children-count 256
check of return status not required
output: 

PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_dwarf (TestDataFormatterLibcxxString.LibcxxStringDataFormatterTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_dwo (TestDataFormatterLibcxxString.LibcxxStringDataFormatterTestCase) (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: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_gmodules/a.out
output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_gmodules/a.out' (x86_64).


runCmd: breakpoint set -f "main.cpp" -l 95
output: Breakpoint 1: where = a.out`main + 584 at main.cpp:95:7, address = 0x0000000100001518


Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>[0-9]+) locations\.$
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): (?P<num_locations>no) locations \(pending\)\.
Not matched

Expecting pattern: ^Breakpoint (?P<bpno>[0-9]+): where = (?P<module>.*)`(?P<symbol>[+\-]{0,1}[^+]+)( \+ (?P<offset>[0-9]+)){0,1}( \[inlined\] (?P<inline_symbol>.*)){0,1} at (?P<file>[^:]+):(?P<line_no>[0-9]+)(?P<column>(:[0-9]+)?), address = (?P<address>0x[0-9a-fA-F]+)$
Matched

runCmd: run
output: Process 54695 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100001518 a.out`main at main.cpp:95:7
   92  	#error "Test potentially needs to be updated for a new std::string ABI."
   93  	#endif
   94  	
-> 95  	    S.assign(L"!!!!!"); // Set break point at this line.
    	      ^
   96  	    return 0;
   97  	}
Process 54695 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.test_with_run_command_gmodules/a.out' (x86_64)


runCmd: thread list
output: Process 54695 stopped
* thread #1: tid = 0x3be232, 0x0000000100001518 a.out`main at main.cpp:95:7, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Ran command:
"thread list"

Got output:
Process 54695 stopped
* thread #1: tid = 0x3be232, 0x0000000100001518 a.out`main at main.cpp:95:7, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1

Expecting sub string: "stopped" (was found)
Expecting sub string: "stop reason = breakpoint" (was found)

Adding tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type filter clear', check=False)
            self.runCmd('type synth clear', check=False)
            self.runCmd(
                "settings set target.max-children-count 256",
                check=False)


runCmd: frame variable
output: (std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a38 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable"

Got output:
(std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a38 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "(std::wstring) wempty = L""" (was found)
Expecting sub string: "(std::wstring) s = L"hello world! מזל טוב!"" (was found)
Expecting sub string: "(std::wstring) S = L"!!!!"" (was found)
Expecting sub string: "(const wchar_t *) mazeltov = 0x" (was found)
Expecting sub string: "L"מזל טוב"" (was found)
Expecting sub string: "(std::string) empty = """ (was found)
Expecting sub string: "(std::string) q = "hello world"" (was found)
Expecting sub string: "(std::string) Q = "quite a long std::strin with lots of info inside it"" (was found)
Expecting sub string: "(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"" (was found)
Expecting sub string: "(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"" (was found)
Expecting sub string: "(std::u16string) u16_string = u"ß水氶"" (was found)
Expecting sub string: "(std::u16string) u16_empty = """ (was found)
Expecting sub string: "(std::u32string) u32_string = U"🍄🍅🍆🍌"" (was found)
Expecting sub string: "(std::u32string) u32_empty = """ (was found)
Expecting sub string: "(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"" (was found)
Expecting sub string: "(std::string *) null_str = nullptr" (was found)

runCmd: n
output: Process 54695 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000152d a.out`main at main.cpp:96:5
   93  	#endif
   94  	
   95  	    S.assign(L"!!!!!"); // Set break point at this line.
-> 96  	    return 0;
    	    ^
   97  	}


runCmd: frame variable
output: (std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a38 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable"

Got output:
(std::wstring) wempty = L""
(std::wstring) s = L"hello world! מזל טוב!"
(std::wstring) S = L"!!!!!"
(const wchar_t *) mazeltov = 0x0000000100003a38 L"מזל טוב"
(std::string) empty = ""
(std::string) q = "hello world"
(std::string) Q = "quite a long std::strin with lots of info inside it"
(std::string) TheVeryLongOne = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"...
(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"
(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"
(std::u16string) u16_string = u"ß水氶"
(std::u16string) u16_empty = ""
(std::u32string) u32_string = U"🍄🍅🍆🍌"
(std::u32string) u32_empty = ""
(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"
(std::string *) null_str = nullptr
(std::string) garbage1 = Summary Unavailable
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"
(std::string) garbage3 = "\xf0\xf0"
(std::string) garbage4 = Summary Unavailable
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "(std::wstring) S = L"!!!!!"" (was found)
Expecting sub string: "(const wchar_t *) mazeltov = 0x" (was found)
Expecting sub string: "L"מזל טוב"" (was found)
Expecting sub string: "(std::string) q = "hello world"" (was found)
Expecting sub string: "(std::string) Q = "quite a long std::strin with lots of info inside it"" (was found)
Expecting sub string: "(std::string) IHaveEmbeddedZeros = "a\0b\0c\0d"" (was found)
Expecting sub string: "(std::wstring) IHaveEmbeddedZerosToo = L"hello world!\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"" (was found)
Expecting sub string: "(std::u16string) u16_string = u"ß水氶"" (was found)
Expecting sub string: "(std::u32string) u32_string = U"🍄🍅🍆🍌"" (was found)
Expecting sub string: "(std::u32string) u32_empty = """ (was found)
Expecting sub string: "(std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >) uchar = "aaaaa"" (was found)
Expecting sub string: "(std::string *) null_str = nullptr" (was found)

runCmd: frame variable garbage1
output: (std::string) garbage1 = Summary Unavailable


Ran command:
"frame variable garbage1"

Got output:
(std::string) garbage1 = Summary Unavailable

Expecting sub string: "garbage1 = Summary Unavailable" (was found)

runCmd: frame variable garbage2
output: (std::string) garbage2 = "\xfa\xfa\xfa\xfa"


Ran command:
"frame variable garbage2"

Got output:
(std::string) garbage2 = "\xfa\xfa\xfa\xfa"

Expecting sub string: "garbage2 = "\xfa\xfa\xfa\xfa"" (was found)

runCmd: frame variable garbage3
output: (std::string) garbage3 = "\xf0\xf0"


Ran command:
"frame variable garbage3"

Got output:
(std::string) garbage3 = "\xf0\xf0"

Expecting sub string: "garbage3 = "\xf0\xf0"" (was found)

runCmd: frame variable garbage4
output: (std::string) garbage4 = Summary Unavailable


Ran command:
"frame variable garbage4"

Got output:
(std::string) garbage4 = Summary Unavailable

Expecting sub string: "garbage4 = Summary Unavailable" (was found)

runCmd: frame variable garbage5
output: (std::string) garbage5 = Summary Unavailable


Ran command:
"frame variable garbage5"

Got output:
(std::string) garbage5 = Summary Unavailable

Expecting sub string: "garbage5 = Summary Unavailable" (was found)

XPASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_gmodules (TestDataFormatterLibcxxString.LibcxxStringDataFormatterTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x1086a3cc0> >>: success

Executing tearDown hook:         def cleanup():
            self.runCmd('type format clear', check=False)
            self.runCmd('type summary clear', check=False)
            self.runCmd('type filter clear', check=False)
            self.runCmd('type synth clear', check=False)
            self.runCmd(
                "settings set target.max-children-count 256",
                check=False)


runCmd: type format clear
check of return status not required
output: 

runCmd: type summary clear
check of return status not required
output: 

runCmd: type filter clear
check of return status not required
output: 

runCmd: type synth clear
check of return status not required
output: 

runCmd: settings set target.max-children-count 256
check of return status not required
output: 

Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
----------------------------------------------------------------------
Ran 4 tests in 19.050s

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

--