Closed
Bug 1131787
Opened 9 years ago
Closed 7 years ago
production-ify allthethings.json
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: catlee, Unassigned)
References
Details
Attachments
(2 files, 1 obsolete file)
3.91 KB,
patch
|
catlee
:
review+
|
Details | Diff | Splinter Review |
8.18 KB,
patch
|
Details | Diff | Splinter Review |
We need a real home for the tools that generate allthethings.json to live if we're going to be relying on it in production. It also needs proper error reporting, nagios checks, etc.
Comment 1•9 years ago
|
||
I created a wiki page (until this is done) with minimal information I know about: https://wiki.mozilla.org/ReleaseEngineering/How_To/allthethings.json
Comment 2•9 years ago
|
||
Step 1: move code into buildbot-configs repo
Comment 3•9 years ago
|
||
Attachment #8622641 -
Flags: review?(catlee)
Updated•9 years ago
|
Assignee: nobody → sdeckelmann
Comment 4•9 years ago
|
||
First patch moves files into buildbotcustom repo.
Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8622641 [details] [diff] [review] bug1131787.patch Review of attachment 8622641 [details] [diff] [review]: ----------------------------------------------------------------- lgtm. does make_allthethings.sh need to be part of this, or should that go in the deployment code? it has fairly specific paths in it.
Attachment #8622641 -
Flags: review?(catlee) → review+
Comment 6•9 years ago
|
||
Moved make_allthethings.sh into puppet config and cron under 'buildduty' and a few minor cosmetic updates to scripts. (update to other patch coming in a moment)
Attachment #8622688 -
Flags: review?(catlee)
Comment 7•9 years ago
|
||
r+ from catlee - moved one file into puppet.
Attachment #8622641 -
Attachment is obsolete: true
Comment 8•9 years ago
|
||
Comment on attachment 8622688 [details] [diff] [review] bug1131787-puppet.patch Review of attachment 8622688 [details] [diff] [review]: ----------------------------------------------------------------- Adding in the comments from irc. We want some failsafes around things like simultaneous run from cron (use lockfile), cleaning up lockfiles/tempp file when interrupted (use trap), making sure we put timeouts in the hg commands so they don't hang forever, and sending the output to syslog instead of cronmail (use logger -t). I mentioned that looking at the crontask class might be a good fit (most of the aws cron jobs use this, see most of the lines above that one in the cron.pp file) but maybe not everything lines up there.
Reporter | ||
Updated•9 years ago
|
Attachment #8622688 -
Flags: review?(catlee) → review+
Comment 9•9 years ago
|
||
I was asked to use 'hgtool.py' for hg timeouts. working on it.
Comment 11•9 years ago
|
||
(In reply to Armen Zambrano Gasparnian [:armenzg] from comment #10) > Hi Selena, are you still working on this? Ah - I was just thinking about this yesterday. I can poke at it tomorrow and let you know whether or not I can get it into production.
Comment 12•9 years ago
|
||
Oops, pushing to next week. Sorry!
Comment 13•9 years ago
|
||
There is a script to set up the venv: http://hg.mozilla.org/build/braindump/file/default/community/setup_buildbot_environment.sh I'm using on cruncher a hybrid of my script with catlee's: https://hg.mozilla.org/build/braindump/file/default/community/generate_allthethings_json.sh#l37 We're generating the same file side-by-side with catlee's script: https://secure.pub.build.mozilla.org/builddata/reports/allthethings.new.json All of this was explained in here: https://bugzilla.mozilla.org/show_bug.cgi?id=1210390#c11
Updated•8 years ago
|
Flags: needinfo?(sdeckelmann)
Updated•8 years ago
|
Assignee: sdeckelmann → nobody
Comment 15•8 years ago
|
||
A lot of this is in puppet https://dxr.mozilla.org/build-central/source/puppet/modules/cruncher/manifests/allthethings.pp via bug 1261974. Just missing some monitoring ?
Comment 16•8 years ago
|
||
We have nagios checks on builddata.pub.build.mozilla.org on /buildjson/builds-4hr.js.gz and friends, so that's a natural place to add a new check for /reports/allthethings.json and
Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
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
•