Sheriffing/TBPL/ArchitectureAndDependencies

From MozillaWiki
< Sheriffing‎ | TBPL
Revision as of 16:48, 19 July 2011 by Mstange (talk | contribs)
Jump to navigation Jump to search

Modes

  1. Traditional Tinderbox mode
    Was used before bug 669000
  2. Transitory mode
    Uses data from Buildbot or Tinderbox depending on usebuildbot=1 flag
  3. Future pure-Buildbot mode
    Won't use data from Tinderbox any more. Not there yet.

Servers

  • Tinderboxpushlog
    tbpl.mozilla.org
  • Tinderbox
    tinderbox.mozilla.org
  • Buildbot
    build.mozilla.org
  • Mercurial
    hg.mozilla.org
  • Mozilla FTP
    ftp.mozilla.org
  • Bugzilla API
    api-dev.bugzilla.mozilla.org
  • War-on-orange elastic search database
    elasticsearch1.metrics.sjc1.mozilla.com:9200
    (only accessible from tbpl.mozilla.org)

And there's the client, i.e. the user's browser.

Dependencies

Inside the TBPL server

  1. MongoDB needs to run
  2. TBPL PHP scripts need PHP 5.3 with access to MongoDB through MongoPHP driver
  3. TBPL Python script needs Python 2.6 with access to MongoDB through pymongo driver

Between TBPL server and other servers

tbpl.mozilla.org needs access to:

  • tinderbox.mozilla.org
    • from _/php/getTinderboxSummary.php_ to _/show_log.cgi_: build logs
    • from _/leak-analysis/index.php_ to _/show_log.cgi_: build logs
  • build.mozilla.org
    • from _/dataimport/import-buildbot-data.py_ to _/builds/builds-...js.gz_: build data
  • hg.mozilla.org
    • from _/dataimport/import-buildbot-data.py_ to _/try/json-pushes?..._: pusher for revision
  • ftp.mozilla.org
    • from _/php/inc/RawGzLogDownloader.php_ to _/pub/mozilla.org/..._: build logs
  • api-dev.bugzilla.mozilla.org
    • from _/php/submitBugzillaComment.php_ to _/..._: automated commenting on starred orange bugs
  • elasticsearch1.metrics.sjc1.mozilla.com:9200
    • from _/php/starcomment.php_ to _/..._: Storing and retrieving build stars

Between the client and other servers

...