ReleaseEngineering/How To/Reset the Try Server: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(Update RelEng responsibilities)
Line 26: Line 26:
***chown -R hg:hg_mozilla try
***chown -R hg:hg_mozilla try
** typically this is done by aravind
** typically this is done by aravind
* RelEng to pull in tip of releases/mozilla-1.9.2 and releases/mozilla-1.9.1 to help make life easier for developers after reopening
* RelEng to remove message from tinderbox server.  
** hg clone http://hg.mozilla.org/releases/mozilla-1.9.2
 
** pushd mozilla-1.9.2; hg push -f ssh://hg.mozilla.org/try; popd
[RelEng no longer needs to push 1.9.1 and 1.9.2 to try, since we don't support those branches; and doesn't need to reconfig any masters to get the hg polling working again.]
** hg clone http://hg.mozilla.org/releases/mozilla-1.9.1
** pushd mozilla-1.9.1; hg push -f ssh://hg.mozilla.org/try; popd
** (it helps speed things up if you do the cloning beforehand)
* RelEng to reconfig [http://sm-try-master.mozilla.org:8010/waterfall http://sm-try-master.mozilla.org:8010/waterfall] and [http://production-master02.build.mozilla.org:8011/waterfall http://production-master02.build.mozilla.org:8011/waterfall]
* RelEng to remove message from tinderbox server.

Revision as of 04:40, 18 October 2010

Due to increased usage on tryserver, this is something we need to do approx once a month. This can typically be done in 30-60minutes.

  • make sure joduinn has extracted all the logs he needs for blogposts. Its nice, but not required, to do this repo reset at the end of the calendar month, as it makes blogpost work easier.
  • RelEng to post downtime notices to dev.planning, and mark the TryServer closed.
    • Note this does *not* touch any production build/test/talos machines, so does *not* require closing mozilla-central, or any other tree.
  • File IT bug to
    • delete the try server hg repo
      • rm -rf /repo/hg/mozilla/try
    • create a fresh new hg repo cloned from mozilla-central.
      • su - hg
      • cd /repo/hg/mozilla
      • hg clone mozilla-central try
    • create an empty pushlog db.
      • su - hg
      • cp /repo/hg/mozilla/mozilla-central/.hg/pushlog2.db /repo/hg/mozilla/try/.hg/pushlog2.db
      • chown hg:scm_level_1 /repo/hg/mozilla/try/.hg/pushlog2.db
      • chmod g+w /repo/hg/mozilla/try/.hg/pushlog2.db
      • cd /repo/hg/mozilla/try/.hg/
      • sqlite3 pushlog2.db
      • sqlite> delete from changesets;
      • sqlite> delete from pushlog;
      • sqlite> .exit
    • Reset perms on the repo.
      • Become the root user on the machine.
      • cd /repo/hg/mozilla/
      • chown -R hg:hg_mozilla try
    • typically this is done by aravind
  • RelEng to remove message from tinderbox server.

[RelEng no longer needs to push 1.9.1 and 1.9.2 to try, since we don't support those branches; and doesn't need to reconfig any masters to get the hg polling working again.]