Regression

lldb-api.functionalities/data-formatter/data-formatter-stl/libcxx/map.TestDataFormatterLibccMap.py (from lldb-api)

Failing for the past 1 build (Since Failed#737 )
Took 2 min 3 sec.

Stacktrace

lldb version 10.0.99 (http://labmaster3.local/git/llvm-project.git revision 1e25109f93ffe5b28b28a2359e69143b7fb4aa5f)
  clang revision 995c18fc5051850782b1c096233867b8e56e0dea
  llvm revision 995c18fc5051850782b1c096233867b8e56e0dea
LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin
LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin
libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']

Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs'
Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/dotest.py --arch=x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --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 --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./lib --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 /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map -p TestDataFormatterLibccMap.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map
runCmd: settings set symbols.enable-external-lookup 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: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.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/map/TestDataFormatterLibccMap.test_with_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -p "Set break point at this line."
output: Breakpoint 1: 14 locations.


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

runCmd: run
output: Process 35332 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000fe5 a.out`main at main.cpp:25:8
   22  	{
   23  	    intint_map ii;
   24  	    
-> 25  	    ii[0] = 0; // Set break point at this line.
    	       ^
   26  	    ii[1] = 1;
   27  		thefoo_rw(1);  // Set break point at this line.
   28  	    ii[2] = 0;

Process 35332 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.test_with_run_command_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 35332 stopped
* thread #1: tid = 0x86051d3, 0x0000000100000fe5 a.out`main at main.cpp:25:8, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Expecting sub string: stopped
Matched

Expecting sub string: stop reason = breakpoint
Matched

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: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $0 = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame var ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $1 = size=2 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=2
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=2 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=2
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=4 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = 3
Matched

Expecting sub string: second = 1
Matched

runCmd: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $2 = size=8 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
  [4] = (first = 4, second = 0)
  [5] = (first = 5, second = 1)
  [6] = (first = 6, second = 0)
  [7] = (first = 7, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=8
Matched

Expecting sub string: [5] = 
Matched

Expecting sub string: first = 5
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [7] = 
Matched

Expecting sub string: first = 7
Matched

Expecting sub string: second = 1
Matched

runCmd: frame var ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=8 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
  [4] = (first = 4, second = 0)
  [5] = (first = 5, second = 1)
  [6] = (first = 6, second = 0)
  [7] = (first = 7, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=8
Matched

Expecting sub string: [5] = 
Matched

Expecting sub string: first = 5
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [7] = 
Matched

Expecting sub string: first = 7
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii[0]
output: (std::__1::pair<const int, int>) [0] = (first = 0, second = 0)


Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

runCmd: frame variable ii[3]
output: (std::__1::pair<const int, int>) [3] = (first = 3, second = 1)


Expecting sub string: first =
Matched

Expecting sub string: second =
Matched

runCmd: continue
output: Process 35332 resuming
Process 35332 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.5
    frame #0: 0x00000001000011c1 a.out`main at main.cpp:41:5
   38  	    ii.clear();
   39  	    
   40  	    strint_map si;
-> 41  	    thefoo_rw(1);  // Set break point at this line.
    	    ^
   42  		
   43  	    si["zero"] = 0;
   44  		thefoo_rw(1);  // Set break point at this line.



runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: continue
output: Process 35332 resuming
Process 35332 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.6
    frame #0: 0x000000010000121d a.out`main at main.cpp:44:2
   41  	    thefoo_rw(1);  // Set break point at this line.
   42  		
   43  	    si["zero"] = 0;
-> 44  		thefoo_rw(1);  // Set break point at this line.
    		^
   45  	    si["one"] = 1;
   46  	    si["two"] = 2;
   47  	    si["three"] = 3;



runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=1 {
  [0] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=1
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=4 {
  [0] = (first = "one", second = 1)
  [1] = (first = "three", second = 3)
  [2] = (first = "two", second = 2)
  [3] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = "one"
Matched

Expecting sub string: second = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = "two"
Matched

Expecting sub string: second = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = "three"
Matched

Expecting sub string: second = 3
Matched

runCmd: p si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) $3 = size=4 {
  [0] = (first = "one", second = 1)
  [1] = (first = "three", second = 3)
  [2] = (first = "two", second = 2)
  [3] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = "one"
Matched

Expecting sub string: second = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = "two"
Matched

Expecting sub string: second = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = "three"
Matched

Expecting sub string: second = 3
Matched

runCmd: frame variable si[0]
output: (std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int>) [0] = (first = "one", second = 1)


Expecting sub string: first = 
Matched

Expecting sub string: one
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) is = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) is = size=4 {
  [0] = (first = 1, second = "is")
  [1] = (first = 2, second = "smart")
  [2] = (first = 3, second = "!!!")
  [3] = (first = 85, second = "goofy")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "goofy"
Matched

Expecting sub string: first = 85
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "is"
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "smart"
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: second = "!!!"
Matched

Expecting sub string: first = 3
Matched

runCmd: p is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) $4 = size=4 {
  [0] = (first = 1, second = "is")
  [1] = (first = 2, second = "smart")
  [2] = (first = 3, second = "!!!")
  [3] = (first = 85, second = "goofy")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "goofy"
Matched

Expecting sub string: first = 85
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "is"
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "smart"
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: second = "!!!"
Matched

Expecting sub string: first = 3
Matched

runCmd: frame variable is[0]
output: (std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) [0] = (first = 1, second = "is")


Expecting sub string: first = 
Matched

Expecting sub string: second =
Matched

runCmd: frame variable is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) is = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) ss = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) ss = size=3 {
  [0] = (first = "casa", second = "house")
  [1] = (first = "ciao", second = "hello")
  [2] = (first = "gatto", second = "cat")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=3
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "hello"
Matched

Expecting sub string: first = "ciao"
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "house"
Matched

Expecting sub string: first = "casa"
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "cat"
Matched

Expecting sub string: first = "gatto"
Matched

runCmd: p ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) $5 = size=3 {
  [0] = (first = "casa", second = "house")
  [1] = (first = "ciao", second = "hello")
  [2] = (first = "gatto", second = "cat")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=3
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "hello"
Matched

Expecting sub string: first = "ciao"
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "house"
Matched

Expecting sub string: first = "casa"
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "cat"
Matched

Expecting sub string: first = "gatto"
Matched

runCmd: frame variable ss[2]
output: (std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) [2] = (first = "gatto", second = "cat")


Expecting sub string: gatto
Matched

Expecting sub string: cat
Matched

runCmd: frame variable ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) ss = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x108809150> >>: 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-10-x86_64) :: test_with_run_command_dsym (TestDataFormatterLibccMap.LibcxxMapDataFormatterTestCase)
runCmd: settings set symbols.enable-external-lookup 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: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.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/map/TestDataFormatterLibccMap.test_with_run_command_dwarf/a.out' (x86_64).


runCmd: breakpoint set -p "Set break point at this line."
output: Breakpoint 1: 14 locations.


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

runCmd: run
output: Process 36293 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000fe5 a.out`main at main.cpp:25:8
   22  	{
   23  	    intint_map ii;
   24  	    
-> 25  	    ii[0] = 0; // Set break point at this line.
    	       ^
   26  	    ii[1] = 1;
   27  		thefoo_rw(1);  // Set break point at this line.
   28  	    ii[2] = 0;

Process 36293 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.test_with_run_command_dwarf/a.out' (x86_64)


runCmd: thread list
output: Process 36293 stopped
* thread #1: tid = 0x86058e8, 0x0000000100000fe5 a.out`main at main.cpp:25:8, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Expecting sub string: stopped
Matched

Expecting sub string: stop reason = breakpoint
Matched

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: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $0 = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame var ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $1 = size=2 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=2
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=2 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=2
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=4 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = 3
Matched

Expecting sub string: second = 1
Matched

runCmd: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $2 = size=8 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
  [4] = (first = 4, second = 0)
  [5] = (first = 5, second = 1)
  [6] = (first = 6, second = 0)
  [7] = (first = 7, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=8
Matched

Expecting sub string: [5] = 
Matched

Expecting sub string: first = 5
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [7] = 
Matched

Expecting sub string: first = 7
Matched

Expecting sub string: second = 1
Matched

runCmd: frame var ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=8 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
  [4] = (first = 4, second = 0)
  [5] = (first = 5, second = 1)
  [6] = (first = 6, second = 0)
  [7] = (first = 7, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=8
Matched

Expecting sub string: [5] = 
Matched

Expecting sub string: first = 5
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [7] = 
Matched

Expecting sub string: first = 7
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii[0]
output: (std::__1::pair<const int, int>) [0] = (first = 0, second = 0)


Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

runCmd: frame variable ii[3]
output: (std::__1::pair<const int, int>) [3] = (first = 3, second = 1)


Expecting sub string: first =
Matched

Expecting sub string: second =
Matched

runCmd: continue
output: Process 36293 resuming
Process 36293 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.5
    frame #0: 0x00000001000011c1 a.out`main at main.cpp:41:5
   38  	    ii.clear();
   39  	    
   40  	    strint_map si;
-> 41  	    thefoo_rw(1);  // Set break point at this line.
    	    ^
   42  		
   43  	    si["zero"] = 0;
   44  		thefoo_rw(1);  // Set break point at this line.



runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: continue
output: Process 36293 resuming
Process 36293 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.6
    frame #0: 0x000000010000121d a.out`main at main.cpp:44:2
   41  	    thefoo_rw(1);  // Set break point at this line.
   42  		
   43  	    si["zero"] = 0;
-> 44  		thefoo_rw(1);  // Set break point at this line.
    		^
   45  	    si["one"] = 1;
   46  	    si["two"] = 2;
   47  	    si["three"] = 3;



runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=1 {
  [0] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=1
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=4 {
  [0] = (first = "one", second = 1)
  [1] = (first = "three", second = 3)
  [2] = (first = "two", second = 2)
  [3] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = "one"
Matched

Expecting sub string: second = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = "two"
Matched

Expecting sub string: second = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = "three"
Matched

Expecting sub string: second = 3
Matched

runCmd: p si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) $3 = size=4 {
  [0] = (first = "one", second = 1)
  [1] = (first = "three", second = 3)
  [2] = (first = "two", second = 2)
  [3] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = "one"
Matched

Expecting sub string: second = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = "two"
Matched

Expecting sub string: second = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = "three"
Matched

Expecting sub string: second = 3
Matched

runCmd: frame variable si[0]
output: (std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int>) [0] = (first = "one", second = 1)


Expecting sub string: first = 
Matched

Expecting sub string: one
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) is = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) is = size=4 {
  [0] = (first = 1, second = "is")
  [1] = (first = 2, second = "smart")
  [2] = (first = 3, second = "!!!")
  [3] = (first = 85, second = "goofy")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "goofy"
Matched

Expecting sub string: first = 85
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "is"
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "smart"
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: second = "!!!"
Matched

Expecting sub string: first = 3
Matched

runCmd: p is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) $4 = size=4 {
  [0] = (first = 1, second = "is")
  [1] = (first = 2, second = "smart")
  [2] = (first = 3, second = "!!!")
  [3] = (first = 85, second = "goofy")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "goofy"
Matched

Expecting sub string: first = 85
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "is"
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "smart"
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: second = "!!!"
Matched

Expecting sub string: first = 3
Matched

runCmd: frame variable is[0]
output: (std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) [0] = (first = 1, second = "is")


Expecting sub string: first = 
Matched

Expecting sub string: second =
Matched

runCmd: frame variable is
output: (std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) is = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) ss = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) ss = size=3 {
  [0] = (first = "casa", second = "house")
  [1] = (first = "ciao", second = "hello")
  [2] = (first = "gatto", second = "cat")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=3
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "hello"
Matched

Expecting sub string: first = "ciao"
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "house"
Matched

Expecting sub string: first = "casa"
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "cat"
Matched

Expecting sub string: first = "gatto"
Matched

runCmd: p ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) $5 = size=3 {
  [0] = (first = "casa", second = "house")
  [1] = (first = "ciao", second = "hello")
  [2] = (first = "gatto", second = "cat")
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=3
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: second = "hello"
Matched

Expecting sub string: first = "ciao"
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: second = "house"
Matched

Expecting sub string: first = "casa"
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: second = "cat"
Matched

Expecting sub string: first = "gatto"
Matched

runCmd: frame variable ss[2]
output: (std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) [2] = (first = "gatto", second = "cat")


Expecting sub string: gatto
Matched

Expecting sub string: cat
Matched

runCmd: frame variable ss
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >) ss = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10826db10> >>: 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-10-x86_64) :: test_with_run_command_dwarf (TestDataFormatterLibccMap.LibcxxMapDataFormatterTestCase)
UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_with_run_command_dwo (TestDataFormatterLibccMap.LibcxxMapDataFormatterTestCase) (test case does not fall in any category of interest for this run) 
runCmd: settings set symbols.enable-external-lookup 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: file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.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/map/TestDataFormatterLibccMap.test_with_run_command_gmodules/a.out' (x86_64).


runCmd: breakpoint set -p "Set break point at this line."
output: Breakpoint 1: 14 locations.


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

runCmd: run
output: Process 37381 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000fe5 a.out`main at main.cpp:25:8
   22  	{
   23  	    intint_map ii;
   24  	    
-> 25  	    ii[0] = 0; // Set break point at this line.
    	       ^
   26  	    ii[1] = 1;
   27  		thefoo_rw(1);  // Set break point at this line.
   28  	    ii[2] = 0;

Process 37381 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.test_with_run_command_gmodules/a.out' (x86_64)


runCmd: thread list
output: Process 37381 stopped
* thread #1: tid = 0x86060bd, 0x0000000100000fe5 a.out`main at main.cpp:25:8, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Expecting sub string: stopped
Matched

Expecting sub string: stop reason = breakpoint
Matched

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: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $0 = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame var ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $1 = size=2 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=2
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=2 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=2
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = 1
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=4 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = 2
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = 3
Matched

Expecting sub string: second = 1
Matched

runCmd: p ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) $2 = size=8 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
  [4] = (first = 4, second = 0)
  [5] = (first = 5, second = 1)
  [6] = (first = 6, second = 0)
  [7] = (first = 7, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=8
Matched

Expecting sub string: [5] = 
Matched

Expecting sub string: first = 5
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [7] = 
Matched

Expecting sub string: first = 7
Matched

Expecting sub string: second = 1
Matched

runCmd: frame var ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=8 {
  [0] = (first = 0, second = 0)
  [1] = (first = 1, second = 1)
  [2] = (first = 2, second = 0)
  [3] = (first = 3, second = 1)
  [4] = (first = 4, second = 0)
  [5] = (first = 5, second = 1)
  [6] = (first = 6, second = 0)
  [7] = (first = 7, second = 1)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=8
Matched

Expecting sub string: [5] = 
Matched

Expecting sub string: first = 5
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [7] = 
Matched

Expecting sub string: first = 7
Matched

Expecting sub string: second = 1
Matched

runCmd: frame variable ii[0]
output: (std::__1::pair<const int, int>) [0] = (first = 0, second = 0)


Expecting sub string: first = 0
Matched

Expecting sub string: second = 0
Matched

runCmd: frame variable ii[3]
output: (std::__1::pair<const int, int>) [3] = (first = 3, second = 1)


Expecting sub string: first =
Matched

Expecting sub string: second =
Matched

runCmd: continue
output: Process 37381 resuming
Process 37381 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.5
    frame #0: 0x00000001000011c1 a.out`main at main.cpp:41:5
   38  	    ii.clear();
   39  	    
   40  	    strint_map si;
-> 41  	    thefoo_rw(1);  // Set break point at this line.
    	    ^
   42  		
   43  	    si["zero"] = 0;
   44  		thefoo_rw(1);  // Set break point at this line.



runCmd: frame variable ii
output: (std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >) ii = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=0
Matched

Expecting sub string: {}
Matched

runCmd: continue
output: Process 37381 resuming
Process 37381 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.6
    frame #0: 0x000000010000121d a.out`main at main.cpp:44:2
   41  	    thefoo_rw(1);  // Set break point at this line.
   42  		
   43  	    si["zero"] = 0;
-> 44  		thefoo_rw(1);  // Set break point at this line.
    		^
   45  	    si["one"] = 1;
   46  	    si["two"] = 2;
   47  	    si["three"] = 3;



runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=1 {
  [0] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=1
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

runCmd: frame variable si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) si = size=4 {
  [0] = (first = "one", second = 1)
  [1] = (first = "three", second = 3)
  [2] = (first = "two", second = 2)
  [3] = (first = "zero", second = 0)
}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Matched

Expecting sub string: [0] = 
Matched

Expecting sub string: first = "zero"
Matched

Expecting sub string: second = 0
Matched

Expecting sub string: [1] = 
Matched

Expecting sub string: first = "one"
Matched

Expecting sub string: second = 1
Matched

Expecting sub string: [2] = 
Matched

Expecting sub string: first = "two"
Matched

Expecting sub string: second = 2
Matched

Expecting sub string: [3] = 
Matched

Expecting sub string: first = "three"
Matched

Expecting sub string: second = 3
Matched

runCmd: p si
output: (std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) $3 = size=0 {}


Expecting sub string: std::__1::map
Matched

Expecting sub string: size=4
Not matched

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_with_run_command_gmodules (TestDataFormatterLibccMap.LibcxxMapDataFormatterTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10826d600> >>: 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
======================================================================
FAIL: test_with_run_command_gmodules (TestDataFormatterLibccMap.LibcxxMapDataFormatterTestCase)
   Test that that file and class static variables display correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1732, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py", line 183, in test_with_run_command
    'second = 3'])
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2367, in expect
    msg if msg else EXP_MSG(str, output, exe))
AssertionError: False is not True : 'p si' returns expected result, got '(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >) $3 = size=0 {}'
Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10
----------------------------------------------------------------------
Ran 4 tests in 119.864s

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