Bug 60579

Summary: EWS bots should be robust against test-webkitpy hangs
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: Eric Seidel (no email) <eric>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, evan, mihaip, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57724    
Attachments:
Description Flags
Patch
none
updated changelog
none
now ignoring chromium gclient content too
none
Patch abarth: review+, abarth: commit-queue-

Description Eric Seidel (no email) 2011-05-10 14:03:59 PDT
EWS bots should be robust against test-webkitpy hangs
Comment 1 Eric Seidel (no email) 2011-05-10 14:04:35 PDT
Created attachment 93003 [details]
Patch
Comment 2 Eric Seidel (no email) 2011-05-10 14:09:44 PDT
Created attachment 93005 [details]
updated changelog
Comment 3 Eric Seidel (no email) 2011-05-10 14:13:28 PDT
The only problem with this patch as written is that it will remove all the gclient directories for Chromium.  I'm not sure if that matters or not.  It might slow down the chromium EWSes more than we want.  I could add another --exclude line which ignores Source/WebKit/chromium
Comment 4 Adam Barth 2011-05-10 14:15:06 PDT
Comment on attachment 93005 [details]
updated changelog

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

> Tools/EWSTools/start-queue.sh:61
> +  git clean --force -x -d --exclude=WebKitBuild

I used to try this, but it slams the EBS volumes too much.
Comment 5 Eric Seidel (no email) 2011-05-10 14:16:40 PDT
(In reply to comment #4)
> (From update of attachment 93005 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=93005&action=review
> 
> > Tools/EWSTools/start-queue.sh:61
> > +  git clean --force -x -d --exclude=WebKitBuild
> 
> I used to try this, but it slams the EBS volumes too much.

What do you mean by that?
Comment 6 Eric Seidel (no email) 2011-05-10 14:18:36 PDT
Created attachment 93007 [details]
now ignoring chromium gclient content too
Comment 7 Tony Chang 2011-05-10 14:18:51 PDT
(In reply to comment #3)
> The only problem with this patch as written is that it will remove all the gclient directories for Chromium.  I'm not sure if that matters or not.  It might slow down the chromium EWSes more than we want.  I could add another --exclude line which ignores Source/WebKit/chromium

Doesn't git clean ignore the directories in .gitignore, which includes the gclient pulled directories?
Comment 8 Eric Seidel (no email) 2011-05-10 14:19:24 PDT
git clean does, unless you pass -x. :)
Comment 9 Adam Barth 2011-05-10 14:30:30 PDT
Comment on attachment 93007 [details]
now ignoring chromium gclient content too

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

> Tools/EWSTools/start-queue.sh:63
> +  git clean --force -x -d --exclude=WebKitBuild --exclude=Source/WebKit/chromium

We should just use

find . -name "*.pyc" | xargs rm

to start with.  If we need to do mores we can revise.  -f -x -d is too big a hammer.
Comment 10 Eric Seidel (no email) 2011-05-10 16:45:19 PDT
I think I tried to do too much in one patch.  I'll post a patch which has no functional changes besides the watchdog.
Comment 11 Eric Seidel (no email) 2011-05-10 17:16:44 PDT
Created attachment 93053 [details]
Patch
Comment 12 Adam Barth 2011-05-10 18:38:14 PDT
Looks fine, but the changelog isn't right anymore.
Comment 13 Eric Seidel (no email) 2011-05-10 22:32:23 PDT
Committed r86213: <http://trac.webkit.org/changeset/86213>