Title: [250318] trunk/Tools
- Revision
- 250318
- Author
- [email protected]
- Date
- 2019-09-24 14:27:39 -0700 (Tue, 24 Sep 2019)
Log Message
[ews-build] Improve summary for Validate Patch step
https://bugs.webkit.org/show_bug.cgi?id=202163
Reviewed by Jonathan Bedard.
* BuildSlaveSupport/ews-app/ews/views/statusbubble.py: Remove the redundant message saying:
'Some messages were logged while the patch was still eligible'.
* BuildSlaveSupport/ews-build/steps.py:
(ValidatePatch.skip_build): Updated the descritionDone with the reason to skip the patch.
(ValidatePatch.getResultSummary): Overrode this method so as to prevent buildbot from automatically
appending '(failure)' at the end of the summary string.
Modified Paths
Diff
Modified: trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py (250317 => 250318)
--- trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py 2019-09-24 21:11:34 UTC (rev 250317)
+++ trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py 2019-09-24 21:27:39 UTC (rev 250318)
@@ -122,8 +122,6 @@
bubble['details_message'] += ' Patch was already marked r- when EWS attempted to process it.'
elif re.search(r'Patch .* is obsolete', build.state_string):
bubble['details_message'] += ' Patch was obsolete when EWS attempted to process it.'
- bubble['details_message'] += '\nSome messages were logged while the patch was still eligible:\n\n'
- bubble['details_message'] += self._steps_messages(build)
elif build.result == Buildbot.EXCEPTION:
bubble['state'] = 'error'
Modified: trunk/Tools/BuildSlaveSupport/ews-build/steps.py (250317 => 250318)
--- trunk/Tools/BuildSlaveSupport/ews-build/steps.py 2019-09-24 21:11:34 UTC (rev 250317)
+++ trunk/Tools/BuildSlaveSupport/ews-build/steps.py 2019-09-24 21:27:39 UTC (rev 250318)
@@ -402,10 +402,16 @@
return 1
return 0
+ def getResultSummary(self):
+ if self.results == FAILURE:
+ return {u'step': unicode(self.descriptionDone)}
+ return super(ValidatePatch, self).getResultSummary()
+
def skip_build(self, reason):
self._addToLog('stdio', reason)
self.finished(FAILURE)
self.build.results = SKIPPED
+ self.descriptionDone = reason
self.build.buildFinished([reason], SKIPPED)
def start(self):
@@ -412,6 +418,7 @@
patch_id = self.getProperty('patch_id', '')
if not patch_id:
self._addToLog('stdio', 'No patch_id found. Unable to proceed without patch_id.\n')
+ self.descriptionDone = 'No patch id found'
self.finished(FAILURE)
return None
Modified: trunk/Tools/ChangeLog (250317 => 250318)
--- trunk/Tools/ChangeLog 2019-09-24 21:11:34 UTC (rev 250317)
+++ trunk/Tools/ChangeLog 2019-09-24 21:27:39 UTC (rev 250318)
@@ -1,3 +1,17 @@
+2019-09-24 Aakash Jain <[email protected]>
+
+ [ews-build] Improve summary for Validate Patch step
+ https://bugs.webkit.org/show_bug.cgi?id=202163
+
+ Reviewed by Jonathan Bedard.
+
+ * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: Remove the redundant message saying:
+ 'Some messages were logged while the patch was still eligible'.
+ * BuildSlaveSupport/ews-build/steps.py:
+ (ValidatePatch.skip_build): Updated the descritionDone with the reason to skip the patch.
+ (ValidatePatch.getResultSummary): Overrode this method so as to prevent buildbot from automatically
+ appending '(failure)' at the end of the summary string.
+
2019-09-24 Keith Rollin <[email protected]>
Coalesce or remove PLATFORM(MAC) || PLATFORM(IOS_FAMILY)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes