This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Add support for choosing which checks to run on lldb builders
AbandonedPublic

Authored by stella.stamenova on Jan 13 2022, 5:49 PM.

Details

Summary

This change adds the option to select checks for the lldb builders and then uses the new option for the windows lldb builder.

The implementation is based on how the UnifiedTreeBuilder handles the checks.

Diff Detail

Event Timeline

stella.stamenova requested review of this revision.Jan 13 2022, 5:49 PM
stella.stamenova created this revision.
stella.stamenova added inline comments.
zorg/buildbot/builders/LLDBBuilder.py
112

@gkistanova : What version of python runs on buildbot? This should work fine for Python 3, but not for Python 2 if I remember correctly.

stella.stamenova retitled this revision from [lldb] Add support for choosing which checks to run to lldb builders to [lldb] Add support for choosing which checks to run on lldb builders.Jan 13 2022, 8:38 PM
JDevlieghere accepted this revision.Jan 13 2022, 9:26 PM

LGTM

zorg/buildbot/builders/LLDBBuilder.py
112

According to https://lab.llvm.org/buildbot/#/about, it's running Python 3.6.

This revision is now accepted and ready to land.Jan 13 2022, 9:26 PM
gkistanova accepted this revision.Jan 26 2022, 9:59 PM

The patch looks good. Thanks, Stella!

Jonas is right, we are running Python 3 on buildbot, so that's fine.

zorg/buildbot/builders/LLDBBuilder.py
111

Are you sure you don't want to use LitTestCommand for the check steps? That would parse the test failures and warnings and would provide a bit better UI for that. The check-lldb* tests are LIT tests, right?

stella.stamenova marked an inline comment as done.Jan 27 2022, 12:36 PM
stella.stamenova added a subscriber: omjavaid.

@gkistanova: Thanks for the review! Since @omjavaid asked if we could keep the API tests running, I am going to see if there are other things we can do before disabling them entirely, so I've put this change on hold for the moment. If we end up not needing it, I'll abandon it. I sent out https://reviews.llvm.org/D118403 earlier which will disable just all of the watchpoint tests and that should help with stability.

zorg/buildbot/builders/LLDBBuilder.py
111

They are lit tests, thanks for pointing this out. If we decide to make this change in addition to the new one I sent out, I'll make the change.

stella.stamenova abandoned this revision.Jan 31 2022, 4:26 PM

Disabling the watchpoint tests was sufficient to get the buildbot happy, so we no longer have need of this.