RESOLVED FIXED43062
[chromium] cleanup temp files left by Linux DRT
https://bugs.webkit.org/show_bug.cgi?id=43062
Summary [chromium] cleanup temp files left by Linux DRT
Tony Chang
Reported 2010-07-27 11:10:12 PDT
[chromium] cleanup temp files left by Linux DRT
Attachments
Patch (2.02 KB, patch)
2010-07-27 11:10 PDT, Tony Chang
no flags
Patch (7.28 KB, patch)
2010-07-27 17:31 PDT, Tony Chang
no flags
Patch for landing (8.04 KB, patch)
2010-07-28 12:10 PDT, Tony Chang
no flags
Patch for landing (6.76 KB, patch)
2010-07-28 12:19 PDT, Tony Chang
no flags
Tony Chang
Comment 1 2010-07-27 11:10:34 PDT
Tony Chang
Comment 2 2010-07-27 11:11:58 PDT
There doesn't seem to be a way to tell the Chromium OS, so I used perl. Also, I'm not sure how to test this. Specifically, I'm not sure if I need to escape some parameters (when I run it from the command line, I need to escape the forward ticks and the $ in $OSNAME).
Tony Chang
Comment 3 2010-07-27 11:12:58 PDT
Oh, and for reference, these temp files are only left around by DRT processes that crash. Except right now, we have lots of crashing DRT processes.
David Levin
Comment 4 2010-07-27 16:58:21 PDT
(In reply to comment #2) > There doesn't seem to be a way to tell the Chromium OS, so I used perl. Do any of the properties in ConfigureBuild (like platform, fullPlatform, etc.) give you this information?
Tony Chang
Comment 5 2010-07-27 17:00:33 PDT
(In reply to comment #4) > (In reply to comment #2) > > There doesn't seem to be a way to tell the Chromium OS, so I used perl. > > Do any of the properties in ConfigureBuild (like platform, fullPlatform, etc.) give you this information? They don't currently since we name all of our machines "chromium". We could rename them to chromium-win, chromium-mac and chromium-linux. Perhaps that's a bit cleaner. I will upload a new patch with that.
Tony Chang
Comment 6 2010-07-27 17:31:12 PDT
Kent Tamura
Comment 7 2010-07-27 20:15:44 PDT
Comment on attachment 62777 [details] Patch We need to update WebKitTools/BuildSlaveSupport/test-result-archive too though it doesn't work for chromium at this moment.
Tony Chang
Comment 8 2010-07-28 09:38:31 PDT
(In reply to comment #7) > (From update of attachment 62777 [details]) > We need to update WebKitTools/BuildSlaveSupport/test-result-archive too though it doesn't work for chromium at this moment. I'm not sure, but I think it'll be ok. The %(platform) property should be "chromium" (see the split on line 29 of master.cfg). build-product-archive doesn't seem to special case things like mac-tiger or mac-leopard. We might be able to use properties in some other places in master.cfg, but it's hard for me to tell which classes I can and which classes I can't use them.
Kent Tamura
Comment 9 2010-07-28 09:53:25 PDT
Comment on attachment 62777 [details] Patch ok.
Tony Chang
Comment 10 2010-07-28 09:55:56 PDT
wms: Is there a way for me to run a test buildbot master+slave to test this change before landing it?
William Siegrist
Comment 11 2010-07-28 09:59:09 PDT
Yes, use the master.cfg from the svn repo and v0.7.12 of buildbot. You'll need to come up with a passwords file, but the master.cfg and config.json should make it obvious what to do with it.
Tony Chang
Comment 12 2010-07-28 12:10:25 PDT
Created attachment 62857 [details] Patch for landing
Tony Chang
Comment 13 2010-07-28 12:19:59 PDT
Created attachment 62858 [details] Patch for landing
Tony Chang
Comment 14 2010-07-28 12:24:05 PDT
Tony Chang
Comment 15 2010-07-28 13:26:28 PDT
I was able to test on my machine and this should be working now. wms, can you schedule a master restart?
William Siegrist
Comment 16 2010-07-29 08:42:39 PDT
Graceful restart process has been begun.
Tony Chang
Comment 17 2010-07-30 09:20:13 PDT
(In reply to comment #16) > Graceful restart process has been begun. Did the restart happen? I was expecting to see a change to Chromium Linux Release (Tests) but I don't see it right now.
Tony Chang
Comment 18 2010-07-30 09:21:24 PDT
(In reply to comment #17) > (In reply to comment #16) > > Graceful restart process has been begun. > > Did the restart happen? I was expecting to see a change to Chromium Linux Release (Tests) but I don't see it right now. Ah, crap, the diff that was landed is missing a change. I probably screwed up a merge.
William Siegrist
Comment 19 2010-07-30 09:23:20 PDT
The restart hasn't happened yet. It is still waiting for all of the slaves to be idle.
Tony Chang
Comment 20 2010-07-30 09:25:25 PDT
(In reply to comment #19) > The restart hasn't happened yet. It is still waiting for all of the slaves to be idle. Ah, ok. Thanks for the update. It'll probably get a chance this weekend to restart. Turns out I was mistaken, the change includes everything that I tested.
Note You need to log in before you can comment on or make changes to this bug.