RESOLVED FIXED 31091
commit-queue is crashing when trying to reject patches after unknown failures
https://bugs.webkit.org/show_bug.cgi?id=31091
Summary commit-queue is crashing when trying to reject patches after unknown failures
Eric Seidel (no email)
Reported 2009-11-03 15:53:59 PST
commit-queue is crashing when trying to reject patches after unknown failures Traceback (most recent call last): File "WebKitTools/Scripts/bugzilla-tool", line 917, in <module> main() File "WebKitTools/Scripts/bugzilla-tool", line 914, in main return tool.main() File "WebKitTools/Scripts/bugzilla-tool", line 909, in main return command_object.execute(command_options, command_args, self) File "WebKitTools/Scripts/bugzilla-tool", line 762, in execute tool.bugs.reject_patch_from_commit_queue(patch['id'], "Unexpected failure when landing patch! Please file a bug against bugzilla-tool.\n%s" % e.message_with_output()) NameError: global name 'patch' is not defined This is a really bad place to crash, because we never learn what's actually wrong. :) I've fixed this. I also noticed we're leaking file descriptors in this case, so I've fixed that as well.
Attachments
Patch (3.27 KB, patch)
2009-11-03 15:57 PST, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2009-11-03 15:57:11 PST
Adam Barth
Comment 2 2009-11-03 22:57:49 PST
Comment on attachment 42434 [details] Patch Ok. I'd prefer to keep the master process as simple as possible to avoid these kinds of bugs in the future. It should be bullet-proof.
WebKit Commit Bot
Comment 3 2009-11-04 10:28:47 PST
Comment on attachment 42434 [details] Patch Clearing flags on attachment: 42434 Committed r50518: <http://trac.webkit.org/changeset/50518>
WebKit Commit Bot
Comment 4 2009-11-04 10:28:52 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.