WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201072
[ews] Add EWS queue for applying watchlist
https://bugs.webkit.org/show_bug.cgi?id=201072
Summary
[ews] Add EWS queue for applying watchlist
Aakash Jain
Reported
2019-08-23 04:11:36 PDT
Applying watchlist feature was hidden inside Style queue in old EWS. This feature is independent of style checker and there is no specific reason it should be inside style queue. We should make a separate queue to apply watchlist.
Attachments
Patch
(7.80 KB, patch)
2019-08-23 08:32 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Patch
(8.33 KB, patch)
2019-08-23 11:46 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Patch
(8.35 KB, patch)
2019-08-26 07:42 PDT
,
Aakash Jain
jbedard
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2019-08-23 08:32:40 PDT
Created
attachment 377128
[details]
Patch
EWS Watchlist
Comment 2
2019-08-23 11:06:02 PDT
Comment hidden (obsolete)
Attachment 377128
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1747: [TestApplyWatchList.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1747: [TestApplyWatchList.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1761: [TestApplyWatchList.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1761: [TestApplyWatchList.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:1598: [ApplyWatchList.getResultSummary] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:1599: [ApplyWatchList.getResultSummary] Instance of 'ApplyWatchList' has no 'results' member [pylint/E1101] [5] Total errors found: 6 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aakash Jain
Comment 3
2019-08-23 11:08:48 PDT
Sample run:
https://ews-build.webkit-uat.org/#/builders/43/builds/31
Aakash Jain
Comment 4
2019-08-23 11:46:50 PDT
Created
attachment 377143
[details]
Patch
EWS Watchlist
Comment 5
2019-08-23 11:50:35 PDT
Comment hidden (obsolete)
Attachment 377143
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1747: [TestApplyWatchList.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1747: [TestApplyWatchList.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1761: [TestApplyWatchList.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:1761: [TestApplyWatchList.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:1598: [ApplyWatchList.getResultSummary] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:1599: [ApplyWatchList.getResultSummary] Instance of 'ApplyWatchList' has no 'results' member [pylint/E1101] [5] Total errors found: 6 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jonathan Bedard
Comment 6
2019-08-23 13:26:05 PDT
(In reply to Aakash Jain from
comment #3
)
> Sample run:
https://ews-build.webkit-uat.org/#/builders/43/builds/31
In this test run, it didn't list anyone to be added to the CC list...why is that?
Aakash Jain
Comment 7
2019-08-26 07:42:53 PDT
Created
attachment 377244
[details]
Patch
EWS Watchlist
Comment 8
2019-08-26 07:44:02 PDT
Comment hidden (obsolete)
Attachment 377244
[details]
did not pass style-queue: ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:318: [TestApplyWatchList.test_success] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:318: [TestApplyWatchList.test_success] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:332: [TestApplyWatchList.test_failure] Passing unexpected keyword argument 'state_string' in function call [pylint/E1123] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps_unittest.py:332: [TestApplyWatchList.test_failure] No value passed for parameter 'status_text' in function call [pylint/E1120] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:1597: [ApplyWatchList.getResultSummary] Use of super on an old style class [pylint/E1002] [5] ERROR: Tools/BuildSlaveSupport/ews-build/steps.py:1598: [ApplyWatchList.getResultSummary] Instance of 'ApplyWatchList' has no 'results' member [pylint/E1101] [5] Total errors found: 6 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aakash Jain
Comment 9
2019-08-26 08:04:57 PDT
> In this test run, it didn't list anyone to be added to the CC list...why is that?
In that particular case, it was because the files modified in the patch weren't matching with any watchlist rules. However, in further testing, I found out that simply using the WatchList command wouldn't work without first applying the content of the patch to local directory. Updated the patch for that. Sample run:
https://ews-build.webkit-uat.org/#/builders/43/builds/98
Aakash Jain
Comment 10
2019-08-26 08:13:52 PDT
Another one (with webkit-misc bot):
https://ews-build.webkit-uat.org/#/builders/43/builds/107
Jonathan Bedard
Comment 11
2019-08-26 09:18:27 PDT
(In reply to Aakash Jain from
comment #9
)
> > In this test run, it didn't list anyone to be added to the CC list...why is that? > In that particular case, it was because the files modified in the patch > weren't matching with any watchlist rules. However, in further testing, I > found out that simply using the WatchList command wouldn't work without > first applying the content of the patch to local directory. > > Updated the patch for that. Sample run: >
https://ews-build.webkit-uat.org/#/builders/43/builds/98
That example logged in with your credentials, which seems wrong for production. Actually, I'm a little unclear why it needs to log in at all.
Aakash Jain
Comment 12
2019-08-26 09:27:26 PDT
> That example logged in with your credentials, which seems wrong for production.
Please see
https://bugs.webkit.org/show_bug.cgi?id=201072#c10
for another example.
> > Actually, I'm a little unclear why it needs to log in at all.
Because the cc list on bugzilla bug needs to be modified, which needs authentication.
Jonathan Bedard
Comment 13
2019-08-26 09:30:13 PDT
(In reply to Aakash Jain from
comment #12
)
> > That example logged in with your credentials, which seems wrong for production. > Please see
https://bugs.webkit.org/show_bug.cgi?id=201072#c10
for another > example. > > > > Actually, I'm a little unclear why it needs to log in at all. > Because the cc list on bugzilla bug needs to be modified, which needs > authentication.
Ok, that makes sense, and I suppose we have
ews@webkit.org
for this exact purpose.
Aakash Jain
Comment 14
2019-08-26 10:08:25 PDT
Committed
r249100
: <
https://trac.webkit.org/changeset/249100
>
Radar WebKit Bug Importer
Comment 15
2019-08-26 10:09:22 PDT
<
rdar://problem/54711226
>
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