<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Investigate Intermittent Problems</title>
	<atom:link href="http://www.satisfice.com/blog/archives/34/feed" rel="self" type="application/rss+xml" />
	<link>http://www.satisfice.com/blog/archives/34</link>
	<description>The Consulting Software Tester</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:21:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Wade Wachs</title>
		<link>http://www.satisfice.com/blog/archives/34/comment-page-1#comment-262456</link>
		<dc:creator>Wade Wachs</dc:creator>
		<pubDate>Mon, 18 Oct 2010 20:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://12.165.213.55/blog/?p=34#comment-262456</guid>
		<description>It seems to me that what is being said is that the term &#039;intermittent&#039; just means &#039;I don&#039;t know how to reproduce it yet&#039;.

&lt;em&gt;[James&#039; Reply: Pretty much.]
&lt;/em&gt;
  If a bug exists with a certain set of inputs/states, it seems the more possible combinations of inputs and states the more possible outputs you have.
&lt;em&gt;
[James&#039; Reply: Not necessarily. The possibility of outputs is unconnected to input. Consider a random number generator.]&lt;/em&gt;

Consider a simple circuit with a switch, power source, and light bulb.  When the switch is turned on, the bulb illuminates.  When the switch is turned off, the bulb goes dark.  If we turn the switch on, and the bulb does not light up, we call this a bug, and we diagnose what we know, for example the power source is dead.  This is not considered an &#039;intermittent&#039; bug, we found the problem and can easily reproduce it.  

&lt;em&gt;[James&#039; Reply: It&#039;s intermittent if it happens some times and not others.]
&lt;/em&gt;
Now, consider a circuit with hundreds of switches, bulbs, resistors, power sources, capacitors, etc. all wired in parallel all with changing input and output as we are trying to test the effect of our switch on our light bulb.  If changing our switch only illuminates the bulb some of the time, we call this an intermittent bug, when in reality it is a reproducible bug that we just haven&#039;t figured out how to do so yet.

&lt;em&gt;[James&#039; Reply: We call a bug intermittent based not on its own nature but on our view of it.]
&lt;/em&gt;
Our white whale exists somewhere in the hundreds of other components that we weren&#039;t looking at in our test.  Just because we don&#039;t know about all the inputs doesn&#039;t make the bug intermittent, it just means we haven&#039;t learned everything about it yet.

&lt;em&gt;[James&#039; Reply: It *is* intermittent-- to us.]
&lt;/em&gt;
If we were to try to defend the term &#039;intermittent&#039;, we would have to somehow define the level of complexity before a bug can graduate from a reproducible bug to an intermittent bug.  In the first example, if our power source (which is unknown to the tester) was a hamster running on a wheel with a generator attached, it would seem that intermittently the switch would turn the light on.  But since we don&#039;t know the power source, we call this an intermittent bug even though it is seemingly simple system.  How can we ever define the total set of our unknowns?  We can&#039;t, therefore &#039;intermittent&#039; simply becomes a way of saying &#039;there is something I don&#039;t know about the system that is affecting my results&#039;.

&lt;em&gt;[James&#039; Reply: Yes.]
&lt;/em&gt;
(I like where this is going, I&#039;m thinking I will make this into a blog post for my own blog out of this.  If you&#039;re interested in following this line of thought go check out wadewachs.com)

&lt;em&gt;[James&#039; Reply: I&#039;m already following your blog.]&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>It seems to me that what is being said is that the term &#8216;intermittent&#8217; just means &#8216;I don&#8217;t know how to reproduce it yet&#8217;.</p>
<p><em>[James' Reply: Pretty much.]<br />
</em><br />
  If a bug exists with a certain set of inputs/states, it seems the more possible combinations of inputs and states the more possible outputs you have.<br />
<em><br />
[James' Reply: Not necessarily. The possibility of outputs is unconnected to input. Consider a random number generator.]</em></p>
<p>Consider a simple circuit with a switch, power source, and light bulb.  When the switch is turned on, the bulb illuminates.  When the switch is turned off, the bulb goes dark.  If we turn the switch on, and the bulb does not light up, we call this a bug, and we diagnose what we know, for example the power source is dead.  This is not considered an &#8216;intermittent&#8217; bug, we found the problem and can easily reproduce it.  </p>
<p><em>[James' Reply: It's intermittent if it happens some times and not others.]<br />
</em><br />
Now, consider a circuit with hundreds of switches, bulbs, resistors, power sources, capacitors, etc. all wired in parallel all with changing input and output as we are trying to test the effect of our switch on our light bulb.  If changing our switch only illuminates the bulb some of the time, we call this an intermittent bug, when in reality it is a reproducible bug that we just haven&#8217;t figured out how to do so yet.</p>
<p><em>[James' Reply: We call a bug intermittent based not on its own nature but on our view of it.]<br />
</em><br />
Our white whale exists somewhere in the hundreds of other components that we weren&#8217;t looking at in our test.  Just because we don&#8217;t know about all the inputs doesn&#8217;t make the bug intermittent, it just means we haven&#8217;t learned everything about it yet.</p>
<p><em>[James' Reply: It *is* intermittent-- to us.]<br />
</em><br />
If we were to try to defend the term &#8216;intermittent&#8217;, we would have to somehow define the level of complexity before a bug can graduate from a reproducible bug to an intermittent bug.  In the first example, if our power source (which is unknown to the tester) was a hamster running on a wheel with a generator attached, it would seem that intermittently the switch would turn the light on.  But since we don&#8217;t know the power source, we call this an intermittent bug even though it is seemingly simple system.  How can we ever define the total set of our unknowns?  We can&#8217;t, therefore &#8216;intermittent&#8217; simply becomes a way of saying &#8216;there is something I don&#8217;t know about the system that is affecting my results&#8217;.</p>
<p><em>[James' Reply: Yes.]<br />
</em><br />
(I like where this is going, I&#8217;m thinking I will make this into a blog post for my own blog out of this.  If you&#8217;re interested in following this line of thought go check out wadewachs.com)</p>
<p><em>[James' Reply: I'm already following your blog.]</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://www.satisfice.com/blog/archives/34/comment-page-1#comment-247160</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Wed, 10 Mar 2010 17:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://12.165.213.55/blog/?p=34#comment-247160</guid>
		<description>As per my understanding, it is easier (and cheaper) to find problems between two components rather than finding problems between more than two components. I gather, this is the basis of Pair Wise Testing and I have understand AllPairs, the same logic has been implemented. 

I was wondering, if you would be able to provide me some examples on how best to isolate defects between more than two components. (Assuming that such defects in some way maybe considered as intermittent)

Regards
Gaurav Pandey

&lt;em&gt;[James&#039; Reply: Can you present that as a more natural problem? What would it look like in real life?

If you see something that is intermittent, you won&#039;t know which variables make it intermittent, or how many they are.]&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>As per my understanding, it is easier (and cheaper) to find problems between two components rather than finding problems between more than two components. I gather, this is the basis of Pair Wise Testing and I have understand AllPairs, the same logic has been implemented. </p>
<p>I was wondering, if you would be able to provide me some examples on how best to isolate defects between more than two components. (Assuming that such defects in some way maybe considered as intermittent)</p>
<p>Regards<br />
Gaurav Pandey</p>
<p><em>[James' Reply: Can you present that as a more natural problem? What would it look like in real life?</p>
<p>If you see something that is intermittent, you won't know which variables make it intermittent, or how many they are.]</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.satisfice.com/blog/archives/34/comment-page-1#comment-197669</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 17 Jul 2009 00:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://12.165.213.55/blog/?p=34#comment-197669</guid>
		<description>The essence of intermittent bugs are of chaotic nature - where multiple (at least three) factors come into play.  So there is no direct \cause\ for such bugs versus regular bugs.  It is impossible for over 99% people to accept that there is no direct cause for the chaotic world.   The famous three-body problem is a good start to understand the essence of intermittency.

It is NEVER possible to simplify a true intermittent bug into a regular bug

&lt;em&gt;[James&#039; Reply: The whole notion of &quot;cause&quot; is artificial. You could as well say that anything that happens has an infinite number of causes. You&#039;re right, the world is chaotic. But I guess we could say that one reason a bug can be intermittent is because of a set of causes that are uncorrelated and unknown.

But when I&#039;m investigating a bug, some of its causes may be temporarily correlated or uncorrelated. There is no &quot;true intermittence&quot; because there is no way to be sure about the nature of the causes, and no way to prove that the causal structure won&#039;t change. 

In other words, give me an example of an intermittent bug, and I can give you one new fact that, if true, would reveal it to be not intermittent (or vice versa). Therefore, you might say &quot;there is no way to be sure that a regular bug isn&#039;t secretly an intermittent bug, and no way to know that an intermittent bug isn&#039;t secretly a regular bug.&quot; Hence I call something an intermittent bug if, at the time I&#039;m investigating it, it is intermittent. But I don&#039;t need to say it&#039;s &quot;truly intermittent.&quot;]&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>The essence of intermittent bugs are of chaotic nature &#8211; where multiple (at least three) factors come into play.  So there is no direct \cause\ for such bugs versus regular bugs.  It is impossible for over 99% people to accept that there is no direct cause for the chaotic world.   The famous three-body problem is a good start to understand the essence of intermittency.</p>
<p>It is NEVER possible to simplify a true intermittent bug into a regular bug</p>
<p><em>[James' Reply: The whole notion of "cause" is artificial. You could as well say that anything that happens has an infinite number of causes. You're right, the world is chaotic. But I guess we could say that one reason a bug can be intermittent is because of a set of causes that are uncorrelated and unknown.</p>
<p>But when I'm investigating a bug, some of its causes may be temporarily correlated or uncorrelated. There is no "true intermittence" because there is no way to be sure about the nature of the causes, and no way to prove that the causal structure won't change. </p>
<p>In other words, give me an example of an intermittent bug, and I can give you one new fact that, if true, would reveal it to be not intermittent (or vice versa). Therefore, you might say "there is no way to be sure that a regular bug isn't secretly an intermittent bug, and no way to know that an intermittent bug isn't secretly a regular bug." Hence I call something an intermittent bug if, at the time I'm investigating it, it is intermittent. But I don't need to say it's "truly intermittent."]</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor Hopkinson</title>
		<link>http://www.satisfice.com/blog/archives/34/comment-page-1#comment-159325</link>
		<dc:creator>Trevor Hopkinson</dc:creator>
		<pubDate>Tue, 11 Nov 2008 16:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://12.165.213.55/blog/?p=34#comment-159325</guid>
		<description>But how to handle these intermuittent faults

Appearance on test results reports - how to handle an 80% test pass rate
what to do with bug reports raising - clearing - raising again
Is it really a bug? - 

Any ideas welcome

Trevor
&lt;em&gt;
[James&#039; Reply: What&#039;s the problem? What is an 80% pass rate? Why is the bug report being raised and cleared?]&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>But how to handle these intermuittent faults</p>
<p>Appearance on test results reports &#8211; how to handle an 80% test pass rate<br />
what to do with bug reports raising &#8211; clearing &#8211; raising again<br />
Is it really a bug? &#8211; </p>
<p>Any ideas welcome</p>
<p>Trevor<br />
<em><br />
[James' Reply: What's the problem? What is an 80% pass rate? Why is the bug report being raised and cleared?]</em></p>
]]></content:encoded>
	</item>
</channel>
</rss>

