RESOLVED FIXED50647
Migrate buildbot.py from xmlrpclib to json
https://bugs.webkit.org/show_bug.cgi?id=50647
Summary Migrate buildbot.py from xmlrpclib to json
William Siegrist
Reported 2010-12-07 14:38:34 PST
The latest version of buildbot removed the xmlrpc interface. We need to change the buildbot module in webkitpy to use the json interface instead.
Attachments
change buildbot.py to use json instead of xmlrpc (5.02 KB, patch)
2010-12-07 15:07 PST, William Siegrist
eric: review+
fixed tabs in ChangeLog and added python2.5 support with simplejson (5.16 KB, patch)
2010-12-07 15:51 PST, William Siegrist
eric: review+
add blank line to ChangeLog, fix mockup of build_dictionary (5.16 KB, patch)
2010-12-07 18:10 PST, William Siegrist
eric: review+
commit-queue: commit-queue-
recreated patch from the root of the repo so CQ can apply it (5.27 KB, patch)
2010-12-08 07:35 PST, William Siegrist
no flags
William Siegrist
Comment 1 2010-12-07 15:07:41 PST
Created attachment 75847 [details] change buildbot.py to use json instead of xmlrpc
Eric Seidel (no email)
Comment 2 2010-12-07 15:19:12 PST
Comment on attachment 75847 [details] change buildbot.py to use json instead of xmlrpc Your ChangeLog has tabs. Looks good though. Assuming you actually ran something like failure-reason which would use this.
William Siegrist
Comment 3 2010-12-07 15:51:51 PST
Created attachment 75848 [details] fixed tabs in ChangeLog and added python2.5 support with simplejson
Eric Seidel (no email)
Comment 4 2010-12-07 16:10:55 PST
Comment on attachment 75848 [details] fixed tabs in ChangeLog and added python2.5 support with simplejson View in context: https://bugs.webkit.org/attachment.cgi?id=75848&action=review Lgtm. I assume you ran test-webkitpy :) > WebKitTools/ChangeLog:2 > + Reviewed by NOBODY (OOPS!). Normally there is a blank line before this one.
William Siegrist
Comment 5 2010-12-07 18:10:02 PST
Created attachment 75856 [details] add blank line to ChangeLog, fix mockup of build_dictionary No, I had not run test-webkitpy, but now I know better. It turns out I needed to update the mockup of build_dictionary to match the new layout of the json data. I also fixed the ChangeLog (again).
Eric Seidel (no email)
Comment 6 2010-12-07 20:10:08 PST
Comment on attachment 75856 [details] add blank line to ChangeLog, fix mockup of build_dictionary Thanks again!
WebKit Review Bot
Comment 7 2010-12-07 21:56:20 PST
Attachment 75847 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/update-webkit']" exit_code: 2 Updating OpenSource Incomplete data: Delta source ended unexpectedly at /usr/lib/git-core/git-svn line 5061 Died at WebKitTools/Scripts/update-webkit line 132. If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 8 2010-12-08 00:19:33 PST
Comment on attachment 75856 [details] add blank line to ChangeLog, fix mockup of build_dictionary Rejecting patch 75856 from commit-queue. Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=eseidel-cq-sl', 'apply-attachment', '--force-clean', '--non-interactive', 75856]" exit_code: 2 Last 500 characters of output: up to this was: -------------------------- |Index: Scripts/webkitpy/common/net/buildbot.py |=================================================================== |--- Scripts/webkitpy/common/net/buildbot.py (revision 73456) |+++ Scripts/webkitpy/common/net/buildbot.py (working copy) -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored Failed to run "[u'/Projects/CommitQueue/WebKitTools/Scripts/svn-apply', u'--reviewer', u'Eric Seidel', u'--force']" exit_code: 1 Full output: http://queues.webkit.org/results/6745109
William Siegrist
Comment 9 2010-12-08 07:35:16 PST
Created attachment 75903 [details] recreated patch from the root of the repo so CQ can apply it
Eric Seidel (no email)
Comment 10 2010-12-08 10:43:40 PST
Comment on attachment 75903 [details] recreated patch from the root of the repo so CQ can apply it Thanks.
WebKit Commit Bot
Comment 11 2010-12-08 20:21:27 PST
The commit-queue encountered the following flaky tests while processing attachment 75903 [details]: inspector/debugger-no-nested-pause.html Please file bugs against the tests. These tests were authored by loislo@chromium.org, podivilov@chromium.org, and yurys@chromium.org. The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 12 2010-12-08 20:22:36 PST
Comment on attachment 75903 [details] recreated patch from the root of the repo so CQ can apply it Clearing flags on attachment: 75903 Committed r73590: <http://trac.webkit.org/changeset/73590>
WebKit Commit Bot
Comment 13 2010-12-08 20:22:42 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.