WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193196
[ews-build] Use update-webkit script in Style EWS
https://bugs.webkit.org/show_bug.cgi?id=193196
Summary
[ews-build] Use update-webkit script in Style EWS
Aakash Jain
Reported
2019-01-07 07:54:22 PST
We should use clean-webkit and update-webkit scripts to clean and update the webkit checkout. These scripts are more reliable than Buildbot default method. Buildbot updates the repo in a weird manner, and doesn't update the source completely. It only does a 'git fetch', not 'git pull'. It results in origin/master never being updated. Therefore 'git status' shows: "Your branch is ahead of 'origin/master' by x commits." This cause the Style checker to check for style error in all those past x commits and therefore failing. For e.g.:
https://ews-build.webkit-uat.org/#/builders/5/builds/1001
fails with 18 style errors, even though that patch(358478) did not had any style error.
Attachments
Patch
(6.02 KB, patch)
2019-07-24 15:49 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Patch
(8.20 KB, patch)
2019-07-24 16:12 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2019-07-24 15:49:21 PDT
Created
attachment 374821
[details]
Patch
EWS Watchlist
Comment 2
2019-07-24 15:52:12 PDT
Comment hidden (obsolete)
Attachment 374821
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:170: [UpdateWorkingDirectory.__init__] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1448: [TestUpdateWorkingDirectory.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1448: [TestUpdateWorkingDirectory.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1461: [TestUpdateWorkingDirectory.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1461: [TestUpdateWorkingDirectory.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] Total errors found: 5 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aakash Jain
Comment 3
2019-07-24 16:12:09 PDT
Created
attachment 374825
[details]
Patch
EWS Watchlist
Comment 4
2019-07-24 16:14:24 PDT
Comment hidden (obsolete)
Attachment 374825
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:170: [UpdateWorkingDirectory.__init__] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:520: [CheckStyle.__init__] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1453: [TestUpdateWorkingDirectory.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1453: [TestUpdateWorkingDirectory.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1466: [TestUpdateWorkingDirectory.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1466: [TestUpdateWorkingDirectory.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] Total errors found: 6 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aakash Jain
Comment 5
2019-07-24 16:18:45 PDT
Sample runs: Style failure:
https://ews-build.webkit-uat.org/#/builders/5/builds/4959
Pass:
https://ews-build.webkit-uat.org/#/builders/5/builds/4958
WebKit Commit Bot
Comment 6
2019-07-26 12:22:10 PDT
Comment on
attachment 374825
[details]
Patch Clearing flags on attachment: 374825 Committed
r247871
: <
https://trac.webkit.org/changeset/247871
>
WebKit Commit Bot
Comment 7
2019-07-26 12:22:11 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-07-29 09:19:25 PDT
<
rdar://problem/53664345
>
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