In NFC testing, if llvm-bolt binaries are bitwise identical,
don't run NFC checks.
Details
- Reviewers
gkistanova - Group Reviewers
Restricted Project - Commits
- rZORGdc1dd89ac010: [BOLT] Check llvm-bolt binaries before running NFC checks
Diff Detail
- Repository
- rZORG LLVM Github Zorg
Event Timeline
Thanks, Amir.
The patch looks good. The only thing I'm not sure is the error handling at the check-bolt-different step. + one cosmetic nit pick.
zorg/buildbot/builders/BOLTBuilder.py | ||
---|---|---|
99 | How about adding something like "and skip the following 2 steps otherwise" to the step description? | |
101 | Could you elaborate on why you want flunkOnFailure=False here, please? At a quick glance, the step fails only if (1) the touch command fails, or (2) depending on error handling mode of the buildbot account shell if remove file command fails. The both cases seems indicate severe enough issues to be aware of (i.e. to fail the build), even if they are not related to a commit in question. |
Thank you for a review!
zorg/buildbot/builders/BOLTBuilder.py | ||
---|---|---|
101 | I agree with your reasoning that an issue with running cmp + touch is severe enough to warrant a test failure. I didn't think much of it, just copied the configuration from the following steps. |
Fix up cmp command, ensure the checks/skips are working as intended:
http://157.230.108.44:8011/#/builders/55/builds/1339 modifies llvm-bolt, NFC checks enforced
http://157.230.108.44:8011/#/builders/55/builds/1340 doesn't touch llvm-bolt, NFC checks skipped
How about adding something like "and skip the following 2 steps otherwise" to the step description?