[compiler-rt] r221896 - [ASan] Add process basename to log name and error message to simplify analysis of sanitized systems logs.

Kuba Brecka kuba.brecka at gmail.com
Thu Nov 13 11:21:43 PST 2014


I can reproduce on my machine (OS X 10.10). It fails on this line (13) from
log-path_test.cc:

// RUN: FileCheck %s --check-prefix=CHECK-ERROR < %t.log.log-path_test.cc*

and really, the "%t.log.log-path_test.cc*" does not exist.

Kuba


On Thu, Nov 13, 2014 at 10:52 AM, Yury Gribov <y.gribov at samsung.com> wrote:

> On 11/13/2014 08:13 PM, Kuba Brecka wrote:
>
>> I think this patch caused this test failure:
>> http://lab.llvm.org:8080/green/job/clang-stage1-cmake-
>> RA-incremental_checkall/247/console
>>
>
> Hm, looks like some system issue. The test in question should check that
> file some/path/log-path_test.cc.tmp.log.log-path_test.cc* does not exist:
>
>  not cat /Users/buildslave/jenkins/sharedspace/incremental at 2/
> clang-build/projects/compiler-rt/test/asan/32bitConfig/TestCases/Output/
> log-path_test.cc.tmp.log.log-path_test.cc*
>
> Now given the error message, it seems that the log indeed does not exist:
>
>  Command Output (stderr):
>  --
>
> /Users/buildslave/jenkins/sharedspace/incremental at 2/
> clang-build/projects/compiler-rt/test/asan/32bitConfig/
> TestCases/Output/log-path_test.cc.script: line 6:
> /Users/buildslave/jenkins/sharedspace/incremental at 2/
> clang-build/projects/compiler-rt/test/asan/32bitConfig/TestCases/Output/
> log-path_test.cc.tmp.log.log-path_test.cc*: No such file or directory
>
> but 'not' still reports failure:
>
>  --
>  Exit Code: 1
>
> Does anyone have a clue? Could I ssh somewhere to repro this (I can't on
> local machine with TOT llvm, clang and compiler-rt)?
>
> -Y
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141113/ed6796d0/attachment.html>


More information about the llvm-commits mailing list