WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193138
[ews-build] use svn-apply script to apply the patches
https://bugs.webkit.org/show_bug.cgi?id=193138
Summary
[ews-build] use svn-apply script to apply the patches
Aakash Jain
Reported
2019-01-04 06:12:15 PST
Default Buildbot git/svn methods to apply the patch (which uses either patch command or git apply command) can not reliably apply the WebKit patches. Especially in dealing with ChangeLog (e.g.: when there have been further commits on ToT between the time when patch was generated by an engineer and patch was applied by EWS). svn-patch can much effectively handle such cases. Current OpenSource EWS uses svn-patch script to apply the patches. We should also use the same script for new Buildbot based EWS.
Attachments
Proposed patch
(4.26 KB, patch)
2019-01-04 07:18 PST
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-sierra
(2.47 MB, application/zip)
2019-01-04 08:21 PST
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2019-01-04 07:18:55 PST
Created
attachment 358316
[details]
Proposed patch Sample run:
http://ews-build.webkit-uat.org/#/builders/21/builds/907
EWS Watchlist
Comment 2
2019-01-04 07:23:21 PST
Comment hidden (obsolete)
Attachment 358316
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:27: No name 'worker' in module 'buildbot.steps' [pylint/E0611] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:128: [ApplyPatch.start] Instance of 'ApplyPatch' has no 'downloadFileContentToWorker' member [pylint/E1101] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:129: [ApplyPatch.start.<lambda>] Instance of 'ApplyPatch' has no 'downloadFileContentToWorker' member [pylint/E1101] [5] Total errors found: 3 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 3
2019-01-04 08:21:13 PST
Comment on
attachment 358316
[details]
Proposed patch
Attachment 358316
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10628013
New failing tests: http/wpt/css/css-animations/start-animation-001.html
EWS Watchlist
Comment 4
2019-01-04 08:21:14 PST
Created
attachment 358319
[details]
Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
Lucas Forschler
Comment 5
2019-01-04 08:51:03 PST
Comment on
attachment 358316
[details]
Proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=358316&action=review
> Tools/BuildSlaveSupport/ews-build/steps.py:95 > + name = 'clean-and-update-working-directory'
this seems like it is not related to this patch, but if it's just a drive by fix, then go ahead and leave it.
> Tools/BuildSlaveSupport/ews-build/steps.py:120 > + return sourcestamp.patch[1]
it's unclear to me why we are indexing '1' here, can you put a comment?
Aakash Jain
Comment 6
2019-01-04 11:49:18 PST
Comment on
attachment 358316
[details]
Proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=358316&action=review
>> Tools/BuildSlaveSupport/ews-build/steps.py:95 >> + name = 'clean-and-update-working-directory' > > this seems like it is not related to this patch, but if it's just a drive by fix, then go ahead and leave it.
Yeah, it's a drive by fix.
>> Tools/BuildSlaveSupport/ews-build/steps.py:120 >> + return sourcestamp.patch[1] > > it's unclear to me why we are indexing '1' here, can you put a comment?
It's based on how buildbot internally store the patch (inside sourcestamp). Referred from
https://github.com/buildbot/buildbot/blob/master/master/buildbot/steps/source/base.py#L223
Note that Sourcestamp info is visible when you click on 'Debug' tab on any build.
WebKit Commit Bot
Comment 7
2019-01-04 13:14:23 PST
Comment on
attachment 358316
[details]
Proposed patch Clearing flags on attachment: 358316 Committed
r239633
: <
https://trac.webkit.org/changeset/239633
>
WebKit Commit Bot
Comment 8
2019-01-04 13:14:25 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2019-01-04 13:15:33 PST
<
rdar://problem/47055515
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug