Bug 37600 - Windows Bots should kill old processes
Summary: Windows Bots should kill old processes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Brian Weinstein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 13:11 PDT by Brian Weinstein
Modified: 2010-04-14 13:33 PDT (History)
0 users

See Also:


Attachments
Kill Old Processes (4.56 KB, patch)
2010-04-14 13:14 PDT, Brian Weinstein
aroben: review+
bweinstein: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Weinstein 2010-04-14 13:11:06 PDT
Windows Bots should kill old processes
Comment 1 Brian Weinstein 2010-04-14 13:14:39 PDT
Created attachment 53358 [details]
Kill Old Processes
Comment 2 Adam Roben (:aroben) 2010-04-14 13:19:53 PDT
Comment on attachment 53358 [details]
Kill Old Processes

> Index: WebKitTools/BuildSlaveSupport/kill-old-processes-win

How about win/kill-old-processes instead?

> +def main():
> +    os.system("taskkill /f /im DumpRenderTree.exe")
> +    os.system("taskkill /f /im DumpRenderTree_debug.exe")
> +    os.system("taskkill /f /im testapi.exe")
> +    os.system("taskkill /f /im testapi_debug.exe")
> +    os.system("taskkill /f /im svn.exe")
> +    os.system("taskkill /f /im httpd.exe")
> +    os.system("taskkill /f /im cl.exe")
> +    os.system("taskkill /f /im link.exe")
> +    os.system("taskkill /f /im midl.exe")
> +    os.system("taskkill /f /im devenv.exe")
> +    os.system("taskkill /f /im perl.exe")
> +    os.system("taskkill /f /im imagediff.exe")

Can we have an array of all the process names we want to kill, and then loop over the array?

You should kill imagediff_debug.exe, jsc.exe, and jsc_debug.exe, too.

r=me
Comment 3 Brian Weinstein 2010-04-14 13:31:22 PDT
(In reply to comment #2)
> (From update of attachment 53358 [details])
> > Index: WebKitTools/BuildSlaveSupport/kill-old-processes-win
> 
> How about win/kill-old-processes instead?

Fixed.

> 
> > +def main():
> > +    os.system("taskkill /f /im DumpRenderTree.exe")
> > +    os.system("taskkill /f /im DumpRenderTree_debug.exe")
> > +    os.system("taskkill /f /im testapi.exe")
> > +    os.system("taskkill /f /im testapi_debug.exe")
> > +    os.system("taskkill /f /im svn.exe")
> > +    os.system("taskkill /f /im httpd.exe")
> > +    os.system("taskkill /f /im cl.exe")
> > +    os.system("taskkill /f /im link.exe")
> > +    os.system("taskkill /f /im midl.exe")
> > +    os.system("taskkill /f /im devenv.exe")
> > +    os.system("taskkill /f /im perl.exe")
> > +    os.system("taskkill /f /im imagediff.exe")
> 
> Can we have an array of all the process names we want to kill, and then loop
> over the array?

Sure, done.

> 
> You should kill imagediff_debug.exe, jsc.exe, and jsc_debug.exe, too.

Done.

Thanks!

> 
> r=me
Comment 4 Brian Weinstein 2010-04-14 13:33:04 PDT
Landed in r57602.