<?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>Ted's Mozilla Blog &#187; tinderbox</title>
	<atom:link href="http://blog.mozilla.com/ted/category/tinderbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/ted</link>
	<description>If this were a diary it would have a unicorn on the cover, because unicorns are awesome.</description>
	<lastBuildDate>Mon, 05 Oct 2009 20:52:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Crash stacks on unit tests and Talos</title>
		<link>http://blog.mozilla.com/ted/2009/03/12/crash-stacks-on-unit-tests-and-talos/</link>
		<comments>http://blog.mozilla.com/ted/2009/03/12/crash-stacks-on-unit-tests-and-talos/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 00:33:52 +0000</pubDate>
		<dc:creator>tmielczarek</dc:creator>
				<category><![CDATA[tests]]></category>
		<category><![CDATA[tinderbox]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/ted/?p=26</guid>
		<description><![CDATA[For a long time when our unit tests or Talos performance tests encountered a crash, the result was nothing but frustration. If you were lucky, you could tell that it crashed, but you had no idea where. Poor Blake spent weeks tracing down a crash from his speculative-parsing patch that only seemed to occur on [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time when our <a href="https://developer.mozilla.org/en/Mozilla_automated_testing">unit tests</a> or <a href="http://weblogs.mozillazine.org/qa/archives/2007/05/beware_of_talos.html">Talos</a> performance tests encountered a crash, the result was nothing but frustration. If you were lucky, you could tell that it crashed, but you had no idea where. Poor <a title="Does he have a blog? This was the first hit on Google, good enough." href="http://twitter.com/mrbkap">Blake</a> spent weeks tracing down <a title=" Bug 474537 -  Understand the speculative parsing crash" href="https://bugzilla.mozilla.org/show_bug.cgi?id=474537">a crash</a> from his <a title=" Bug 364315 -  Speculatively load referenced files while &quot;real&quot; parsing is blocked on a &lt;script src=&gt; load " href="https://bugzilla.mozilla.org/show_bug.cgi?id=364315">speculative-parsing patch</a> that only seemed to occur on Talos. Up until recently I figured the only way to make this happen was going to involve a fair amount of work that only I was going to be able to do. A few weeks ago it was determined that this was becoming a significant impact on development, as patches would get checked in, cause a crash and be backed out, leaving the developer with nothing to go on.</p>
<p><a href="http://benjamin.smedbergs.us/blog/">Benjamin Smedberg</a> has been hard at work making it possible to get stacks in this situation, using the same <a href="http://code.google.com/p/google-breakpad/">Breakpad</a> utilities we use on our <a href="http://crash-stats.mozilla.com/">Socorro server</a>, but locally on the machine running the tests. Practically all of the pieces were in place this afternoon when #developers cornered <a href="http://alice.nodelman.net/blog/">Alice</a> and closed the tree while she landed the final patch to make Talos produce stack traces. <a href="http://weblogs.mozillazine.org/bz/">Boris</a> then <a href="http://hg.mozilla.org/mozilla-central/rev/4d9bc12c4d3c">committed a test crash</a>, and as a result we were able to see crash stacks in Mochitest (<a title="It's a tinderbox log, so only click if you *really* want to see" href="http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1236887430.1236888099.13857.gz&amp;fulltext=1#err3">OS X</a>, <a title="another huge tinderbox log" href="http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1236887430.1236892748.27212.gz&amp;fulltext=1#err3">Linux</a>) as well as Talos (<a title="ok, this tinderbox log is a bit shorter" href="http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1236887449.1236888958.18830.gz">OS X</a>, <a title="another tinderbox log" href="http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1236887504.1236890166.22554.gz">Linux</a>).</p>
<p>Thanks to Benjamin for doing most of the heavy lifting here, and for<br />
Alice for taking the Talos part across the finish line. The Talos work<br />
was mostly in <a title=" Bug 480577 -  Make Talos dump crash stacks after crashes" href="https://bugzilla.mozilla.org/show_bug.cgi?id=480577">bug 480577</a>, and the unit test work was <a title=" Bug 481732 -  Have unit tests (automation.py ones) dump stacks on crashes" href="https://bugzilla.mozilla.org/show_bug.cgi?id=481732">bug 481732</a>. Note<br />
that currently this only works in Mochitest (all 4 varieties), it will<br />
work in Reftest/Crashtest after <a title=" Bug 479225 -  run reftest/crashtest with &quot;make {reftest,crashtest}&quot; and mochitest with &quot;make mochitest-{plain,chrome,browser-chrome,a11y}&quot;" href="https://bugzilla.mozilla.org/show_bug.cgi?id=479225">bug 479225</a> is fixed (which should be soon).</p>
<p>(Cross posted in <a href="http://groups.google.com/group/mozilla.dev.tree-management/browse_thread/thread/14532c910c0f6a04#">dev.tree-management</a>, but posting here for a wider audience.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/ted/2009/03/12/crash-stacks-on-unit-tests-and-talos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unit tests: now with less suck!</title>
		<link>http://blog.mozilla.com/ted/2007/11/21/unit-tests-now-with-less-suck/</link>
		<comments>http://blog.mozilla.com/ted/2007/11/21/unit-tests-now-with-less-suck/#comments</comments>
		<pubDate>Wed, 21 Nov 2007 15:51:53 +0000</pubDate>
		<dc:creator>tmielczarek</dc:creator>
				<category><![CDATA[tinderbox]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/ted/2007/11/21/unit-tests-now-with-less-suck/</guid>
		<description><![CDATA[Thanks to the combined efforts of a few people, the Tinderbox build logs for our unit test machines now suck much less.  You can now click on &#8220;View Brief Log&#8221; and get a summary of test failures right at the top, instead of searching through the full log for various failure strings.  In addition, if [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=379327" title="Bug 379327 – make tinderbox logs suck less when tests fail">combined efforts of a few people</a>, the Tinderbox build logs for our unit test machines now <a href="http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1195656287.1195658458.11132.gz" title="unit test log">suck much less</a>.  You can now click on &#8220;View Brief Log&#8221; and get a summary of test failures right at the top, instead of searching through the full log for various failure strings.  In addition, if you click down to the errors in the body of the log, the test files are linkified to bonsai for you.  Awesome!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/ted/2007/11/21/unit-tests-now-with-less-suck/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RLk:0B (and staying that way)</title>
		<link>http://blog.mozilla.com/ted/2007/10/24/rlk0b-and-staying-that-way/</link>
		<comments>http://blog.mozilla.com/ted/2007/10/24/rlk0b-and-staying-that-way/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 02:52:03 +0000</pubDate>
		<dc:creator>tmielczarek</dc:creator>
				<category><![CDATA[tinderbox]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/ted/2007/10/24/rlk0b-and-staying-that-way/</guid>
		<description><![CDATA[So, some time ago dbaron got RLk down to 0 bytes on our leak test box.  Sometime after that, we deployed the new Linux reference platform, only to have that go back up to 8 bytes.  Turns out it was my fault, a string wasn&#8217;t being freed in the crash reporter code.  The crash reporter [...]]]></description>
			<content:encoded><![CDATA[<p>So, some time ago<a href="http://dbaron.org/log/2007-08#e20070804a"> dbaron got RLk down to 0 bytes</a> on our leak test box.  Sometime after that, we deployed the new Linux reference platform, only to have that go back up to 8 bytes.  Turns out <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=397103">it was my fault</a>, a string wasn&#8217;t being freed in the crash reporter code.  The crash reporter must not have been enabled on the previous reference platform.  I&#8217;ve made amends and fixed this, and I also checked in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=390916">rhelmer&#8217;s patch</a> to make the leak test boxes turn orange if RLk goes above zero, so we should be able to hold the line on this per our test failure policy.  For comparison, on the <a href="http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla1.8/1193277180.1193278532.6501.gz" title="balsa test failure">1.8 branch</a> we leak up to 45KB(!) per test run.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/ted/2007/10/24/rlk0b-and-staying-that-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
