ReleaseEngineering/Slave Health: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "= What is slave health? = Slave health is a web tool used by releng, specifically buildduty, to monitor and affect the health of the various slave pools. https://secure.pub.b...")
 
No edit summary
Line 16: Line 16:


<code>/home/buildduty/slave_health/slave_health_cron.sh</code> should be copied from <code>/home/buildduty/slave_health/slave_health/scripts</code> on when the script is updated in version control.
<code>/home/buildduty/slave_health/slave_health_cron.sh</code> should be copied from <code>/home/buildduty/slave_health/slave_health/scripts</code> on when the script is updated in version control.
= Buildduty Report =
We also stick the [https://secure.pub.build.mozilla.org/builddata/reports/slave_health/buildduty_report.html buildduty report] under slave health, however its not generated from the slave health repo.
It is run from cron with:
#m  h    d  mth  dow
1    5-18 *  *    1-5 /home/buildduty/buildduty/buildduty_report.sh
The related files are in braindump at:
* [http://hg.mozilla.org/build/braindump/file/default/reports/buildduty_report.sh buildduty_report.sh]
* [http://hg.mozilla.org/build/braindump/file/default/reports/buildduty_report.py buildduty_report.py]

Revision as of 21:17, 14 March 2014

What is slave health?

Slave health is a web tool used by releng, specifically buildduty, to monitor and affect the health of the various slave pools.

https://secure.pub.build.mozilla.org/builddata/reports/slave_health/index.html

Deployment

Slave health is deployed on cruncher under /home/buildduty/slave_health

There are currently two cronjobs on cruncher that correspond to slave health:

#m   h     d   mth   dow
*/15  *    *   *     *   /home/buildduty/slave_health/slave_health_cron.sh
15    0    *   *     *   source /home/buildduty/buildduty/bin/activate && \
  python /home/buildduty/slave_health/slave_health/scripts/generate_chart_objects.py

/home/buildduty/slave_health/slave_health_cron.sh should be copied from /home/buildduty/slave_health/slave_health/scripts on when the script is updated in version control.

Buildduty Report

We also stick the buildduty report under slave health, however its not generated from the slave health repo.

It is run from cron with:

#m   h     d   mth   dow
1     5-18 *   *     1-5 /home/buildduty/buildduty/buildduty_report.sh

The related files are in braindump at: