StandaloneTalos: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
#[http://pyyaml.org/ Pyyaml]  
#[http://pyyaml.org/ Pyyaml]  
#[http://sourceforge.net/project/showfiles.php?group_id=78018 PyWin32 Extensions] (if this is to be run on a windows box)  
#[http://sourceforge.net/project/showfiles.php?group_id=78018 PyWin32 Extensions] (if this is to be run on a windows box)  
#[http://people.mozilla.org/~anodelman/standaloneV2.zip Standalone V2]  
#[http://people.mozilla.org/~anodelman/standaloneV2.1.zip Standalone V2.1]  
#[http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Nightly firefox builds] (grab the appropriate type for your OS)
#[http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Nightly firefox builds] (grab the appropriate type for your OS)


Line 13: Line 13:
== Set Up  ==
== Set Up  ==


#unzip standaloneV2.zip  
#unzip standaloneV2.1.zip  
#unzip/install your nightly firefox build  
#unzip/install your nightly firefox build  
#in the talos directory  
#in the talos directory  
Line 42: Line 42:


= Release Notes =
= Release Notes =
== V2.1 (April 18th, 2010) ==
=== In This Version ===
* includes dirty profiles for dirty profile tests
* includes new tpaint tests
* updated to latest talos code


== V2 (October 7th, 2010)  ==
== V2 (October 7th, 2010)  ==

Revision as of 23:03, 18 April 2011

How to set up Talos for testing at home

Prerequisites

  1. Python 2.5
  2. Pyyaml
  3. PyWin32 Extensions (if this is to be run on a windows box)
  4. Standalone V2.1
  5. Nightly firefox builds (grab the appropriate type for your OS)

[dmandelin] When I installed PyWin32 the installer put things in my Windows installation of Python, not my mozilla-build copy. I copied the PyWin32 files from the one site-packages directory to the other and it worked.

Set Up

  1. unzip standaloneV2.1.zip
  2. unzip/install your nightly firefox build
  3. in the talos directory
    • edit sample.config, change the path to firefox to be the appropriate path to the firefox executable of the nightly build that you just installed

Seriously, really use the command-line unzip instead of the Ubuntu GUI Archive Manager. The latter doesn't extract the archive properly.

Testing

  1. in the talos directory run 'python run_tests.py sample.config'
    • for more ouput run 'python run_tests.py --noisy sample.config'
    • for debug output run 'python run_tests.py --debug sample.config'
    • to dump all results directly to stdout run 'python run_tests.py --screen sample.config'

Results

  1. results from all the tests should be found in talos/output directory.

(On a MacBook Pro, the default test configuration takes about 35 minutes to run with a nightly Firefox 3 build.)

N900 notes

  • Python does not get installed on your N900 by default.
  • You will need to download Pyyaml and run "python setup.py install"

Release Notes

V2.1 (April 18th, 2010)

In This Version

  • includes dirty profiles for dirty profile tests
  • includes new tpaint tests
  • updated to latest talos code

V2 (October 7th, 2010)

In This Version

  • now using the mercurial Talos code base. We are free from CVS!

V1.9 (September 24th, 2010)

In This Version

  • addition of permissions.sqlite to base_profiles to allow talos to bypass certain security restrictions to run tests

V1.8 (August 5th, 2010)

In This Version

V1.7.2 (June 28th, 2010)

In This Version

  • another fix to how pages are loaded so that this works without installing a local web server

V1.7.1 (June 18th, 2010)

In This Version

  • changed so that pages are loaded through file:// - no longer requires installation of a local web server

V1.7 (June 11th, 2010)

In This Version

  • new dromaeo tests
  • new --screen option (for sending all results directly to stdout
  • new tscroll test
  • talos code stability updates

V1.6 (September 16th, 2009)

In This Version

  • talos code stability updates
  • inclusion of dirty profile tests, though they are off by default

V1.5 (May 7th, 2009)

In This Version =

  • ability to run tshutdown tests
  • ability to run firefox-bin (instead of firefox) on mac/linux

V1.4 (January 15th, 2009)

In This Version

  • updated pageloader extension to latest (includes fix to how median is calculated)
  • tests are now run in the order that they appear in the sample.config
  • csv output now written out post each individual test

V1.3.1 (September 26th, 2008

In This Version

  • updated pageloader extension to latest
  • fixed errors in sample.config introduced in last version

V1.3 (September 25th, 2008)

In This Version

  • removed some failing web pages from the tp test
  • bug 454999 (Standalone talos kills all running Firefox processes)
    • instead of killing off processes warns the user that existing Firefox processes are running and need to be shut down before testing can begin
    • not a full fix, but more of a stop gap to stop unexpected browser killing
  • updates to talos code
    • better process management, better ability to kill frozen/crashed browsers

V1.2 (May 8th, 2008)

In This Version

  • compliance with bug 432321 (Need to add the browser.EULA.override pref to all Talos profiles)

V1.1 (April 17th, 2008)

In This Version

  • compliance with bug 424594 ( have talos comply with new file:// security restrictions)
  • new & better process management bug 419492 ( talos needs to ensure that browser is closed at end of testing)

V1.0 (February 14th, 2008)

In This Version

  • tsvg/tgfx/twinopen/ts/tdhtml/tjss/tsunspider/tp
  • includes a small, distributable page set for page load time testing