[llvm-dev] Unstable XRay test on ARM

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 25 03:02:54 PST 2017


Hi Dean/Serge,

I just spotted this on our bots:

First failure, unrelated commit:
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3190

'XRay-Unit :: unit/XRayFDRLoggingTest/FDRLoggingTest.Simple' FAILED
llvm/projects/compiler-rt/lib/xray/tests/unit/fdr_logging_test.cc:55: Failure
      Expected: FDRLogging_init(kBufferSize, kBufferMax, &Options,
sizeof(FDRLoggingOptions))
      Which is: 0
To be equal to: XRayLogInitStatus::XRAY_LOG_INITIALIZED
      Which is: 2
[  FAILED  ] FDRLoggingTest.Simple (0 ms)
...
 1 FAILED TEST
==11476==XRay instrumentation map missing. Not initializing XRay.

Then a similar, but not identical error:
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3191

'XRay-Unit :: unit/XRayFDRLoggingTest/FDRLoggingTest.Simple' FAILED
llvm/projects/compiler-rt/lib/xray/tests/unit/fdr_logging_test.cc:58: Failure
      Expected: FDRLogging_finalize()
      Which is: 2
To be equal to: XRayLogInitStatus::XRAY_LOG_FINALIZED
      Which is: 4
[  FAILED  ] FDRLoggingTest.Simple (0 ms)
...
 1 FAILED TEST
==11476==XRay instrumentation map missing. Not initializing XRay.

Note 0->2 on the first, 2->4 on the second.

And then, for no reason, it's green again:
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3192

Looks like an unstable test to me. :)

Can you guys have a look?

Thanks!
--renato


More information about the llvm-dev mailing list