Bug 187357 - [ews-build] Add build step to UnApply patch
Summary: [ews-build] Add build step to UnApply patch
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-05 12:41 PDT by Aakash Jain
Modified: 2018-07-16 15:41 PDT (History)
7 users (show)

See Also:


Attachments
Proposed patch (1.77 KB, patch)
2018-07-05 13:38 PDT, Aakash Jain
ap: review+
ews-watchlist: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews204 for win-future (12.88 MB, application/zip)
2018-07-05 17:16 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2018-07-05 12:41:50 PDT
When a patch fails to build or fails layout-tests, EWS should unapply the patch and build/test again. We should add the build step to unapply the patch.
Comment 1 Aakash Jain 2018-07-05 13:38:57 PDT
Created attachment 344360 [details]
Proposed patch

Tested in http://ews-build.webkit-uat.org/#/builders/9/builds/22
Comment 2 EWS Watchlist 2018-07-05 13:41:27 PDT Comment hidden (obsolete)
Comment 3 EWS Watchlist 2018-07-05 17:16:16 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2018-07-05 17:16:26 PDT Comment hidden (obsolete)
Comment 5 Aakash Jain 2018-07-10 16:43:27 PDT
Committed r233708: <https://trac.webkit.org/changeset/233708>
Comment 6 Radar WebKit Bug Importer 2018-07-10 16:45:16 PDT
<rdar://problem/42047134>
Comment 7 Daniel Bates 2018-07-16 15:41:17 PDT
Comment on attachment 344360 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=344360&action=review

> Tools/BuildSlaveSupport/ews-build/steps.py:73
> +        super(UnApplyPatchIfRequired, self).__init__(alwaysUseLatest=True, **kwargs)

From my understanding setting alwaysUseLatest to true both cleans the working directory and pulls down new source changes. This represents a behavior change from the current EWS. The current EWS actually unapplies the patch. It does this implicitly by cleaning the working directory. That is, it does not both clean the working directory and pull down new source changes.