Regression

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

Failing for the past 1 build (Since Failed#1491 )
Took 1 min 9 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 -p TestDataFormatterObjCNSContainer.py
--
Exit Code: -6

Command Output (stdout):
--
lldb version 11.0.99
  clang revision 4034d0ce207d0c545799ceae5aaf2e35d400407c
  llvm revision 4034d0ce207d0c545799ceae5aaf2e35d400407c

--
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 -p TestDataFormatterObjCNSContainer.py
Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake-sanitized/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc
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: 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: thread list
output: Process 54072 stopped
* thread #1: tid = 0x46652e, 0x000000010000489b a.out`main(argc=1, argv=0x00007ffeefbff410) at main.m:770:4, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
  thread #2: tid = 0x46654e, 0x00007fff693e45be libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #3: tid = 0x46654f, 0x00007fff693e45be libsystem_kernel.dylib`__workq_kernreturn + 10


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 newArray nsDictionary newDictionary nscfDictionary cfDictionaryRef newMutableDictionary cfarray_ref mutable_array_ref
output: (NSArray *) newArray = 0x0000604000001dd0 @"50 elements"
(NSDictionary *) nsDictionary = 0x00006060000095c0 2 key/value pairs
(NSDictionary *) newDictionary = 0x0000619000001980 12 key/value pairs
(NSDictionary *) nscfDictionary = 0x0000606000009620 4 key/value pairs
(CFDictionaryRef) cfDictionaryRef = 0x00006060000095c0 2 key/value pairs
(NSDictionary *) newMutableDictionary = 0x0000603000003610 21 key/value pairs
(CFArrayRef) cfarray_ref = 0x0000607000004000 @"3 elements"
(CFMutableArrayRef) mutable_array_ref = 0x0000604000002150 @"11 elements"


Expecting sub string: (NSArray *) newArray = 
Matched

Expecting sub string:  @"50 elements"
Matched

Expecting sub string: (NSDictionary *) nsDictionary = 
Matched

Expecting sub string:  2 key/value pairs
Matched

Expecting sub string: (NSDictionary *) newDictionary = 
Matched

Expecting sub string:  12 key/value pairs
Matched

Expecting sub string: (NSDictionary *) nscfDictionary = 
Matched

Expecting sub string:  4 key/value pairs
Matched

Expecting sub string: (CFDictionaryRef) cfDictionaryRef = 
Matched

Expecting sub string:  2 key/value pairs
Matched

Expecting sub string: (NSDictionary *) newMutableDictionary = 
Matched

Expecting sub string:  21 key/value pairs
Matched

Expecting sub string: (CFArrayRef) cfarray_ref = 
Matched

Expecting sub string:  @"3 elements"
Matched

Expecting sub string: (CFMutableArrayRef) mutable_array_ref = 
Matched

Expecting sub string:  @"11 elements"
Matched

runCmd: frame variable -d run-target *nscfDictionary
output: (__NSCFDictionary) *nscfDictionary = {
  [0] = {
    key = 0x0000000100006610 @"bar"
    value = 0x0000000100006610 @"bar"
  }
  [1] = {
    key = 0x0000000100006650 @"quux"
    value = 0x0000000100006650 @"quux"
  }
  [2] = {
    key = 0x0000000100006350 @"foo"
    value = 0x0000000100006350 @"foo"
  }
  [3] = {
    key = 0x0000000100006630 @"baz"
    value = 0x0000000100006630 @"baz"
  }
}


Expecting pattern: \(__NSCFDictionary\) \*nscfDictionary =
Matched

Expecting pattern: key = 0x.* @"foo"
Matched

Expecting pattern: value = 0x.* @"foo"
Matched

Expecting pattern: key = 0x.* @"bar"
Matched

Expecting pattern: value = 0x.* @"bar"
Matched

Expecting pattern: key = 0x.* @"baz"
Matched

Expecting pattern: value = 0x.* @"baz"
Matched

Expecting pattern: key = 0x.* @"quux"
Matched

Expecting pattern: value = 0x.* @"quux"
Matched

runCmd: frame variable -d run-target *cfDictionaryRef
output: (const __CFDictionary) *cfDictionaryRef = {
  [0] = {
    key = 0x0000000100006350 @"foo"
    value = 0x0000000100006350 @"foo"
  }
  [1] = {
    key = 0x0000000100006610 @"bar"
    value = 0x0000000100006610 @"bar"
  }
}


Expecting pattern: \(const __CFDictionary\) \*cfDictionaryRef =
Matched

Expecting pattern: key = 0x.* @"foo"
Matched

Expecting pattern: value = 0x.* @"foo"
Matched

Expecting pattern: key = 0x.* @"bar"
Matched

Expecting pattern: value = 0x.* @"bar"
Matched

runCmd: frame var nscfSet cfSetRef
output: (NSSet *) nscfSet = 0x00006040000020d0 2 elements
(CFSetRef) cfSetRef = 0x00006040000020d0 2 elements


Expecting sub string: (NSSet *) nscfSet = 
Matched

Expecting sub string: 2 elements
Matched

Expecting sub string: (CFSetRef) cfSetRef = 
Matched

Expecting sub string: 2 elements
Matched

runCmd: frame variable -d run-target *nscfSet
output: (__NSCFSet) *nscfSet = {
  [0] = 0x0000000100006350 @"foo"
  [1] = 0x0000000100006610 @"bar"
}


Expecting pattern: \(__NSCFSet\) \*nscfSet =
Matched

Expecting pattern: \[0\] = 0x.* @".*"
Matched

Expecting pattern: \[1\] = 0x.* @".*"
Matched

runCmd: frame variable -d run-target *cfSetRef
output: (const __CFSet) *cfSetRef = {
  [0] = 0x0000000100006350 @"foo"
  [1] = 0x0000000100006610 @"bar"
}


Expecting pattern: \(const __CFSet\) \*cfSetRef =
Matched

Expecting pattern: \[0\] = 0x.* @".*"
Matched

Expecting pattern: \[1\] = 0x.* @".*"
Matched

runCmd: frame variable iset1 iset2 imset
output: (NSIndexSet *) iset1 = 0x00006030000097f0 4 indexes
(NSIndexSet *) iset2 = 0x0000603000009820 512 indexes
(NSMutableIndexSet *) imset = 0x0000604000008f10 10 indexes

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.

--