Summary: | ews might mark build as successful if tests fail to run | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||
Component: | Tools / Tests | Assignee: | Aakash Jain <aakash_jain> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | aakash_jain, ap, jbedard, ryanhaddad, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Other | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=218618 https://bugs.webkit.org/show_bug.cgi?id=219543 https://bugs.webkit.org/show_bug.cgi?id=229634 |
||||||
Attachments: |
|
Description
Aakash Jain
2020-08-28 12:41:14 PDT
Created attachment 407956 [details]
Patch
Comment on attachment 407956 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407956&action=review > Tools/BuildSlaveSupport/ews-build/steps.py:2219 > + return self.retry_build('Unexpected infrastructure issue, retrying build') Won't this put us into an infinite retry loop? I recall there being a bug about getting out of an infinite retry loop by updating the revision we're testing with.....have we landed that yet? (In reply to Jonathan Bedard from comment #2) > Won't this put us into an infinite retry loop? I recall there being a bug about getting out of an infinite retry loop by updating the revision we're testing with.....have we landed that yet? You are right, depending on what caused the issue, it might create infinite retry loop (e.g.: bad commit causing layout-test to hang would create infinite retry loop, whereas bot in a bad state causing tests to hang would cause retries only until the bot is fixed). Bug 203698 which has the fix to automatically get out of retries isn't landed yet (need some more testing for edge cases). That patch would update retry_build() method, which is used by this patch. So when we land that patch, the fix will be applicable for this case as well. We can wait to land this patch after Bug 203698, or can land this now as well. In theory this patch is still an improvement, since without this, ews might show misleading green status-bubbles, which is probably worst than no results. (In reply to Aakash Jain from comment #3) > (In reply to Jonathan Bedard from comment #2) > > Won't this put us into an infinite retry loop? I recall there being a bug about getting out of an infinite retry loop by updating the revision we're testing with.....have we landed that yet? > You are right, depending on what caused the issue, it might create infinite > retry loop (e.g.: bad commit causing layout-test to hang would create > infinite retry loop, whereas bot in a bad state causing tests to hang would > cause retries only until the bot is fixed). > > Bug 203698 which has the fix to automatically get out of retries isn't > landed yet (need some more testing for edge cases). That patch would update > retry_build() method, which is used by this patch. So when we land that > patch, the fix will be applicable for this case as well. > > We can wait to land this patch after Bug 203698, or can land this now as > well. In theory this patch is still an improvement, since without this, ews > might show misleading green status-bubbles, which is probably worst than no > results. How far are we from getting bug 203698 landed? I'm ok landing this one now, but only if we get bug 203698 landed in the next week. It seems like this change will make the case covered by bug 203698 more common. (In reply to Jonathan Bedard from comment #4) > How far are we from getting bug 203698 landed? I'm ok landing this one now, but only if we get bug 203698 landed in the next week. It seems like this change will make the case covered by bug 203698 more common. I think next week is reasonable for Bug 203698. Can you please review that patch again as well? Committed r266799: <https://trac.webkit.org/changeset/266799> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407956 [details]. |