Regression
lldb-api.python_api/formatters.TestFormattersSBAPI.py (from lldb-api)
Stacktrace
Unable to find 'RESULT: PASSED' in dotest output (exit code -6): lldb version 10.0.99 (http://labmaster3.local/git/llvm-project.git revision a75463c4717269dcf17a3aae0fd609c5ecc75f9a) clang revision a75463c4717269dcf17a3aae0fd609c5ecc75f9a llvm revision a75463c4717269dcf17a3aae0fd609c5ecc75f9a 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/python_api/formatters -p TestFormattersSBAPI.py Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/python_api/formatters 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/python_api/formatters/TestFormattersSBAPI.test_force_synth_off_dsym/no_synth output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/python_api/formatters/TestFormattersSBAPI.test_force_synth_off_dsym/no_synth' (x86_64). runCmd: breakpoint set -f "main.cpp" -l 58 output: Breakpoint 1: where = no_synth`main + 151 at main.cpp:58:2, address = 0x0000000100000787 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 12231 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000787 no_synth`main(argc=1, argv=0x00007ffeefbff588) at main.cpp:58:2 55 Empty1 e1; 56 Empty2 e2; 57 -> 58 return 0; // Set break point at this line. ^ 59 } Process 12231 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/python_api/formatters/TestFormattersSBAPI.test_force_synth_off_dsym/no_synth' (x86_64) runCmd: thread list output: Process 12231 stopped * thread #1: tid = 0x9a40fb, 0x0000000100000787 no_synth`main(argc=1, argv=0x00007ffeefbff588) at main.cpp:58: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 synthetic clear', check=False) self.runCmd('type category delete foobar', check=False) self.runCmd('type category delete JASSynth', check=False) self.runCmd('type category delete newbar', check=False) self.runCmd('settings set target.enable-synthetic-value true') runCmd: settings set target.enable-synthetic-value false output: runCmd: settings set target.enable-synthetic-value true output: <bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type 'lldb::SBProcess *' at 0x129712c60> >>: 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 synthetic clear', check=False) self.runCmd('type category delete foobar', check=False) self.runCmd('type category delete JASSynth', check=False) self.runCmd('type category delete newbar', check=False) self.runCmd('settings set target.enable-synthetic-value true') 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 synthetic clear check of return status not required output: runCmd: type category delete foobar check of return status not required runCmd failed! error: cannot delete one or more categories runCmd: type category delete JASSynth check of return status not required runCmd failed! error: cannot delete one or more categories runCmd: type category delete newbar check of return status not required runCmd failed! error: cannot delete one or more categories runCmd: settings set target.enable-synthetic-value true output: PASS: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/bin/clang-10-x86_64) :: test_force_synth_off_dsym (TestFormattersSBAPI.SBFormattersAPITestCase) 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/python_api/formatters/TestFormattersSBAPI.test_force_synth_off_dwarf/no_synth output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/python_api/formatters/TestFormattersSBAPI.test_force_synth_off_dwarf/no_synth' (x86_64). runCmd: breakpoint set -f "main.cpp" -l 58 output: Breakpoint 1: where = no_synth`main + 151 at main.cpp:58:2, address = 0x0000000100000787 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 13042 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000787 no_synth`main(argc=1, argv=0x00007ffeefbff588) at main.cpp:58:2 55 Empty1 e1; 56 Empty2 e2; 57 -> 58 return 0; // Set break point at this line. ^ 59 } Process 13042 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/python_api/formatters/TestFormattersSBAPI.test_force_synth_off_dwarf/no_synth' (x86_64) /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/include/lldb/DataFormatters/TypeCategory.h:278:35: runtime error: load of value 190, which is not a valid value for type 'bool' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/include/lldb/DataFormatters/TypeCategory.h:278:35 in