This is an archive of the discontinued LLVM Phabricator instance.

[HWASAN] Run sanitizer_common tests
ClosedPublic

Authored by vitalybuka on Apr 25 2023, 11:18 PM.

Details

Summary

ninja check-sanitizer will run tests with hwasan as well

Diff Detail

Event Timeline

vitalybuka created this revision.Apr 25 2023, 11:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 11:18 PM
Herald added a subscriber: Enna1. · View Herald Transcript
vitalybuka requested review of this revision.Apr 25 2023, 11:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 11:18 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov accepted this revision.Apr 26 2023, 11:03 AM
This revision is now accepted and ready to land.Apr 26 2023, 11:03 AM

remove xfails

This revision was landed with ongoing or failed builds.Apr 26 2023, 12:58 PM
This revision was automatically updated to reflect the committed changes.
dyung added a subscriber: dyung.Apr 26 2023, 4:00 PM

Hi @vitalybuka , you may already be aware of it (I see you are making fixes in this area in follow-up commits), but this change caused a test failure on at least one bot that still seems to be failing. Please take a look and fix it if you can or XFAIL or revert if not.

https://lab.llvm.org/buildbot/#/builders/247/builds/3924

Hi @vitalybuka , you may already be aware of it (I see you are making fixes in this area in follow-up commits), but this change caused a test failure on at least one bot that still seems to be failing. Please take a look and fix it if you can or XFAIL or revert if not.

https://lab.llvm.org/buildbot/#/builders/247/builds/3924

Thanks for pointer, I'll fix or revert soon.

These tests appear to fail on bots that are not building lld: https://lab.llvm.org/buildbot/#/builders/179/builds/6024

It is required that they use lld, should there be a dependency here?

These tests appear to fail on bots that are not building lld: https://lab.llvm.org/buildbot/#/builders/179/builds/6024

It is required that they use lld, should there be a dependency here?

@vitalybuka Could you take a look, please? I am very unfamiliar with HWSAN, but all the failing tests are "hwsan" related and started appearing after 3 HWSAN related changes landed. This one and:

All authored by you :) If you have no access to an AArch64 machine, I am happy to help with testing.

These tests appear to fail on bots that are not building lld: https://lab.llvm.org/buildbot/#/builders/179/builds/6024

It is required that they use lld, should there be a dependency here?

@vitalybuka Could you take a look, please? I am very unfamiliar with HWSAN, but all the failing tests are "hwsan" related and started appearing after 3 HWSAN related changes landed. This one and:

All authored by you :) If you have no access to an AArch64 machine, I am happy to help with testing.

Sorry, I just notices. I will fix today.
We have arm but we use lld there :) There is a bug in ld which manifests with hwasan.
So I guess we need to disabled hwasan without lld.
What is confuses me, that we landed similar stuff for lsan+hwasan few month ago, and I don't see failures on that bot. And seems check-all does not run lsan tests.

These tests appear to fail on bots that are not building lld: https://lab.llvm.org/buildbot/#/builders/179/builds/6024

It is required that they use lld, should there be a dependency here?

@vitalybuka Could you take a look, please? I am very unfamiliar with HWSAN, but all the failing tests are "hwsan" related and started appearing after 3 HWSAN related changes landed. This one and:

All authored by you :) If you have no access to an AArch64 machine, I am happy to help with testing.

Sorry, I just notices. I will fix today.

That would be much appreciated. This is affecting our SVE bot, and these are rare :)

We have arm but we use lld there :) There is a bug in ld which manifests with hwasan.
So I guess we need to disabled hwasan without lld.

+1

Once this is resolved, we could discuss installing lld on that bot. For that, however, we'd need to wait for @DavidSpickett to be back (he'll be away most of May).

This is correct but I’m not the only person who can deal with bots. Write
to the mailing list
https://lists.linaro.org/archives/list/linaro-toolchain@lists.linaro.org/
and one of my Linaro colleagues can help you figure it out.

LLD issue should be fixed now