Automated Tests for Thunderbird using MozMill – now on production tinderbox

A while ago I announced that we had automated UI tests for Thunderbird running on MozMill on our staging tinderboxes. Since then, we’ve been slowly writing more tests and fixing tests that were causing permanent or intermittent oranges.

At the end of last week we got to a position where we felt we could roll the MozMill tests out to our Windows production boxes. They have been running over the weekend and we’ve only seen two intermittent failures on Windows on the 3.0 branch (one of which I’m told is probably fixed already).

The MozMill tests can be found running on our Thunderbird, Thunderbird 3.1 and Thunderbird 3.0 trees on the “WINNT 5.2 comm-* check” boxes.

We are hoping that enabling Mac and Linux will follow soon. Mac seems to have one very frequent intermittent failure that we haven’t looked at yet. Linux has some bigger issues that we’re trying to hunt down. The status of these boxes is still available on ThunderbirdTest.

Obviously the tree rules for comm-central about not-regressing automated tests now apply to MozMill as well.

More information about Thunderbird’s use of MozMill in automated tests can be found here. We’ll be expanding the documentation over the next few weeks.

Personally, I’m really happy that we’ve got this far. These are our first automated UI driven tests (except for mailbloat which isn’t really driving the UI currently), and bring a new level of testing to Thunderbird. I’m sure they will help to prevent regressions and help thinking about different code paths when writing patches.

Thunderbird – Lanikai/Thunderbird 3.1 nightly builds now set up

Lanikai/Thunderbird 3.1

As mentioned in David’s blog post, we’re using Lanikai as the code name for the Thunderbird 3.1 branch.

Last week we transitioned our Thunderbird 3.1 nightly builds to be building with Gecko 1.9.2 and to have the Lanikai code name. We’re still missing some new images for the branding, but hopefully they will come soon.

If you want to help with testing these builds, then the nightly builds can now be found in the latest-comm-1.9.2 (or latest-comm-1.9.2-l10n for localised builds) directory on ftp.

Thunderbird Trunk

In tandem with the setting up of Lanikai builds, we’ve also set up new trunk builds with Gecko 1.9.3. These builds currently have the version number “3.2a1pre” – this does not mean that the release after Thunderbird 3.1 will be called Thunderbird 3.2, it is just the lowest increase that we need to implement at this stage to be something different from 3.1.

Trunk builds are retaining the Shredder branding but will hopefully get new images at some stage.

At the moment, these builds are pretty much the same as the Lanikai builds from the Thunderbird perspective. It is only the core files that are different.

The nightly builds can be found in the latest-comm-central-trunk (or latest-comm-central-l10n) directory on ftp.

Thunderbird 3.0.x

There’s no changes on the stable builds for Thunderbird 3.0.x – just mentioning for completeness. The nightly builds are still in the latest-comm-1.9.1 (or latest-comm-1.9.1-l10n) directory on ftp.

For Developers / Other interested parties

The Lanikai and Thunderbird 3.2 builds are both generated using the comm-central repository (this has not been branched yet).

Thunderbird 3.2 builds are using the core mozilla-central repository.

Lanikai builds are using the mozilla-1.9.2 repository (specify --mozilla-repo=http://hg.mozilla.org/releases/mozilla-1.9.2/ to client.py to pull that repository).

The branch date for comm-central into comm-1.9.2 has not yet been agreed, iirc it is likely to happen around about the first Lanikai preview build, more on that later.

Tinderbox pages can be found as follows:

Using the Add-on Compatibility Reporter for really incompatible add-ons

Whilst tracking the Thunderbird 3 release and looking through the bugs, every now and again we get a bug where something isn’t working and it turns out that it is due to one of the add-ons the bug reporter is using (unfortunately, in the cases I’ve seen recently I suspect it is because we’ve been forcing the extension author to decide on a single compatibility range for their add-on which means supporting the current branch and trunk, or just the current branch).

When we’ve been getting these reports, rather asking the bug reporter to report back to the add-on author, I’ve been spending an extra 5 minutes using the add-on compatibility reporter to pass a report back to addons.mozilla.org that will then make it back to the extension author. Although this takes me a bit longer, it isn’t as long as going to amo and looking for a web site or email address. It also means the add-on author will get back a good report (with versions and other information) and hopefully will subsequently fix the extension.

I like this way of reporting issues, the only thing I would like is a preference in the add-on compatibility reporter to allow me to decide if I want compatibility checking enabled or not – but that is more because I’m using it in a slightly different way (more towards bug reporting) than it was originally intended.

Even so, the original intention is good, and I like the way the reporter works and the ideas behind it.