[ews] Download the build archive from master when download from S3 fails. This would act as a fallback option when S3 is having problems (like it is having currently).
Created attachment 381585 [details] Patch
Comment on attachment 381585 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=381585&action=review > Tools/BuildSlaveSupport/ews-build/steps.py:1313 > + if rc == FAILURE: Should this be rc != SUCCESS? > Tools/BuildSlaveSupport/ews-build/steps.py:1321 > + WithProperties(EWS_URL + 'ews-archives.webkit.org/%(fullPlatform)s-%(architecture)s-%(configuration)s/%(patch_id)s.zip')] This looks wrong. It would resolve to 'https://ews-build.webkit.org/ews-archives.webkit.org/....'
Comment on attachment 381585 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=381585&action=review >> Tools/BuildSlaveSupport/ews-build/steps.py:1313 >> + if rc == FAILURE: > > Should this be rc != SUCCESS? This is fine, we don't want to add that step in case of WARNINGS, SKIPPED or EXCEPTION. We use similar logic at other places as well, e.g.: https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps.py#L108 >> Tools/BuildSlaveSupport/ews-build/steps.py:1321 >> + WithProperties(EWS_URL + 'ews-archives.webkit.org/%(fullPlatform)s-%(architecture)s-%(configuration)s/%(patch_id)s.zip')] > > This looks wrong. It would resolve to 'https://ews-build.webkit.org/ews-archives.webkit.org/....' And that's why we have code-reviews. Thanks for noticing. Fixed in updated patch.
Created attachment 381587 [details] Patch
Sample run: https://ews-build.webkit-uat.org/#/builders/4/builds/12
Committed r251450: <https://trac.webkit.org/changeset/251450>
<rdar://problem/56513673>
Deployed in production few hours back. Example of situation where this change helped: https://ews-build.webkit.org/#/builders/14/builds/5251