[lldb-dev] Code coverage of llvm, clang, lldb & polly

Malea, Daniel daniel.malea at intel.com
Thu May 30 15:31:34 PDT 2013


Hi Sylvestre, I committed a potential fix for the 'ps' issue in 182965.

Out of curiosity, is the code-coverage run happening on a different
machine than the normal testing runs? For example, I'm seeing:

http://llvm-jenkins.debian.net/job/llvm-toolchain-quantal-binaries/architec
ture=amd64,distribution=quantal/166/consoleText

Doesn't have any problems finding 'ps' when running the tests. It seems
odd that 'ps' is not being found..could it maybe be in a (different)
chroot environment where ps is not available for some reason?

Cheers,
Dan

On 2013-05-30 10:36 AM, "Sylvestre Ledru" <sylvestre at debian.org> wrote:

>On 29/05/2013 22:41, Malea, Daniel wrote:
>> Hi all, I have a fix for the problem below.
>> 
>> Sylvestre, can you apply the attached to the 'rules' file in your
>> repository?
>> 
>Thanks! It fixes our problem. However, there is an other one but I think
>it might be caused by lldb itself here.
>
>ython
>/tmp/buildd/llvm-toolchain-snapshot-3.4~svn182916/tools/lldb/test/dosep.ty
>-o "--executable
>/tmp/buildd/llvm-toolchain-snapshot-3.4~svn182916/build-llvm/Release/bin/l
>ldb
>-q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C x86_64-linux-gnu-gcc"
>Traceback (most recent call last):
>  File
>"/tmp/buildd/llvm-toolchain-snapshot-3.4~svn182916/lldb/test/dotest.py",
>line 1210, in <module>
>    print >> f, "Command invoked: %s\n" % getMyCommandLine()
>  File
>"/tmp/buildd/llvm-toolchain-snapshot-3.4~svn182916/lldb/test/dotest.py",
>line 1074, in getMyCommandLine
>    ps = subprocess.Popen(['ps', '-o', "command=CMD", str(os.getpid())],
>stdout=subprocess.PIPE).communicate()[0]
>  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
>    errread, errwrite)
>  File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
>    raise child_exception
>OSError: [Errno 2] No such file or directory
>
>Full log:
>http://llvm-jenkins.debian.net/job/llvm-toolchain-codecoverage-binaries/ar
>chitecture=amd64,distribution=unstable/79/consoleFull
>
>
>Sylvestre
>
>_______________________________________________
>lldb-dev mailing list
>lldb-dev at cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list