Regression
lldb-api.functionalities/data-formatter/data-formatter-stl/libcxx/iterator.TestDataFormatterLibccIterator.py (from lldb-api)
Failing for the past 1 build
(Since
#737 )

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/iterator -p TestDataFormatterLibccIterator.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/iterator 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/iterator/TestDataFormatterLibccIterator.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/iterator/TestDataFormatterLibccIterator.test_with_run_command_dsym/a.out' (x86_64). runCmd: breakpoint set -f "main.cpp" -l 37 output: Breakpoint 1: where = a.out`main + 354 at main.cpp:37:2, address = 0x0000000100000b32 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 31928 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000b32 a.out`main at main.cpp:37:2 34 ivter ivI = iv.begin(); 35 svter svI = sv.begin(); 36 -> 37 return 0; // Set break point at this line. ^ 38 } Process 31928 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.test_with_run_command_dsym/a.out' (x86_64) runCmd: thread list output: Process 31928 stopped * thread #1: tid = 0x862f9b0, 0x0000000100000b32 a.out`main at main.cpp:37:2, 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: frame variable ivI output: (ivter) ivI = (item = 3) Expecting sub string: item = 3 Matched runCmd: expr ivI output: (ivter) $0 = (item = 3) Expecting sub string: item = 3 Matched runCmd: frame variable iimI output: (iimter) iimI = (first = 43981, second = 61681) Expecting sub string: first = 43981 Matched Expecting sub string: second = 61681 Matched runCmd: expr iimI output: (iimter) $1 = (first = 43981, second = 61681) Expecting sub string: first = 43981 Matched Expecting sub string: second = 61681 Matched runCmd: frame variable simI output: (simter) simI = (first = "world", second = 42) Expecting sub string: first = "world" Matched Expecting sub string: second = 42 Matched runCmd: expr simI output: (simter) $2 = (first = "world", second = 42) Expecting sub string: first = "world" Matched Expecting sub string: second = 42 Matched runCmd: frame variable svI output: (svter) svI = (item = "hello") Expecting sub string: item = "hello" Matched runCmd: expr svI output: (svter) $3 = (item = "hello") Expecting sub string: item = "hello" Matched <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c907bd0> >>: 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 (TestDataFormatterLibccIterator.LibcxxIteratorDataFormatterTestCase) 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/iterator/TestDataFormatterLibccIterator.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/iterator/TestDataFormatterLibccIterator.test_with_run_command_dwarf/a.out' (x86_64). runCmd: breakpoint set -f "main.cpp" -l 37 output: Breakpoint 1: where = a.out`main + 354 at main.cpp:37:2, address = 0x0000000100000b32 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 33725 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000b32 a.out`main at main.cpp:37:2 34 ivter ivI = iv.begin(); 35 svter svI = sv.begin(); 36 -> 37 return 0; // Set break point at this line. ^ 38 } Process 33725 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.test_with_run_command_dwarf/a.out' (x86_64) runCmd: thread list output: Process 33725 stopped * thread #1: tid = 0x863064e, 0x0000000100000b32 a.out`main at main.cpp:37:2, 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: frame variable ivI output: (ivter) ivI = (item = 3) Expecting sub string: item = 3 Matched runCmd: expr ivI output: (ivter) $0 = (item = 3) Expecting sub string: item = 3 Matched runCmd: frame variable iimI output: (iimter) iimI = (first = 43981, second = 61681) Expecting sub string: first = 43981 Matched Expecting sub string: second = 61681 Matched runCmd: expr iimI output: (iimter) $1 = (first = 43981, second = 61681) Expecting sub string: first = 43981 Matched Expecting sub string: second = 61681 Matched runCmd: frame variable simI output: (simter) simI = (first = "world", second = 42) Expecting sub string: first = "world" Matched Expecting sub string: second = 42 Matched runCmd: expr simI output: (simter) $2 = (first = "world", second = 42) Expecting sub string: first = "world" Matched Expecting sub string: second = 42 Matched runCmd: frame variable svI output: (svter) svI = (item = "hello") Expecting sub string: item = "hello" Matched runCmd: expr svI output: (svter) $3 = (item = "hello") Expecting sub string: item = "hello" Matched <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10bc66b10> >>: 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 (TestDataFormatterLibccIterator.LibcxxIteratorDataFormatterTestCase) UNSUPPORTED: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_with_run_command_dwo (TestDataFormatterLibccIterator.LibcxxIteratorDataFormatterTestCase) (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/iterator/TestDataFormatterLibccIterator.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/iterator/TestDataFormatterLibccIterator.test_with_run_command_gmodules/a.out' (x86_64). runCmd: breakpoint set -f "main.cpp" -l 37 output: Breakpoint 1: where = a.out`main + 354 at main.cpp:37:2, address = 0x0000000100000b32 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 35077 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000b32 a.out`main at main.cpp:37:2 34 ivter ivI = iv.begin(); 35 svter svI = sv.begin(); 36 -> 37 return 0; // Set break point at this line. ^ 38 } Process 35077 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.test_with_run_command_gmodules/a.out' (x86_64) runCmd: thread list output: Process 35077 stopped * thread #1: tid = 0x863109b, 0x0000000100000b32 a.out`main at main.cpp:37:2, 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: frame variable ivI output: (ivter) ivI = (item = 3) Expecting sub string: item = 3 Matched runCmd: expr ivI output: (ivter) $0 = (item = 3) Expecting sub string: item = 3 Matched runCmd: frame variable iimI output: (iimter) iimI = (first = 43981, second = 61681) Expecting sub string: first = 43981 Matched Expecting sub string: second = 61681 Matched runCmd: expr iimI output: (iimter) $1 = (first = 43981, second = 61681) Expecting sub string: first = 43981 Matched Expecting sub string: second = 61681 Matched runCmd: frame variable simI output: (simter) simI = (first = "world", second = 42) Expecting sub string: first = "world" Matched Expecting sub string: second = 42 Matched runCmd: expr simI output: (simter) $2 = {} Expecting sub string: first = "world" Not matched FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_with_run_command_gmodules (TestDataFormatterLibccIterator.LibcxxIteratorDataFormatterTestCase) <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x10c907db0> >>: 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 (TestDataFormatterLibccIterator.LibcxxIteratorDataFormatterTestCase) Test that libc++ iterators format properly. ---------------------------------------------------------------------- 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/iterator/TestDataFormatterLibccIterator.py", line 70, in test_with_run_command self.expect('expr simI', substrs=['first = "world"', 'second = 42']) 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 : 'expr simI' returns expected result, got '(simter) $2 = {}' Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10 ---------------------------------------------------------------------- Ran 4 tests in 129.060s RESULT: FAILED (2 passes, 1 failures, 0 errors, 1 skipped, 0 expected failures, 0 unexpected successes)