Bug 129637 - [GTK] Give the WebKit GObject DOM bindings API break detection it's own buildbot bubble
Summary: [GTK] Give the WebKit GObject DOM bindings API break detection it's own build...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords:
Depends on: 129571
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-03 16:37 PST by Martin Robinson
Modified: 2014-03-06 06:03 PST (History)
2 users (show)

See Also:


Attachments
Patch (2.91 KB, patch)
2014-03-03 17:11 PST, Martin Robinson
no flags Details | Formatted Diff | Diff
Return a warning when there is new API (2.96 KB, patch)
2014-03-04 10:01 PST, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch (6.19 KB, patch)
2014-03-04 11:36 PST, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2014-03-03 16:37:18 PST
Carlos requested this in 129571.
Comment 1 Martin Robinson 2014-03-03 17:11:42 PST
Created attachment 225719 [details]
Patch
Comment 2 Carlos Garcia Campos 2014-03-04 09:50:00 PST
Comment on attachment 225719 [details]
Patch

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

Thanks!

> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:663
> +    def evaluateCommand(self, cmd):
> +        if self.missingAPI:
> +            return FAILURE
> +        return SUCCESS

I think we can return WARNINGS in case of compatible api changes, so that I won't miss them :-)
Comment 3 Martin Robinson 2014-03-04 10:01:58 PST
Created attachment 225786 [details]
Return a warning when there is new API
Comment 4 Martin Robinson 2014-03-04 11:36:47 PST
Created attachment 225798 [details]
Patch
Comment 5 WebKit Commit Bot 2014-03-04 11:37:59 PST
Attachment 225798 [details] did not pass style-queue:


ERROR: Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:384:  expected 2 blank lines, found 1  [pep8/E302] [5]
ERROR: Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:387:  [RunGtkWebKitGObjectDOMBindingsAPIBreakTestsTest.assertResults] Undefined variable 'SUCCESS'  [pylint/E0602] [5]
ERROR: Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:389:  [RunGtkWebKitGObjectDOMBindingsAPIBreakTestsTest.assertResults] Undefined variable 'WARNINGS'  [pylint/E0602] [5]
ERROR: Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:391:  [RunGtkWebKitGObjectDOMBindingsAPIBreakTestsTest.assertResults] Undefined variable 'FAILURE'  [pylint/E0602] [5]
ERROR: Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:394:  [RunGtkWebKitGObjectDOMBindingsAPIBreakTestsTest.assertResults] Undefined variable 'RunGtkWebKitGObjectDOMBindingsAPIBreakTests'  [pylint/E0602] [5]
Total errors found: 5 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Martin Robinson 2014-03-04 11:50:23 PST
(In reply to comment #5)

> 
> If any of these errors are false positives, please file a bug against check-webkit-style.

The style errors all look like false positives. The tests run fine for me.
Comment 7 Carlos Garcia Campos 2014-03-04 23:41:05 PST
Comment on attachment 225798 [details]
Patch

I guess it's the same patch, simply adding unit tests
Comment 8 Martin Robinson 2014-03-05 07:42:45 PST
Comment on attachment 225798 [details]
Patch

Clearing flags on attachment: 225798

Committed r165108: <http://trac.webkit.org/changeset/165108>
Comment 9 Martin Robinson 2014-03-05 07:42:47 PST
All reviewed patches have been landed.  Closing bug.
Comment 10 Carlos Garcia Campos 2014-03-06 00:21:17 PST
Was there anything wrong with this patch? I don't see the new step in the bots, should we reopen this? or am I missing something?
Comment 11 Martin Robinson 2014-03-06 06:03:42 PST
I was hoping that the bots would detect the change to master.cfg and reload, but I guess they did not. Today I'll try to figure out what we need to do to have the bubble show up.