Buildbot/Talos: Difference between revisions

(add a section for how regressions are found)
Line 309: Line 309:
** downloads and repackages [http://hg.mozilla.org/build/pageloader/ pageloader] into the 'talos/page_load_test' directory as 'pageloader.xpi'
** downloads and repackages [http://hg.mozilla.org/build/pageloader/ pageloader] into the 'talos/page_load_test' directory as 'pageloader.xpi'
** ''(alternatively, you can perform these steps yourself)''
** ''(alternatively, you can perform these steps yourself)''
* setup a webserver
* activate virtualenv
. bin/activate
* setup a webserver (or not)
** setup apache or similar webserver to have http://localhost -> the talos subdirectory of the talos checkout
** setup apache or similar webserver to have http://localhost -> the talos subdirectory of the talos checkout
** alternatively you can use the --develop flag to PerfConfigurator which configures to use a python webserver, [https://github.com/mozilla/mozbase/tree/master/mozhttpd mozhttpd]
** alternatively you can use the --develop flag to PerfConfigurator which configures to use a python webserver, [https://github.com/mozilla/mozbase/tree/master/mozhttpd mozhttpd]
* generate a config script
* generate a config script
  cd talos; python PerfConfigurator.py -e `which firefox` --activeTests ts --resultsServer ' ' --resultsLink ' ' --output ts_desktop.yml
  cd talos; python PerfConfigurator.py -e `which firefox` --activeTests ts --resultsServer ' ' --resultsLink ' ' --output ts_desktop.yml
* Comment out this line of the config file tn_desktop.yml, by putting a # at the beginning:
results_url: http://
* run tests
* run tests
  python run_tests.py -n ts_desktop.yml
  python run_tests.py -n ts_desktop.yml
638

edits