Failed

lldb-api.functionalities/data-formatter/data-formatter-objc/nsindexpath.TestDataFormatterNSIndexPath.py (from lldb-api)

Failing for the past 9 builds (Since #1491 )
Took 39 sec.

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/data-formatter-objc/nsindexpath -p TestDataFormatterNSIndexPath.py
--
Exit Code: -6

Command Output (stdout):
--
lldb version 11.0.99
  clang revision 06aaf0b3431f29b6debbb96fdd92ada896f336ff
  llvm revision 06aaf0b3431f29b6debbb96fdd92ada896f336ff

--
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/data-formatter-objc/nsindexpath -p TestDataFormatterNSIndexPath.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/nsindexpath
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/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_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-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dsym/a.out' (x86_64).


runCmd: breakpoint set -f "main.m" -l 15
output: Breakpoint 1: where = a.out`main + 301 at main.m:15:22, address = 0x0000000100000e9d


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 75593 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000e9d a.out`main(argc=1, argv=0x00007ffeefbff400) at main.m:15:22
   12  	        NSIndexPath* indexPath4 = [NSIndexPath indexPathWithIndexes:values length:4];
   13  	        NSIndexPath* indexPath5 = [NSIndexPath indexPathWithIndexes:values length:5];
   14  	        
-> 15  	        NSLog(@"%@", indexPath1); // break here
    	                     ^
   16  	        NSLog(@"%@", indexPath2);
   17  	        NSLog(@"%@", indexPath3);
   18  	        NSLog(@"%@", indexPath4);

Process 75593 launched: '/Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.test_nsindexpath_with_run_command_dsym/a.out' (x86_64)


runCmd: thread list
output: Process 75593 stopped
* thread #1: tid = 0x16bc05, 0x0000000100000e9d a.out`main(argc=1, argv=0x00007ffeefbff400) at main.m:15:22, 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: frame variable --ptr-depth=1 -d run -- indexPath1
output: (NSIndexPath *) indexPath1 = 0xceeb3b7cd54b6a15 {
  [0] = 1
}


Expecting sub string: [0] = 1
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath2
output: (NSIndexPath *) indexPath2 = 0xceeb3b7cd14b6b95 {
  [0] = 1
  [1] = 2
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath3
output: (NSIndexPath *) indexPath3 = 0xceeb3bbcd14b6b15 {
  [0] = 1
  [1] = 2
  [2] = 3
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath4
output: (NSIndexPath *) indexPath4 = 0xcecb3bbcd14b6895 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

runCmd: frame variable --ptr-depth=1 -d run -- indexPath5
output: (NSIndexPath *) indexPath5 = 0x0000603000002f20 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
  [4] = 5
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

Expecting sub string: [4] = 5
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath1
output: (NSIndexPath *) $0 = 0xceeb3b7cd54b6a15 {
  [0] = 1
}


Expecting sub string: [0] = 1
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath2
output: (NSIndexPath *) $1 = 0xceeb3b7cd14b6b95 {
  [0] = 1
  [1] = 2
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath3
output: (NSIndexPath *) $2 = 0xceeb3bbcd14b6b15 {
  [0] = 1
  [1] = 2
  [2] = 3
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath4
output: (NSIndexPath *) $3 = 0xcecb3bbcd14b6895 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched

runCmd: expression --ptr-depth=1 -d run -- indexPath5
output: (NSIndexPath *) $4 = 0x0000603000002f20 {
  [0] = 1
  [1] = 2
  [2] = 3
  [3] = 4
  [4] = 5
}


Expecting sub string: [0] = 1
Matched

Expecting sub string: [1] = 2
Matched

Expecting sub string: [2] = 3
Matched

Expecting sub string: [3] = 4
Matched
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.

--