Regression

lldb-api.functionalities/data-formatter/data-formatter-stl/libcxx/list.TestDataFormatterLibcxxList.py (from lldb-api)

Failing for the past 1 build (Since #1859 )
Took 21 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/list -p TestDataFormatterLibcxxList.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 13.0.99 (http://labmaster3.local/git/llvm-project.git revision fd5cc418186ab0fc0650ec373fdf016101eba21d)
  clang revision fd5cc418186ab0fc0650ec373fdf016101eba21d
  llvm revision fd5cc418186ab0fc0650ec373fdf016101eba21d
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/list
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/list/TestDataFormatterLibcxxList.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/list/TestDataFormatterLibcxxList.test_with_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -f "main.cpp" -l 13
output: Breakpoint 1: where = a.out`main + 59 at main.cpp:13:5, address = 0x00000001000013ab


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: breakpoint set -f "main.cpp" -l 33
output: Breakpoint 2: where = a.out`main + 557 at main.cpp:33:5, address = 0x000000010000159d


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: breakpoint set -f "main.cpp" -l 38
output: Breakpoint 3: where = a.out`main + 728 at main.cpp:38:5, address = 0x0000000100001648


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: breakpoint set -f "main.cpp" -l 40
output: Breakpoint 4: where = a.out`main + 764 at main.cpp:40:5, address = 0x000000010000166c


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 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00000001000013ab a.out`main at main.cpp:13:5
   10  	    int_list numbers_list;
   11  	    std::list<int>* list_ptr = &numbers_list;
   12  	
-> 13  	    printf("// Set break point at this line.");
    	    ^
   14  	    (numbers_list.push_back(0x12345678));
   15  	    (numbers_list.push_back(0x11223344));
   16  	    (numbers_list.push_back(0xBEEFFEED));
Process 32445 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.test_with_run_command_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 32445 stopped
* thread #1: tid = 0xd62ee6, 0x00000001000013ab a.out`main at main.cpp:13:5, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1


Ran command:
"thread list"

Got output:
Process 32445 stopped
* thread #1: tid = 0xd62ee6, 0x00000001000013ab a.out`main at main.cpp:13:5, 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 numbers_list --show-types
output: (int_list) numbers_list = size=0 {}


runCmd: type summary add std::int_list std::string_list int_list string_list --summary-string "list has ${svar%#} items" -e
output: 

runCmd: type format add -f hex int
output: 

runCmd: frame variable numbers_list --raw
output: (int_list) numbers_list = {
  std::__1::__list_imp<int, std::__1::allocator<int> > = {
    __end_ = {
      __prev_ = 0x00007ffeefbff7f0
      __next_ = 0x00007ffeefbff7f0
    }
    __size_alloc_ = {
      std::__1::__compressed_pair_elem<unsigned long, 0, false> = {
        __value_ = 0
      }
    }
  }
}


Ran command:
"frame variable numbers_list --raw"

Got output:
(int_list) numbers_list = {
  std::__1::__list_imp<int, std::__1::allocator<int> > = {
    __end_ = {
      __prev_ = 0x00007ffeefbff7f0
      __next_ = 0x00007ffeefbff7f0
    }
    __size_alloc_ = {
      std::__1::__compressed_pair_elem<unsigned long, 0, false> = {
        __value_ = 0
      }
    }
  }
}

Not expecting sub string: "list has 0 items" (was not found)
Not expecting sub string: "{}" (was not found)

runCmd: frame variable numbers_list
output: (int_list) numbers_list = list has 0 items {}


Ran command:
"frame variable numbers_list"

Got output:
(int_list) numbers_list = list has 0 items {}

Expecting sub string: "list has 0 items" (was found)
Expecting sub string: "{}" (was found)

runCmd: p numbers_list
output: (int_list) $0 = list has 0 items {}


Ran command:
"p numbers_list"

Got output:
(int_list) $0 = list has 0 items {}

Expecting sub string: "list has 0 items" (was found)
Expecting sub string: "{}" (was found)

runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000013be a.out`main at main.cpp:14:29
   11  	    std::list<int>* list_ptr = &numbers_list;
   12  	
   13  	    printf("// Set break point at this line.");
-> 14  	    (numbers_list.push_back(0x12345678));
    	                            ^
   15  	    (numbers_list.push_back(0x11223344));
   16  	    (numbers_list.push_back(0xBEEFFEED));
   17  	    (numbers_list.push_back(0x00ABBA00));


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000013d7 a.out`main at main.cpp:15:29
   12  	
   13  	    printf("// Set break point at this line.");
   14  	    (numbers_list.push_back(0x12345678));
-> 15  	    (numbers_list.push_back(0x11223344));
    	                            ^
   16  	    (numbers_list.push_back(0xBEEFFEED));
   17  	    (numbers_list.push_back(0x00ABBA00));
   18  	    (numbers_list.push_back(0x0ABCDEF0));


runCmd: frame variable numbers_list
output: (int_list) numbers_list = list has 1 items {
  [0] = 0x12345678
}


Ran command:
"frame variable numbers_list"

Got output:
(int_list) numbers_list = list has 1 items {
  [0] = 0x12345678
}

Expecting sub string: "list has 1 items" (was found)
Expecting sub string: "[0] = " (was found)
Expecting sub string: "0x12345678" (was found)

runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000013f0 a.out`main at main.cpp:16:29
   13  	    printf("// Set break point at this line.");
   14  	    (numbers_list.push_back(0x12345678));
   15  	    (numbers_list.push_back(0x11223344));
-> 16  	    (numbers_list.push_back(0xBEEFFEED));
    	                            ^
   17  	    (numbers_list.push_back(0x00ABBA00));
   18  	    (numbers_list.push_back(0x0ABCDEF0));
   19  	    (numbers_list.push_back(0x0CAB0CAB));


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x0000000100001409 a.out`main at main.cpp:17:29
   14  	    (numbers_list.push_back(0x12345678));
   15  	    (numbers_list.push_back(0x11223344));
   16  	    (numbers_list.push_back(0xBEEFFEED));
-> 17  	    (numbers_list.push_back(0x00ABBA00));
    	                            ^
   18  	    (numbers_list.push_back(0x0ABCDEF0));
   19  	    (numbers_list.push_back(0x0CAB0CAB));
   20


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x0000000100001422 a.out`main at main.cpp:18:29
   15  	    (numbers_list.push_back(0x11223344));
   16  	    (numbers_list.push_back(0xBEEFFEED));
   17  	    (numbers_list.push_back(0x00ABBA00));
-> 18  	    (numbers_list.push_back(0x0ABCDEF0));
    	                            ^
   19  	    (numbers_list.push_back(0x0CAB0CAB));
   20  	    
   21  	    numbers_list.clear();


runCmd: frame variable numbers_list
output: (int_list) numbers_list = list has 4 items {
  [0] = 0x12345678
  [1] = 0x11223344
  [2] = 0xbeeffeed
  [3] = 0x00abba00
}


Ran command:
"frame variable numbers_list"

Got output:
(int_list) numbers_list = list has 4 items {
  [0] = 0x12345678
  [1] = 0x11223344
  [2] = 0xbeeffeed
  [3] = 0x00abba00
}

Expecting sub string: "list has 4 items" (was found)
Expecting sub string: "[0] = " (was found)
Expecting sub string: "0x12345678" (was found)
Expecting sub string: "[1] =" (was found)
Expecting sub string: "0x11223344" (was found)
Expecting sub string: "[2] =" (was found)
Expecting sub string: "0xbeeffeed" (was found)
Expecting sub string: "[3] =" (was found)
Expecting sub string: "0x00abba00" (was found)

runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000143b a.out`main at main.cpp:19:29
   16  	    (numbers_list.push_back(0xBEEFFEED));
   17  	    (numbers_list.push_back(0x00ABBA00));
   18  	    (numbers_list.push_back(0x0ABCDEF0));
-> 19  	    (numbers_list.push_back(0x0CAB0CAB));
    	                            ^
   20  	    
   21  	    numbers_list.clear();
   22


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000145f a.out`main at main.cpp:21:18
   18  	    (numbers_list.push_back(0x0ABCDEF0));
   19  	    (numbers_list.push_back(0x0CAB0CAB));
   20  	    
-> 21  	    numbers_list.clear();
    	                 ^
   22  	    
   23  	    (numbers_list.push_back(1));
   24  	    (numbers_list.push_back(2));


runCmd: frame variable numbers_list
output: (int_list) numbers_list = list has 6 items {
  [0] = 0x12345678
  [1] = 0x11223344
  [2] = 0xbeeffeed
  [3] = 0x00abba00
  [4] = 0x0abcdef0
  [5] = 0x0cab0cab
}


Ran command:
"frame variable numbers_list"

Got output:
(int_list) numbers_list = list has 6 items {
  [0] = 0x12345678
  [1] = 0x11223344
  [2] = 0xbeeffeed
  [3] = 0x00abba00
  [4] = 0x0abcdef0
  [5] = 0x0cab0cab
}

Expecting sub string: "list has 6 items" (was found)
Expecting sub string: "[0] = " (was found)
Expecting sub string: "0x12345678" (was found)
Expecting sub string: "0x11223344" (was found)
Expecting sub string: "0xbeeffeed" (was found)
Expecting sub string: "0x00abba00" (was found)
Expecting sub string: "[4] =" (was found)
Expecting sub string: "0x0abcdef0" (was found)
Expecting sub string: "[5] =" (was found)
Expecting sub string: "0x0cab0cab" (was found)

runCmd: p numbers_list
output: (int_list) $1 = list has 6 items {
  [0] = 0x12345678
  [1] = 0x11223344
  [2] = 0xbeeffeed
  [3] = 0x00abba00
  [4] = 0x0abcdef0
  [5] = 0x0cab0cab
}


Ran command:
"p numbers_list"

Got output:
(int_list) $1 = list has 6 items {
  [0] = 0x12345678
  [1] = 0x11223344
  [2] = 0xbeeffeed
  [3] = 0x00abba00
  [4] = 0x0abcdef0
  [5] = 0x0cab0cab
}

Expecting sub string: "list has 6 items" (was found)
Expecting sub string: "[0] = " (was found)
Expecting sub string: "0x12345678" (was found)
Expecting sub string: "0x11223344" (was found)
Expecting sub string: "0xbeeffeed" (was found)
Expecting sub string: "0x00abba00" (was found)
Expecting sub string: "[4] =" (was found)
Expecting sub string: "0x0abcdef0" (was found)
Expecting sub string: "[5] =" (was found)
Expecting sub string: "0x0cab0cab" (was found)

runCmd: frame variable numbers_list[0]
output: (int) [0] = 0x12345678


Ran command:
"frame variable numbers_list[0]"

Got output:
(int) [0] = 0x12345678

Expecting sub string: "0x12345678" (was found)

runCmd: frame variable numbers_list[1]
output: (int) [1] = 0x11223344


Ran command:
"frame variable numbers_list[1]"

Got output:
(int) [1] = 0x11223344

Expecting sub string: "0x11223344" (was found)

runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000146b a.out`main at main.cpp:23:29
   20  	    
   21  	    numbers_list.clear();
   22  	    
-> 23  	    (numbers_list.push_back(1));
    	                            ^
   24  	    (numbers_list.push_back(2));
   25  	    (numbers_list.push_back(3));
   26  	    (numbers_list.push_back(4));


runCmd: frame variable numbers_list
output: (int_list) numbers_list = list has 0 items {}


Ran command:
"frame variable numbers_list"

Got output:
(int_list) numbers_list = list has 0 items {}

Expecting sub string: "list has 0 items" (was found)
Expecting sub string: "{}" (was found)

runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x0000000100001480 a.out`main at main.cpp:24:29
   21  	    numbers_list.clear();
   22  	    
   23  	    (numbers_list.push_back(1));
-> 24  	    (numbers_list.push_back(2));
    	                            ^
   25  	    (numbers_list.push_back(3));
   26  	    (numbers_list.push_back(4));
   27


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000149f a.out`main at main.cpp:25:29
   22  	    
   23  	    (numbers_list.push_back(1));
   24  	    (numbers_list.push_back(2));
-> 25  	    (numbers_list.push_back(3));
    	                            ^
   26  	    (numbers_list.push_back(4));
   27  	    
   28  	    string_list text_list;


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000014be a.out`main at main.cpp:26:29
   23  	    (numbers_list.push_back(1));
   24  	    (numbers_list.push_back(2));
   25  	    (numbers_list.push_back(3));
-> 26  	    (numbers_list.push_back(4));
    	                            ^
   27  	    
   28  	    string_list text_list;
   29  	    (text_list.push_back(std::string("goofy")));


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000014e4 a.out`main at main.cpp:28:17
   25  	    (numbers_list.push_back(3));
   26  	    (numbers_list.push_back(4));
   27  	    
-> 28  	    string_list text_list;
    	                ^
   29  	    (text_list.push_back(std::string("goofy")));
   30  	    (text_list.push_back(std::string("is")));
   31  	    (text_list.push_back(std::string("smart")));


runCmd: frame variable numbers_list
output: (int_list) numbers_list = list has 4 items {
  [0] = 0x00000001
  [1] = 0x00000002
  [2] = 0x00000003
  [3] = 0x00000004
}


Ran command:
"frame variable numbers_list"

Got output:
(int_list) numbers_list = list has 4 items {
  [0] = 0x00000001
  [1] = 0x00000002
  [2] = 0x00000003
  [3] = 0x00000004
}

Expecting sub string: "list has 4 items" (was found)
Expecting sub string: "[0] = " (was found)
Expecting sub string: "1" (was found)
Expecting sub string: "[1] = " (was found)
Expecting sub string: "2" (was found)
Expecting sub string: "[2] = " (was found)
Expecting sub string: "3" (was found)
Expecting sub string: "[3] = " (was found)
Expecting sub string: "4" (was found)

runCmd: type format delete int
output: 

runCmd: c
output: Process 32445 resuming
Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
    frame #0: 0x000000010000159d a.out`main at main.cpp:33:5
   30  	    (text_list.push_back(std::string("is")));
   31  	    (text_list.push_back(std::string("smart")));
   32  	    
-> 33  	    printf("// Set second break point at this line.");
    	    ^
   34  	    (text_list.push_back(std::string("!!!"))); 
   35  	    
   36  	    std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};


runCmd: frame variable text_list
output: (string_list) text_list = list has 3 items {
  [0] = "goofy"
  [1] = "is"
  [2] = "smart"
}


Ran command:
"frame variable text_list"

Got output:
(string_list) text_list = list has 3 items {
  [0] = "goofy"
  [1] = "is"
  [2] = "smart"
}

Expecting sub string: "list has 3 items" (was found)
Expecting sub string: "[0]" (was found)
Expecting sub string: "goofy" (was found)
Expecting sub string: "[1]" (was found)
Expecting sub string: "is" (was found)
Expecting sub string: "[2]" (was found)
Expecting sub string: "smart" (was found)

runCmd: p text_list
output: (string_list) $2 = list has 3 items {
  [0] = "goofy"
  [1] = "is"
  [2] = "smart"
}


Ran command:
"p text_list"

Got output:
(string_list) $2 = list has 3 items {
  [0] = "goofy"
  [1] = "is"
  [2] = "smart"
}

Expecting sub string: "list has 3 items" (was found)
Expecting sub string: ""goofy"" (was found)
Expecting sub string: ""is"" (was found)
Expecting sub string: ""smart"" (was found)

runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000015b0 a.out`main at main.cpp:34:26
   31  	    (text_list.push_back(std::string("smart")));
   32  	    
   33  	    printf("// Set second break point at this line.");
-> 34  	    (text_list.push_back(std::string("!!!"))); 
    	                         ^
   35  	    
   36  	    std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};
   37  	    countingList.sort();


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x00000001000015ec a.out`main at main.cpp:36:35
   33  	    printf("// Set second break point at this line.");
   34  	    (text_list.push_back(std::string("!!!"))); 
   35  	    
-> 36  	    std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};
    	                                  ^
   37  	    countingList.sort();
   38  	    printf("// Set third break point at this line.");
   39  	    countingList.unique();


runCmd: n
output: Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = step over
    frame #0: 0x000000010000163e a.out`main at main.cpp:37:18
   34  	    (text_list.push_back(std::string("!!!"))); 
   35  	    
   36  	    std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};
-> 37  	    countingList.sort();
    	                 ^
   38  	    printf("// Set third break point at this line.");
   39  	    countingList.unique();
   40  	    printf("// Set fourth break point at this line.");


runCmd: frame variable text_list[0]
output: (std::basic_string<char, std::char_traits<char>, std::allocator<char> >) [0] = "goofy"


Ran command:
"frame variable text_list[0]"

Got output:
(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) [0] = "goofy"

Expecting sub string: "goofy" (was found)

runCmd: frame variable text_list[3]
output: (std::basic_string<char, std::char_traits<char>, std::allocator<char> >) [3] = "!!!"


Ran command:
"frame variable text_list[3]"

Got output:
(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) [3] = "!!!"

Expecting sub string: "!!!" (was found)

runCmd: continue
output: Process 32445 resuming
Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 3.1
    frame #0: 0x0000000100001648 a.out`main at main.cpp:38:5
   35  	    
   36  	    std::list<int> countingList = {3141, 3142, 3142,3142,3142, 3142, 3142, 3141};
   37  	    countingList.sort();
-> 38  	    printf("// Set third break point at this line.");
    	    ^
   39  	    countingList.unique();
   40  	    printf("// Set fourth break point at this line.");
   41  	    countingList.size();


runCmd: continue
output: Process 32445 resuming
Process 32445 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 4.1
    frame #0: 0x000000010000166c a.out`main at main.cpp:40:5
   37  	    countingList.sort();
   38  	    printf("// Set third break point at this line.");
   39  	    countingList.unique();
-> 40  	    printf("// Set fourth break point at this line.");
    	    ^
   41  	    countingList.size();
   42  	
   43  	    return 0;


<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10984aba0> >>: 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 (TestDataFormatterLibcxxList.LibcxxListDataFormatterTestCase)
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/list/TestDataFormatterLibcxxList.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/list/TestDataFormatterLibcxxList.test_with_run_command_dwarf/a.out' (x86_64).


runCmd: breakpoint set -f "main.cpp" -l 13
output: Breakpoint 1: where = a.out`main + 59 at main.cpp:13:5, address = 0x00000001000013ab


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: breakpoint set -f "main.cpp" -l 33
output: Breakpoint 2: where = a.out`main + 557 at main.cpp:33:5, address = 0x000000010000159d


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: breakpoint set -f "main.cpp" -l 38
output: Breakpoint 3: where = a.out`main + 728 at main.cpp:38:5, address = 0x0000000100001648


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: breakpoint set -f "main.cpp" -l 40
output: Breakpoint 4: where = a.out`main + 764 at main.cpp:40:5, address = 0x000000010000166c


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
runCmd failed!
error: process exited with status -1 (developer mode is not enabled on this machine and this is a non-interactive debug session.)


Command 'run' failed!

FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_dwarf (TestDataFormatterLibcxxList.LibcxxListDataFormatterTestCase)
<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10923dc00> >>: success

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_dwo (TestDataFormatterLibcxxList.LibcxxListDataFormatterTestCase) (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: 

UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-x86_64) :: test_with_run_command_gmodules (TestDataFormatterLibcxxList.LibcxxListDataFormatterTestCase) (skipping due to the following parameter(s): debug info format [https://bugs.llvm.org/show_bug.cgi?id=36048]) 
Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/tools/lldb/test
======================================================================
FAIL: test_with_run_command_dwarf (TestDataFormatterLibcxxList.LibcxxListDataFormatterTestCase)
   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 1830, in test_method
    return attrvalue(self)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper
    return func(*args, **kwargs)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py", line 46, in test_with_run_command
    self.runCmd("run", RUN_SUCCEEDED)
  File "/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2161, in runCmd
    msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not True : Process is launched successfully
Error output:
error: process exited with status -1 (developer mode is not enabled on this machine and this is a non-interactive debug session.)

Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 4 tests in 20.143s

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

--