Bug 33496

Summary: webkit-commit-queue status page is confusing
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: REOPENED    
Severity: Normal CC: abarth, commit-queue, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Eric Seidel (no email)
Reported 2010-01-11 15:41:39 PST
webkit-commit-queue status page is confusing <WildFox> eseidel: wondering about this commit-queue status page, when it says "patch 46256... from bug...: Fail" - what does that mean Most of those "Fail" messages are temporary. The page does not express that very well.
Attachments
Patch (11.93 KB, patch)
2010-01-19 17:16 PST, Eric Seidel (no email)
no flags
Patch (17.60 KB, patch)
2010-01-20 02:21 PST, Eric Seidel (no email)
no flags
Patch (18.06 KB, patch)
2010-01-20 02:50 PST, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2010-01-12 16:09:28 PST
This is actually partially teh commit-queue bots fault. It shouldn't post "FAIL" in those cases, it shoudl post "Error" when the failure is temporary.
Eric Seidel (no email)
Comment 2 2010-01-13 11:30:13 PST
I've had two more complaints since about FAIL being confusing. Need to improve status reporting here. :(
Eric Seidel (no email)
Comment 3 2010-01-19 17:16:34 PST
Eric Seidel (no email)
Comment 4 2010-01-19 17:19:10 PST
*** Bug 33871 has been marked as a duplicate of this bug. ***
Adam Barth
Comment 5 2010-01-19 20:02:23 PST
Comment on attachment 46964 [details] Patch if is_svn_apply: - QueueEngine.exit_after_handled_error(script_error) + return # No need to update the bug for svn-apply failures. [...] - exit(1) How is the master process supposed to distinguish these cases if we don't return a different exit code?
Eric Seidel (no email)
Comment 6 2010-01-19 20:36:43 PST
Why does the master process need to care? We've updated the server, the master process will notice next time it queries the server. Exiting 1 will cause the master process to also update the server, because it thinks things failed. The master process doesnt' need to do anything in that case. This is the only place that handle_script_error is called: http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitpy/stepsequence.py#L76
Adam Barth
Comment 7 2010-01-19 21:16:06 PST
(In reply to comment #6) > Why does the master process need to care? The master process decides whether to log a "FAIL" message to the server depending on the return code used by the child process. If we land this change, the purple bubbles will become red because the master will not know that the child was able to handle svn-apply failures.
Eric Seidel (no email)
Comment 8 2010-01-19 21:25:37 PST
exit code 1 should cause FAIL. 2 should cause nothing because the child handled it. You're seeing something I"m not, or you're reading the code backwards. :)
Eric Seidel (no email)
Comment 9 2010-01-20 02:21:19 PST
Eric Seidel (no email)
Comment 10 2010-01-20 02:50:20 PST
Adam Barth
Comment 11 2010-01-20 02:55:27 PST
Comment on attachment 46997 [details] Patch This is much better
Eric Seidel (no email)
Comment 12 2010-01-20 03:21:34 PST
Eric Seidel (no email)
Comment 13 2010-01-20 15:01:41 PST
Reverted r53537 for reason: Added a failure condition to the commit-queue and looks to have broken the EWS bots Committed r53570: <http://trac.webkit.org/changeset/53570>
WebKit Commit Bot
Comment 14 2010-01-20 19:09:50 PST
Comment on attachment 46997 [details] Patch Clearing flags on attachment: 46997 Committed r53593: <http://trac.webkit.org/changeset/53593>
WebKit Commit Bot
Comment 15 2010-01-20 19:09:56 PST
All reviewed patches have been landed. Closing bug.
Eric Seidel (no email)
Comment 16 2010-01-20 19:17:07 PST
Bah! This is why we clear flags. The commit-queeu just re-landed what I had rolled out. I guess I'll just fix it this time...
Eric Seidel (no email)
Comment 17 2010-01-20 23:35:36 PST
About to roll this out again. Filed a bug about webkit-patch rollout needing to clear flag when re-opening bugs.
Eric Seidel (no email)
Comment 18 2010-01-20 23:50:46 PST
Reverted r53593 for reason: Re-rollout this patch, the commit-queue should not have landed it again, but it did due to land-diff and rollout both not clearing flags. Committed r53609: <http://trac.webkit.org/changeset/53609>
Note You need to log in before you can comment on or make changes to this bug.