<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hskupin.info &#187; automation</title>
	<atom:link href="http://www.hskupin.info/tag/automation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hskupin.info</link>
	<description>Mozilla, Photography and the Daily Life</description>
	<lastBuildDate>Tue, 13 Jul 2010 17:47:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Jsbridge 3.5.6 and Mozrunner 2.4.3 available</title>
		<link>http://www.hskupin.info/2010/06/09/jsbridge-3-5-6-and-mozrunner-2-4-3-available/</link>
		<comments>http://www.hskupin.info/2010/06/09/jsbridge-3-5-6-and-mozrunner-2-4-3-available/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 00:13:25 +0000</pubDate>
		<dc:creator>Henrik Skupin</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozmill]]></category>
		<category><![CDATA[mozqa]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.hskupin.info/?p=592</guid>
		<description><![CDATA[Within the last two weeks we had to push two maintenance releases for jsbridge and mozrunner which now fix two major issues: Bug 570790: Due to a broken pyPI package of jsbridge the extension wasn&#8217;t working properly on all platforms. At least on Windows the files which have been accidentally added to the tar.gz file, [...]]]></description>
			<content:encoded><![CDATA[<p>Within the last two weeks we had to push two maintenance releases for <a href="http://pypi.python.org/pypi/jsbridge">jsbridge</a> and <a href="http://pypi.python.org/pypi/mozrunner">mozrunner</a> which now fix two major issues:</p>
<p><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=570790"><strong>Bug 570790</strong></a>: Due to a broken pyPI package of jsbridge the extension wasn&#8217;t working properly on all platforms. At least on Windows the files which have been accidentally added to the tar.gz file, caused an error when loading files from the components and chrome folder of the extension. We have removed all those instances to make sure the extension will work again.</p>
<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=568839"><strong>Bug 568839</strong></a>: Installing binary extensions with Mozmill was broken in version 2.4.2. All files which have been extracted from the XPI were handled as ASCII files. With this fix Mozmill is now able to install any version of extensions successfully.</p>
<p>If you still notice any other problems please <a href="http://groups.google.com/group/mozmill-dev?pli=1">get in contact</a> with us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hskupin.info/2010/06/09/jsbridge-3-5-6-and-mozrunner-2-4-3-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testday for creating Mozmill Tests for Add-ons</title>
		<link>http://www.hskupin.info/2010/05/26/testday-for-creating-mozmill-tests-for-add-ons/</link>
		<comments>http://www.hskupin.info/2010/05/26/testday-for-creating-mozmill-tests-for-add-ons/#comments</comments>
		<pubDate>Wed, 26 May 2010 00:46:18 +0000</pubDate>
		<dc:creator>Henrik Skupin</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[mozmill]]></category>
		<category><![CDATA[mozqa]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.hskupin.info/?p=588</guid>
		<description><![CDATA[Mozmill is not only able to execute functional and unit tests against applications, which are build on top of the Gecko platform, but can also be used to run those type of tests against extensions. If you are an extension author and interested to see your extension tested in a daily fashion by our automated [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://developer.mozilla.org/en/Mozmill">Mozmill</a> is not only able to execute functional and unit tests against applications, which are build on top of the Gecko platform, but can also be used to run those type of tests against <a href="https://addons.mozilla.org/de/firefox/">extensions</a>. </p>
<p>If you are an extension author and interested  to see your extension tested in a daily fashion by our automated test-runs in the QA-lab, you should definitely join the <a href="http://quality.mozilla.org/events/2010/may/28/testday-addon-testscripting-mozmill">testday</a> on Friday, May 28th. We really want to encourage you to think about the implementation of automated functional tests for your own extension. And it&#8217;s not only helpful for the extension itself, but can also help us to identify regression in the Firefox development cycle as early as possible.</p>
<p>To have an introduction available, we were working closely together with Google to have example tests in our mozmill-tests repository. Learn how Mozmill tests will be written and how they can be run in Firefox. The Mozmill team will be around the whole day to assist you wherever possible.</p>
<p>If you are interested in the testday, you should read through the following <a href="https://developer.mozilla.org/en/Mozmill_Tests#Testing_extensions_with_Mozmill">documentation</a> about the creation of testscripts for extensions.</p>
<p>You can also attend when you have general questions about Mozmill or when you want to help in fixing or creating Mozmill tests for Firefox. Get ready and join us in <a href="irc://irc.mozilla.org/#testday">#testday</a> next Friday.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hskupin.info/2010/05/26/testday-for-creating-mozmill-tests-for-add-ons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Firefox 3.7 branch for the mozmill-test repository</title>
		<link>http://www.hskupin.info/2010/04/27/new-firefox-3-7-branch-for-the-mozmill-test-repository/</link>
		<comments>http://www.hskupin.info/2010/04/27/new-firefox-3-7-branch-for-the-mozmill-test-repository/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 21:02:20 +0000</pubDate>
		<dc:creator>Henrik Skupin</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[mozmill]]></category>
		<category><![CDATA[mozqa]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.hskupin.info/?p=570</guid>
		<description><![CDATA[A couple of minutes ago I have branched the mozmill-test repository for our upcoming Firefox 3.7 work. With that addition we can start to update our tests on the default branch to make them compatible with current Developer Preview releases and Minefield builds. That means we have the following correlations now: default => Firefox 3.7 [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of minutes ago I have branched the <a href="http://hg.mozilla.org/qa/mozmill-tests/">mozmill-test repository</a> for our upcoming Firefox 3.7 work. With that addition we can start to update our tests on the default<br />
branch to make them compatible with current <a href="http://www.mozilla.org/projects/devpreview/releasenotes/">Developer Preview releases</a> and <a href="http://www.mozilla.org/projects/minefield/">Minefield</a> builds.</p>
<p>That means we have the following correlations now:</p>
<p><code><strong>default</strong> => Firefox 3.7<br />
<strong>mozilla1.9.2</strong> => Firefox 3.6.x<br />
<strong>mozilla1.9.1</strong> => Firefox 3.5.x</code></p>
<p>More details about <a href="https://developer.mozilla.org/en/Mozmill_Tests#Handling_Branches">branch handling</a> for our Mozmill tests can be found on MDC.</p>
<p>The Mozmill test repository is available under the following two locations:</p>
<p><a href="http://hg.mozilla.org/qa/mozmill-tests/">http://hg.mozilla.org/qa/mozmill-tests/</a><br />
<a href="http://github.com/whimboo/mozmill-tests">http://github.com/whimboo/mozmill-tests</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hskupin.info/2010/04/27/new-firefox-3-7-branch-for-the-mozmill-test-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozmill 1.4.1 released</title>
		<link>http://www.hskupin.info/2010/04/15/mozmill-1-4-1-released/</link>
		<comments>http://www.hskupin.info/2010/04/15/mozmill-1-4-1-released/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 19:46:18 +0000</pubDate>
		<dc:creator>Henrik Skupin</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozmill]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.hskupin.info/?p=549</guid>
		<description><![CDATA[Today Mozilla proudly presents the next bug fix release for Mozmill. A couple of improvements have been made into this release. The most important part is definitely the support of Firefox 3.7, which allows us to run Mozmill tests against Minefield builds in the near future. But we also support Open Solaris now and offer [...]]]></description>
			<content:encoded><![CDATA[<p>Today Mozilla proudly presents the next bug fix release for <a href="https://developer.mozilla.org/en/Mozmill">Mozmill</a>. A couple of improvements have been made into this release. The most important part is definitely the support of Firefox 3.7, which allows us to run Mozmill tests against Minefield builds in the near future. But we also support Open Solaris now and offer a much easier way to setup Mozmill on Windows. There is no dependency for pywin32 anymore. And with all the other fixes we really have a shiny new release.</p>
<p>A list of fixes, which have been made it into this release, can be found on <a href="https://bugzilla.mozilla.org/buglist.cgi?status_whiteboard_type=allwordssubstr&#038;query_format=advanced&#038;status_whiteboard=mozmill-1.4.1">Bugzilla</a>. Lets give an explanation for some of those:</p>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542000">Bug 542000</a>: With former Mozmill releases there were needs to install the Python for Windows extensions (pywin32). If you have used the MozillaBuild environment, changes to the registry were needed. All that work hasn&#8217;t to be done from now on. Installing MozillaBuild is enough to prepare the system for Mozmill. A big thanks goes to <a href="http://www.toolness.com/wp/">Atul Varma</a> who removed that dependency and made our life more compelling.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=543501">Bug 543501</a>: One of our upcoming projects is the execution of Mozmill tests against add-ons. Therefore we have to make sure that the usage of Mozmill will be as easy as possible. That&#8217;s why the misleading <em>&#8211;plugin</em> command line option has been changed to <em>&#8211;addons</em>. Make sure to use this option from now on.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=548446">Bug 548446</a>: Mozmill had problems with installing some of the existing extensions because it was not able to find the extension id. Thanks goes to Jonathan!</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=544896">Bug 544896</a>: If you have long test-runs it was possible that the software update dialog came up and removed the focus from the window currently under test. That&#8217;s why the automatic update for the application has been disabled. If you want to run tests against that feature make sure to enable the preference <em>app.update.enabled</em> before.</li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=558404">Bug 558404</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=559152">Bug 559152</a>: Some controller functions have been updated which missed some details about failures. Now we always have a stacktrace with full information available.</li>
</ul>
<p>The new version of the add-on can be found on <a href="https://addons.mozilla.org/de/firefox/addons/versions/9018">addons.mozilla.org</a>. It&#8217;s under review right now but can already be installed. For all the others who are using the command line client of Mozmill, you can simply run the &#8220;easy_install -U mozmill&#8221; command to update to the new 1.4.1 release.</p>
<p>If you have questions don&#8217;t hesitate to send your feedback to the <a href="http://groups.google.com/group/mozmill-dev">mozmill-dev</a> mailing list or directly contact us on IRC in the #qa channel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hskupin.info/2010/04/15/mozmill-1-4-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Daily automated Mozmill test-runs in the QA Lab</title>
		<link>http://www.hskupin.info/2010/01/29/daily-automated-mozmill-test-runs-in-the-qa-lab/</link>
		<comments>http://www.hskupin.info/2010/01/29/daily-automated-mozmill-test-runs-in-the-qa-lab/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 01:05:54 +0000</pubDate>
		<dc:creator>Henrik Skupin</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[couchdb]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozmill]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.hskupin.info/?p=502</guid>
		<description><![CDATA[Starting today the Mozilla QA lab has it&#8217;s own automated Mozmill test-run in place which gets executed once a day. That means I do not have to run those tests manually anymore and we also have public available results which will give us more exposure regarding failed tests. Really, it&#8217;s a great step forward for [...]]]></description>
			<content:encoded><![CDATA[<p>Starting today the Mozilla QA lab has it&#8217;s own automated Mozmill test-run in place which gets executed once a day. That means I do not have to run those tests manually anymore and we also have public available results which will give us more exposure regarding failed tests. Really, it&#8217;s a great step forward for us.</p>
<p>But lets talk in-detail about the progress&#8230;</p>
<p>During the last All Hands week in December 2009 I had to hold a presentation in one of our QA group meetings about the current state of the Mozmill tests and about the software update tests. Everyone was excited to see the improvements especially for the update tests which do not need any cumbersome file edits anymore. Finally we had an interesting discussion and collected some ideas about how to run those Mozmill tests in the future. As result we decided to setup a machine in the QA lab which will run Mozmill tests once a day against nightly builds of Namoroka and Shiretoko on OS X, Linux, and Windows. Further we wanted to use it as our machine to run Mozmill tests against release candidates and to verify the update channels. No sooner said than done&#8230;</p>
<p>Directly after the Christmas holidays my colleague <a href="http://www.openbuddha.com/">Al</a> ordered a Mac Mini and did the initial setup routine. He handed me over a system with 3 partitions. One for OS X 10.5, another one for OS X 10.6, and a third partition which is used for all the virtual machines and other necessary data. While talking about virtual machines the following will be in use: Ubuntu 9.10, Windows 2000, Windows XP, Windows Vista, and Windows 7.</p>
<p>My first task was to setup the initial Mozmill environment for all those operating systems. There is a nice <a href="https://developer.mozilla.org/en/Mozmill#Installation">documentation</a> up on <a href="https://developer.mozilla.org/">MDC</a> which helps to make the task as easy as possible. To be able to share builds, scripts, and other stuff between the vms each of those has the shared folders feature enabled and a virtual drive connected to the data partition.</p>
<p>For the daily test-runs against en-US nightly builds of Firefox 3.6.x (Namoroka) and Firefox 3.5.x (Shiretoko), we decided to have OS X 10.5, Ubuntu 9.10, and Windows XP always open. With the help of the crontab on Linux and OS X, and the scheduled tasks on Windows we are able to start the tests at the same time each day. Given by the availability of the update snippets we have chosen 8am PDT for now. I&#8217;m not sure if that will work every day due to some slightly time shifts but it&#8217;s still something we have to improve. To run all the available tests I have written a wrapper script in Python which runs each of the different tests sequentially. This script will be used from any of the above mentioned vms. The order how the tests are run is given by:</p>
<ul>
<li><strong><a href="http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/softwareUpdate">Software Update tests</a></strong>: With the software update tests we check that nightly updates can be downloaded and applied via the software update dialog. Also we make sure to run the successive Mozmill tests against the most recent nightly build.</li>
<li><strong><a href="http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/">Normal tests</a></strong>: Those tests cover most of our implemented tests for the Smoketests, BFT, and FFT test group which do not require a restart of the browser.</li>
<li><strong><a href="http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/restartTests">Restart tests</a></strong>: The restart tests cover the remaining tests and are able to even test complex paths which require a restart of the browser.</li>
</ul>
<p>Now someone may ask how do we track the results. There is no-one sitting on that machine. That&#8217;s correct. Therefor we use the rich feature set of <a href="http://www.hskupin.info/2010/01/25/mozmill-1-4-released/">Mozmill 1.4</a> which is able to send the results as a JSON object to any <a href="http://couchdb.apache.org/">CouchDB</a> server. For our usage inside QA such a server has been setup a while ago and is also used by our Mozmill tests now. It&#8217;s publicly accessible which means that everyone can check and analyze our daily results. If you are interested check-out the <a href="http://brasstacks.mozilla.com/couchdb/mozmill/_design/reports/_list/summary/summary">summary page</a> on brasstacks. Click on any of the entries to see all the details of each test-run. For the moment the web interface is really simple and hackish but it gives us the chance to easily track failed tests.</p>
<p>Within the next weeks or months a couple of improvements have to be made on the client side but also for the web interface. In general it covers:</p>
<ul>
<li>Finalize the decision which application information has to be acquired by Mozmill and has to be send to brasstacks.</li>
<li>Make Mozmill more robust against failures. The biggest problem we have are modal dialogs which can cause a hang of the complete test-run.</li>
<li>The software update tests have to be fixed to send results for each test module. Actually only for the first module results are available.</li>
<li>Complete new design views are needed to give an easy and structured access to all of the existent results. That is probably the biggest chunk. A separate blog post will follow once we start to work on that item.</li>
</ul>
<p>Even with those tasks in the queue we are ready to run daily Mozmill tests continuously each day and use the same machine for our release testing work.</p>
<p>As usual we do not rest, so expect more to hear about Mozmill testing in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hskupin.info/2010/01/29/daily-automated-mozmill-test-runs-in-the-qa-lab/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Automated Software Update tests with Mozmill</title>
		<link>http://www.hskupin.info/2009/11/18/automated-software-update-tests-with-mozmill/</link>
		<comments>http://www.hskupin.info/2009/11/18/automated-software-update-tests-with-mozmill/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 20:27:31 +0000</pubDate>
		<dc:creator>Henrik Skupin</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[mozmill]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.hskupin.info/?p=450</guid>
		<description><![CDATA[Release testing which has to be done by QA right before a new release of Firefox will be offered to our users is still an area where lot of manual work is involved. That means we run Smoketests and the Basic Functional Tests (BFT&#8217;s) against the build candidate. As I have already written there is [...]]]></description>
			<content:encoded><![CDATA[<p>Release testing which has to be done by QA right before a new release of Firefox will be offered to our users is still an area where lot of manual work is involved. That means we run Smoketests and the Basic Functional Tests (BFT&#8217;s) against the build candidate. As I have already written there is ongoing work with Mozmill to get those work fully automated in the future. But that are not the only tests we have to run&#8230;</p>
<p>Since ever Firefox is supporting automatic updates we also have to check that each and every user will get the right update package for the installed version of Firefox. Most of our users should run the latest version of Firefox but there are also cases where people don&#8217;t update immediately or even don&#8217;t want to upgrade to the next major version of Firefox. Given that updates have to be delivered to each of the supported branches (e.g. Firefox 3.0.0.x and Firefox 3.5.x)  and also as major update for upgrading to the next major version. We also have a <a href="https://wiki.mozilla.org/QA/Community/Betatesters_Mailing_List">community beta program</a> running where users can help testing beta versions of the next Firefox version. Those users will get a separate update offer on another update channel.</p>
<p>Finally there are 4 different channels we have to test for en-US and some of our P1 localized builds. In detail those are in the right order:</p>
<ul>
<li><strong>betatest</strong>: This channel makes sure that updates which will be delivered to beta users will pass.</li>
<li><strong>beta</strong>: Beta testers will get their updates on that channel.</li>
<li><strong>releasetest</strong>: This channel tests the update snippets which have been pushed to our official download mirrors.</li>
<li><strong>release</strong>: Default channel for all Firefox installations to get the next version.</li>
</ul>
<p>For each of those mentioned channels we offer partial and complete updates. The former one will be used if the latest minor version of Firefox is in use, e.g. a user wants to update from 3.5.4 to 3.5.5, while the latter one is for all other versions of the same branch. If an update fails to apply which could happen due to different reasons like a download problem, users will not get stuck on their installed version. In such a case a fallback update will be downloaded which is identical to the complete update. If that fails too the same process will be started again after a given time.</p>
<p>Until now these tests had to be done manually by us. An example can be seen in the update section of the <a href="https://wiki.mozilla.org/Releases/Firefox_3.5.5/Test_Plan:Software_Update">Firefox 3.5.5 test plan</a>. So we normally tests updates on all supported platforms, for each update type (minor, major), and make sure that fallback updates will pass.</p>
<p>With the new <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=504653">software update tests</a> for Mozmill which I have finished two days ago, we can easily automate this process now. The only manual steps which have to be done is to prepare the tests by downloading the necessary builds for all the platforms and place them in their own folders. Once that is done the automated test can be started. It will use all builds within a given folder and runs tests updates for the specified channel. The results are printed in wiki format to the console and only have to be copied to the appropriate Wiki page.</p>
<p>If you are interested in running those update tests you have to install Mozmill on your machine and clone our <a href="http://hg.mozilla.org/qa/mozmill-tests/">Mozmill test repository</a>. Detailed steps can be found in the <a href="http://quality.mozilla.org/documents-home/code-docs/mozmill-test-creation/">Mozmill test creation tutorial</a> on QMO.</p>
<p>This is a big step forward in a direction where we can run update checks against each localized build of Firefox and can make sure that updates are successfully applied and don&#8217;t fail or cause any sort of failure. And it will give QA more time to focus on other topics.</p>
<p>If you are interested and want to know more about Mozmill then join us in <a href="http://www.mibbit.com/chat/?server=irc.mozilla.org&#038;channel=%23qa">#QA on IRC</a> or subscribe to the <a href="http://groups.google.com/group/mozmill-dev">Mozmill developer list</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hskupin.info/2009/11/18/automated-software-update-tests-with-mozmill/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
