QA/TDAI/RegressionRangeFinder: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
Mozregression is a python command-line tool for finding a bug's regression range on Firefox nightly builds. Use the [https://wiki.mozilla.org/QA/TDAI/RegressionRangeInstall installation instructions] for your platform. As an example, if you know a bug wasn't present in the nightly for Feb 3 2009, but is present in today's nightly, you can run this command-line:<pre>python regression.py -g 2009-02-03</pre>
Mozregression is a python command-line tool for finding a bug's regression range on Firefox nightly builds. Use the [https://wiki.mozilla.org/QA/TDAI/RegressionRangeInstall installation instructions] for your platform.


This will download and run a series of nightly builds on a new, clean profile. When a new browser window pops up you can do whatever you need to do to verify the bugs presence in that build, then type 'good' or 'bad' into the prompt depending on whether that nightly is good (bug isn't present) or bad (bug is present), the program will keep on downloading builds depending on your answers. After you've tried enough builds (about 7 for a 100-day initial regression range), you'll see something like this:<pre>Last good nightly: 2009-12-22 First bad nightly: 2009-12-23
As an example, if you know a bug wasn't present in the nightly for Feb 3 2009, but is present in today's nightly, you can run this command-line:<pre>python regression.py -g 2009-02-03</pre>
 
This will download and run a series of nightly builds on a new, clean profile. When a new browser window pops up you can do whatever you need to do to verify the bugs presence in that build, then type 'good' or 'bad' into the prompt depending on whether the bug is present in that build. The program will keep on downloading builds depending on your answers. After you've tried enough builds (about 7 for a 100-day initial regression range), you'll see something like this:
 
<pre>Last good nightly: 2009-12-22 First bad nightly: 2009-12-23


Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1f0e04dc2b21&tochange=f8b8f2f214d6
Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1f0e04dc2b21&tochange=f8b8f2f214d6
</pre>
</pre>


this is good information to paste into a Bugzilla comment. The pushlog url will show you all the code checkins that occurred during the regression range.
this is good information to paste into a Bugzilla comment. The pushlog url will show you all the code checkins that occurred during the regression range.
865

edits