[Bug 25485] New: TestCompletion.CommandLineCompletionTestCase.test_symbol_name_dwarf failing intermittently under load on Darwin

Bug ID 25485
Summary TestCompletion.CommandLineCompletionTestCase.test_symbol_name_dwarf failing intermittently under load on Darwin
Product lldb
Version unspecified
Hardware Macintosh
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

On OS X 10.11.2 Beta (15C31f),
TestCompletion.CommandLineCompletionTestCase.test_symbol_name_dwarf is failing
intermittently (2 out of 3 times on my system) when the parallel test runner is
used.

Test trace follows:

os command: make clean 
with pid: 48966
stdout: rm -f  main.o main.d main.d.tmp main.dwo   
rm -f -r "a.out.dSYM"
rm -f "a.out"

stderr: 
retcode: 0

os command: make MAKE_DSYM=NO ARCH=x86_64 CC="clang" 
with pid: 49028
stdout: clang++ -std=c++11 -g -O0 -fno-builtin -arch x86_64  
-I/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/make/../../../../../include
-include
/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/make/test_common.h
   -c -o main.o main.cpp
clang++  main.o -g -O0 -fno-builtin -arch x86_64  
-I/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/make/../../../../../include
-include
/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/make/test_common.h
   -o "a.out"

stderr: 
retcode: 0

looking at: (lldb) file a.out
Current executable set to 'a.out' (x86_64).
(lldb)                                  breakpoint set -n Fo
e[K(lldb)             

Expecting sub string: breakpoint set -n Foo::Bar(int,\ int)
Not matched

FAIL

tearing down the child process....

Traceback (most recent call last):
  File
"/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 536, in wrapper
    return func(self, *args, **kwargs)
  File
"/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2228, in dwarf_test_method
    return attrvalue(self)
  File
"/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 608, in wrapper
    func(*args, **kwargs)
  File
"/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py",
line 262, in test_symbol_name
    turn_off_re_match=True)
  File
"/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py",
line 320, in complete_from_to
    substrs = [p])
  File
"/Users/tfiala/lldb/tot/git-svn/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2764, in expect
    msg if msg else EXP_MSG(str, exe))
AssertionError: False is not True : 'file a.out
                                 breakpoint set -n Fo' successfully completes
to 'breakpoint set -n Foo::Bar(int,\ int)'
Config=x86_64-clang
Session info generated @ Tue Nov 10 20:26:58 2015
To rerun this test, issue the following command from the 'test' directory:

./dotest.py -A x86_64 -C clang -v -t  -f
CommandLineCompletionTestCase.test_symbol_name_dwarf