Failed
lldb-api.functionalities/data-formatter/poarray.TestPrintObjectArray.py (from lldb-api)
Failing for the past 4 builds
(Since
#1491 )

Stacktrace
Script: -- /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/copied-system-python /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 --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 --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/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --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 --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --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/poarray -p TestPrintObjectArray.py -- Exit Code: -6 Command Output (stdout): -- lldb version 11.0.99 clang revision 2768edfff19a170faca35a8c63163c8bb1b67382 llvm revision 2768edfff19a170faca35a8c63163c8bb1b67382 -- Command Output (stderr): -- 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 --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 --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/11.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib --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 --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/./bin/FileCheck --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/poarray -p TestPrintObjectArray.py Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/poarray runCmd: settings clear -all output: runCmd: settings set symbols.enable-external-lookup 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/11.0.0/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/poarray/TestPrintObjectArray.test_print_array_dsym/a.out output: Current executable set to '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/poarray/TestPrintObjectArray.test_print_array_dsym/a.out' (x86_64). runCmd: breakpoint set -f "main.mm" -l 20 output: Breakpoint 1: where = a.out`main + 459 at main.mm:20:3, address = 0x0000000100000efb 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 10822 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100000efb a.out`main at main.mm:20:3 17 tobjects->two = array2; 18 tobjects->three = dictionary; 19 id* objects = (id*)tobjects; -> 20 return 0; // break here ^ 21 } Process 10822 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/poarray/TestPrintObjectArray.test_print_array_dsym/a.out' (x86_64) runCmd: thread list output: Process 10822 stopped * thread #1: tid = 0x458639, 0x0000000100000efb a.out`main at main.mm:20:3, 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 synth clear', check=False) runCmd: expr --element-count 3 --object-description -- objects output: { <__NSArrayI 0x604000001710>( 3735928559, 4276993775, 3203398366 ) <__NSArrayI 0x603000002f20>( Hello, World ) { Two = ( Hello, World ); 1 = ( Hello, World ); } } Expecting sub string: 3735928559 Matched Expecting sub string: 4276993775 Matched Expecting sub string: 3203398366 Matched Expecting sub string: Hello Matched Expecting sub string: World Matched Expecting sub string: Two = Matched Expecting sub string: 1 = Matched runCmd: poarray 3 objects output: { <__NSArrayI 0x604000001710>( 3735928559, 4276993775, 3203398366 ) <__NSArrayI 0x603000002f20>( Hello, World ) { Two = ( Hello, World ); 1 = ( Hello, World ); } } Expecting sub string: 3735928559 Matched Expecting sub string: 4276993775 Matched Expecting sub string: 3203398366 Matched Expecting sub string: Hello Matched Expecting sub string: World Matched Expecting sub string: Two = Matched Expecting sub string: 1 = Matched runCmd: expr --element-count 3 --object-description --description-verbosity=full -- objects output: (id *) $2 = 0x0000603000002fb0 { (id) [0] = 0x0000604000001710 <__NSArrayI 0x604000001710>( 3735928559, 4276993775, 3203398366 ) (id) [1] = 0x0000603000002f20 <__NSArrayI 0x603000002f20>( Hello, World ) (id) [2] = 0x0000606000008a20 { Two = ( Hello, World ); 1 = ( Hello, World ); } } Expecting sub string: [0] = Matched Expecting sub string: 3735928559 Matched Expecting sub string: 4276993775 Matched Expecting sub string: 3203398366 Matched Expecting sub string: [1] = Matched Expecting sub string: Hello Matched Expecting sub string: World Matched Expecting sub string: [2] = Matched Expecting sub string: Two = Matched Expecting sub string: 1 = Matched runCmd: parray 3 objects output: (id *) $3 = 0x0000603000002fb0 { (id) [0] = 0x0000604000001710 (id) [1] = 0x0000603000002f20 (id) [2] = 0x0000606000008a20 } Expecting sub string: [0] = 0x Matched Expecting sub string: [1] = 0x Matched Expecting sub string: [2] = 0x Matched runCmd: expr --element-count 3 -d run -- objects output: (id *) $4 = 0x0000603000002fb0 { (__NSArrayI *) [0] = 0x0000604000001710 3 elements (__NSArrayI *) [1] = 0x0000603000002f20 2 elements (__NSDictionaryI *) [2] = 0x0000606000008a20 2 key/value pairs } Expecting sub string: 3 elements Matched Expecting sub string: 2 elements Matched Expecting sub string: 2 key/value pairs Matched runCmd: expr --element-count 3 -d run --ptr-depth=1 -- objects output: (id *) $5 = 0x0000603000002fb0 { (__NSArrayI *) [0] = 0x0000604000001710 3 elements { [0] = 0x55d40be275069437 3735928559 [1] = 0x55d40bc235069437 4276993775 [2] = 0x55d40b823742a537 3203398366 } (__NSArrayI *) [1] = 0x0000603000002f20 2 elements { [0] = 0x0000000100001038 "Hello" [1] = 0x0000000100001058 "World" } (__NSDictionaryI *) [2] = 0x0000606000008a20 2 key/value pairs { [0] = { key = 0x0000000100001078 "Two" value = 0x0000603000002f20 2 elements } [1] = { key = 0x55d40b3cd8b87a27 1 value = 0x0000603000002f20 2 elements } } } Assertion failed: (tokenKind == tok::kw___bridge_retain), function ParseParenExpression, file /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/clang/lib/Parse/ParseExpr.cpp, line 2804. --