Changeset 233107 in webkit
- Timestamp:
- Jun 22, 2018 4:05:50 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r233102 r233107 1 2018-06-22 Daniel Bates <dabates@apple.com> 2 3 Security EWS: bots fails with exception 'NoneType' object has no attribute 'is_closed' 4 https://bugs.webkit.org/show_bug.cgi?id=186923 5 6 Reviewed by Lucas Forschler. 7 8 Attachments downloaded from the status server (http://webkit-queues.webkit.org) do not 9 have an associated Bug object (i.e. Attachment.bug() is None) and reflect the state they 10 were in, including flags set, at the time they were uploaded to the status server. We 11 will add support for fetching up-to-date status info about the attachment and its bug 12 in <https://bugs.webkit.org/show_bug.cgi?id=186817>. For now, we only check if the 13 bug associated with the patch we are processing is closed if the attachment has a 14 non-None Bug object. 15 16 * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py: 17 (EarlyWarningSystemTask.validate): 18 1 19 2018-06-22 Ross Kirsling <ross.kirsling@sony.com> 2 20 -
trunk/Tools/Scripts/webkitpy/tool/bot/earlywarningsystemtask.py
r225500 r233107 42 42 43 43 def validate(self): 44 # FIXME: Need a way to ask the status server for latest status of a security bug. 45 # Attachments downloaded from the status server do not have an associated bug and 46 # reflect the Bugzilla state at the time they were uploaded to the status server. 47 # See <https://bugs.webkit.org/show_bug.cgi?id=186817>. 44 48 self._patch = self._delegate.refetch_patch(self._patch) 45 49 if self._patch.is_obsolete(): 46 50 self.error = "Patch is obsolete." 47 51 return False 48 if self._patch.bug() .is_closed():52 if self._patch.bug() and self._patch.bug().is_closed(): 49 53 self.error = "Bug is already closed." 50 54 return False
Note: See TracChangeset
for help on using the changeset viewer.