WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
215174
EWS emails about build failure should include relevant error logs
https://bugs.webkit.org/show_bug.cgi?id=215174
Summary
EWS emails about build failure should include relevant error logs
Aakash Jain
Reported
2020-08-05 10:44:07 PDT
EWS emails about build failure should include relevant error logs. It would make it easier to quickly identify the issue from the email itself. These logs will be filtered/shortened version of error logs which are displayed in Buildbot build (which were added in
Bug 203418
). Currently these emails are enabled only for bot-watchers, but when we will enable them for engineers, having relevant error logs in email would be useful.
Attachments
Patch
(5.03 KB, patch)
2020-08-05 10:49 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Patch
(6.92 KB, patch)
2020-08-05 12:43 PDT
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2020-08-05 10:49:27 PDT
Created
attachment 406012
[details]
Patch
Aakash Jain
Comment 2
2020-08-05 11:02:55 PDT
Tested in
https://ews-build.webkit-uat.org/#/builders/33/builds/274
Jonathan Bedard
Comment 3
2020-08-05 11:18:53 PDT
Comment on
attachment 406012
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=406012&action=review
> Tools/BuildSlaveSupport/ews-build/steps.py:-1398 > - return defer.succeed(None)
Was this line removed intentionally?
> Tools/BuildSlaveSupport/ews-build/steps.py:1408 > + def getResults(self, name):
What is the return value of this function? I ask because it looks like @defer.inlineCallbacks is overriding that.
> Tools/BuildSlaveSupport/ews-build/steps.py:1411 > + defer.returnValue(None)
This looks like an early exit, but I'm not familiar with this 'defer' idiom, do we not need to return so we exit early?
Aakash Jain
Comment 4
2020-08-05 12:41:11 PDT
Comment on
attachment 406012
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=406012&action=review
>> Tools/BuildSlaveSupport/ews-build/steps.py:-1398 >> - return defer.succeed(None) > > Was this line removed intentionally?
Yes, it was moved. This line belonged to start() method earlier, and now also it belongs to start() method.
>> Tools/BuildSlaveSupport/ews-build/steps.py:1411 >> + defer.returnValue(None) > > This looks like an early exit, but I'm not familiar with this 'defer' idiom, do we not need to return so we exit early?
Yes. Also this method is mostly copied from AnalyzeAPITestsResults::getTestsResults()
Aakash Jain
Comment 5
2020-08-05 12:43:47 PDT
Created
attachment 406026
[details]
Patch
EWS
Comment 6
2020-08-05 13:41:36 PDT
Committed
r265302
: <
https://trac.webkit.org/changeset/265302
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 406026
[details]
.
Radar WebKit Bug Importer
Comment 7
2020-08-05 13:42:18 PDT
<
rdar://problem/66591524
>
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