[LLVMdev] Parallel testsuite run breaks

Jason Kim jasonwkim at google.com
Thu Dec 9 10:16:47 PST 2010


On Thu, Dec 9, 2010 at 9:46 AM, Török Edwin <edwintorok at gmail.com> wrote:
> On Thu, 09 Dec 2010 11:24:19 -0600
> greened at obbligato.org (David A. Greene) wrote:
>
>> greened at obbligato.org (David A. Greene) writes:
>>
>> > Often I run a few different builds in parallel, with different
>> > obj/build directories.  Is it possible that the test infrastructure
>> > writes something to the source directories or some common temp
>> > directory?  That could confuse things when doing parallel
>> > build/test and would explain all these failures.  When I don't run
>> > in parallel, things seem to work much better.
>>
>> There is definitely something to this.  If I take a random failing
>> testcase and run the test in isolation in the shell, it works.  So
>> what, if anything, does lit/FileCheck/etc. do that might run
>> interference if there is another copy of lit/FileCheck/etc. running
>> at the same time? I tried strace -etrace=file but nothing obvious
>> pops out.

Perhaps its this?   - http://llvm.org/bugs/show_bug.cgi?id=8199

-jason

>
> I don't see anything wrong with FileCheck either.
>
> However looks here, that .bc file is in the *source* tree, not the obj tree:
> not llvm-dis < /ptmp/dag/llvm-project.official/llvm/trunk/test/Bitcode/null-type.ll.bc > /dev/null |& grep "Invalid MODULE_CODE_FUNCTION record"
>
> And I guess the .bc file is created by something during the test, multiple builds in parallel == everything breaks.
> Daniel, is the .bc file created by 'lit'?



> Best regards,
> --Edwin
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list