Easing Orange: Jetpack for Correlating Tinderbox Test Failures with Bugs

This is a Jetpack feature for finding out if a bug is already filed for a test failure on Tinderbox. When viewing log files for failed test runs, the Jetpack will add a link next to the test failure summary at the top of the log, that looks like “(maybe bug XXXXXX?)”. This allows sheriff’s and other awesome community members to easily mark known-oranges, and update the bug with log’s URL.

Install the Jetpack feature.

Notes:

  • So far it only pulls file names out of error text, so won’t match leaks, crashes or oranges without a filename in the summary.
  • Only searches the bug summary, and only searches known orange bugs (ie: has “[orange]” in the bug whiteboard).
  • Scrapes bugzilla.mozilla.org, since the new REST api is very very slow, so might break with bugzilla upgrades.
  • It doesn’t run until the log has completed loading, which sometimes can be a while. Load that shit in a background tab and be patient yo.

Let me know if this helps you out, or any bugs or improvements you’d like to see!

About these ads

2 Comments on “Easing Orange: Jetpack for Correlating Tinderbox Test Failures with Bugs”

  1. This is wonderful! As with most great software written, this has the potential to raise the user’s expectations, so I was thinking how awesome would it be if this were integrated with Tinderboxpushlog. I had recently filed bug 527932 asking for assistance regarding starring oranges, and this is a very good first step towards that goal!

  2. Robert Strong says:

    Works as advertised and is helpful. Thanks!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.