Bug 208329

Summary: [ews] commit queue should skip building and testing for rollout patches
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Aakash Jain 2020-02-27 10:40:36 PST
commit queue should skip building and testing for rollout patches. This would match the behavior of old ews.
Comment 1 Aakash Jain 2020-02-27 10:43:01 PST
Created attachment 391890 [details]
Patch
Comment 2 Aakash Jain 2020-02-27 10:56:39 PST
Sample run: https://ews-build.webkit-uat.org/#/builders/26/builds/926
Comment 3 Jonathan Bedard 2020-02-27 13:23:00 PST
Comment on attachment 391890 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=391890&action=review

> Tools/BuildSlaveSupport/ews-build/steps.py:1584
> +    incorrectLayoutLines = None

Is this supposed to be part of this patch?
Comment 4 Aakash Jain 2020-02-27 13:26:59 PST
(In reply to Jonathan Bedard from comment #3)
> Is this supposed to be part of this patch?
Yes, without this there is an exception because self.incorrectLayoutLines in not defined in getResultSummary(). (e.g.: https://ews-build.webkit-uat.org/#/builders/26/builds/924)

  File "steps.py", line 1809, in getResultSummary
    if self.results != SUCCESS and self.incorrectLayoutLines:
  File "/usr/lib/python2.7/site-packages/buildbot/worker_transition.py", line 295, in __getattr__
    attr_name=name))
exceptions.AttributeError: 'RunWebKit1Tests' object has no attribute 'incorrectLayoutLines'
Comment 5 Jonathan Bedard 2020-02-27 13:50:35 PST
(In reply to Aakash Jain from comment #4)
> (In reply to Jonathan Bedard from comment #3)
> > Is this supposed to be part of this patch?
> Yes, without this there is an exception because self.incorrectLayoutLines in
> not defined in getResultSummary(). (e.g.:
> https://ews-build.webkit-uat.org/#/builders/26/builds/924)
> 
>   File "steps.py", line 1809, in getResultSummary
>     if self.results != SUCCESS and self.incorrectLayoutLines:
>   File "/usr/lib/python2.7/site-packages/buildbot/worker_transition.py",
> line 295, in __getattr__
>     attr_name=name))
> exceptions.AttributeError: 'RunWebKit1Tests' object has no attribute
> 'incorrectLayoutLines'

Is it supposed to be a class variable? Or should it be an instance variable?
Comment 6 Aakash Jain 2020-02-27 14:05:49 PST
Created attachment 391912 [details]
Patch
Comment 7 Aakash Jain 2020-02-27 14:06:50 PST
(In reply to Jonathan Bedard from comment #5)
> Is it supposed to be a class variable? Or should it be an instance variable?
Updated patch uses instance variable.
Comment 8 Aakash Jain 2020-02-28 05:41:59 PST Comment hidden (obsolete)
Comment 9 Aakash Jain 2020-02-28 06:12:02 PST
Committed r257636: <https://trac.webkit.org/changeset/257636>
Comment 10 Radar WebKit Bug Importer 2020-02-28 06:12:16 PST
<rdar://problem/59886255>