Closed
Bug 1219763
Opened 9 years ago
Closed 9 years ago
check_ami should run more frequently via runner
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kmoir, Unassigned)
Details
Attachments
(1 file)
2.39 KB,
patch
|
catlee
:
review+
|
Details | Diff | Splinter Review |
We have many long standing spot instances in the tst-emulator64 class that were running out of disk space. This revealed a problem that was fixed in bug 1217863 to cleanup the problem directory. However, even though the new golden ami was deployed yesterday, we still have many instances of this class that are still running the old amis. Looking at the runner logs, check_ami hasn't run in over a day. Given the current load in this pool, we need to run check_ami more often so instances with old amis are recycled on at least a daily basis. See tst-emulator64-spot-665.test.releng.use1.mozilla.com for an example
Comment 1•9 years ago
|
||
check_ami should be running each time runner runs...
Reporter | ||
Comment 2•9 years ago
|
||
So runner only runs on startup once the instance is instantiated? I see several instances where the instance has been up for > 1 day and the last entry in the runner log is that buildbot is running.
Comment 3•9 years ago
|
||
runner runs between buildbot running. buildbot should be stopping after each job, and having runner run again.
Flags: needinfo?(winter2718)
Comment 4•9 years ago
|
||
Merging the last idleizer patch changed == 'linux2' to if sys.platform == ('darwin', 'linux2') and not self._remote_shutdown_requested: This is wrong, it was supposed to be if sys.platform in ('darwin', 'linux2') and not self._remote_shutdown_requested: This prevents buildbot from shutting down. So much fail.
Flags: needinfo?(winter2718)
Comment 5•9 years ago
|
||
There was an uncaught bug that made it into the patch (looks like it happened in the merge after an 'hg rebase'). There was no test catch it, which is even worse. This adds a test and fixes the bug.
Attachment #8681496 -
Flags: review?(catlee)
Updated•9 years ago
|
Attachment #8681496 -
Flags: review?(catlee) → review+
Comment 6•9 years ago
|
||
Last patch has reboots working again: 2015-11-02 09:14:42-0800 [Broker,client] Telling the master we want to shutdown after any running builds are finished 2015-11-02 09:14:42-0800 [Broker,client] startCommand:shell [id 10780] 2015-11-02 09:14:42-0800 [Broker,client] RunProcess._startCommand 2015-11-02 09:14:42-0800 [Broker,client] bash -c pwd Can we mark this as resolved?
Reporter | ||
Comment 7•9 years ago
|
||
Thanks Morgan, looking at the aws console I can see in the console today that the AMIs are refreshed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•