Provide mechanism to run l10n mozmill tests from m-c without a build

RESOLVED INCOMPLETE

Status

Mozilla QA
Mozmill Tests
RESOLVED INCOMPLETE
8 years ago
7 years ago

People

(Reporter: cmtalbert, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
Ideally, a localizer will perform the following steps:
1. Clone m-c
2. Run a script which runs mozmill with l10n tests.

This bug is to track the creation of that script that gets run in step 2. 

Note this depends heavily on bug 516984 and bug 562106,

Comment 1

8 years ago
This sounds close to a project that Adrian is working on.
(In reply to comment #1)
> This sounds close to a project that Adrian is working on.

The part about L10n tests itself - yes... But the part about running the tests without a build... I'm not so sure about, yet.


Clint: I see a flaw in that steps: the localizer needs to clone his L10n repository too, e.g.: http://hg.mozilla.org/l10n-central/pl
Clint, can you please give more details about why we need that feature on hg? Eventually I have missed something.
(Reporter)

Comment 4

8 years ago
This came out of the crazy number of comments on the mozmill+buildbot bug.  It might not be an issue, it might be a dupe, I dunno.  

I think the goal here is to enable localizers to run localized mozmill tests without having to build firefox.

I think we can probably support this with Adrian's changes to Mozmill to improve our testing for L10N and with the test packaging work that is occurring in the mozmill + buildbot bug.

The resulting process would be something like:
1. <create lang pack for your localization>
or 
1a. clone m-c
1b. clone localization tree
1c. generate localized build or lang pack (I'm not sure how this works today)

2. Apply lang pack, or build your localized product

-- From here you have a localized product to test --
3. download the packaged mozmill harness and tests from the standard ftp site for your branch i.e. something like: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-1.9.2/firefox-3.6.5pre.en-US.win32.tests.zip
4. Unpack those tests to directory foo
5. cd foo/mozmill
6. Run the mozmill script with the localization tests (we can package a script that hides all the necessary command line fu for this)

Or, if you have a built tree:
3. cd into the objectdir
4. make mozmill-tests

We need the tests in hg because this makes it much much easier to do the packaging of the tests and the integration with "make".

Localizer does:
1. Clone 
I think really want we want here is a way to run packaged mozmill tests.
Adrian will not make any changes which will allow to run l10n test-runs. He is working on l10n tests only. But I can create a l10n test-run script which can be part of our cloud testing extension. Given by the above comments I strongly believe that all the steps will be completely covered by our extension.

Clint and Axel, please check the documentation I have put up here:
https://wiki.mozilla.org/QA/Mozmill_Test_Automation/Cloud_Testing
Oh, and it will be much, much, much easier to run tests on localized builds and not only l10n tests but also normal/restart tests, update tests, and addon tests.
(Reporter)

Comment 7

8 years ago
(In reply to comment #5)
> Adrian will not make any changes which will allow to run l10n test-runs. He is
> working on l10n tests only. But I can create a l10n test-run script which can
> be part of our cloud testing extension. Given by the above comments I strongly
> believe that all the steps will be completely covered by our extension.
> 
> Clint and Axel, please check the documentation I have put up here:
> https://wiki.mozilla.org/QA/Mozmill_Test_Automation/Cloud_Testing

The idea is fine.  I have some serious concerns about the implementation details.  Where do I send feedback?  The QA Automation alias? the newsgroup? this bug? or the wiki page? :)
Clint, you can use the mozmill-dev list. So far I haven't checked all the details for that project. I will work on the specs this and next week. So if you already have helpful feedback, it's really welcome!
Clint and I talked about the cloud testing extension, means we were able to figure out those serious concerns. Beside that extension a test-run will be created in our mozmill-automation repository especially for l10n tests. This work is covered by bug 565196.

Clint, would it make that bug obsolete? If not we should find a way to port our automation scripts over to the packaged tests.
Component: Mozmill → Mozmill Tests
QA Contact: mozmill → mozmilltests
Move of Mozmill Test related project bugs to newly created components. You can
filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Mozmill Tests → Mozmill Tests
Product: Testing → Mozilla QA
Version: Trunk → unspecified
I still don't fully understand this bug. As what we have right now, any localizer can download a build from the FTP server and run the l10n tests against it. There is no need to build Firefox on your own. With one of the upcoming scripts I'm working on we will even be able to automate the download process. So you only have to specify the version, platform, and locale of the build and everything is automatically performed.

I will close this bug for now because I also never got feedback on my questions.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.