Closed Bug 450143 Opened 16 years ago Closed 12 years ago

don't populate Build ID# if test is non-browser product, eg Thunderbird

Categories

(Webtools Graveyard :: Litmus, defect, P1)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wsmwk, Unassigned)

Details

Attachments

(1 file)

please don't populate Build ID# if test is non-browser product, eg Thunderbird

situation is similar to bugzilla's guided entry form....we have and will continue to have testers to aren't too experienced.  So if the  Build ID#  is filled in with the browser's UA, then the tester doesn't notice they need to change it, or thinks they don't have to replace it.  

Their tests get tagged with the wrong build id - then reporting, vetting, etc becomes is a mess :(
This is messing up all products non firefox, and can cause reporting headaches.
Priority: -- → P1
Severity: normal → blocker
What page does this occur on? At first sight, I was not able to find where the build ID is pre-populated in the first place.
1. https://litmus.mozilla.org/
2. pick thunderbird catchall tests, i.e. https://litmus.mozilla.org/run_tests.cgi?test_run_id=30

expected results: build id would be empty

actual results: build id# has been populated with firefox's buildid ... despite it's thunderbird testrun
Thanks, I can confirm this and will fix it.
This patch only sniffs the build ID if
a) test run is browser-related (i.e., Firefox or SeaMonkey) and
b) the test run's browser type matches the one currently used.

Coop, if you feel somebody else should review these patches, please let me know.
Assignee: nobody → fwenzel
Status: NEW → ASSIGNED
Attachment #365637 - Flags: review?(ccooper)
Comment on attachment 365637 [details] [diff] [review]
Reduce build ID sniffing

I dislike having the pids in there. Could we not change Litmus::DB::TestRun->getTestRunWithRefs to return the product name, and then compare that directly?

if (product.toLowerCase() == test_run['product_id']['product_name'].toLowerCase()) {
Attachment #365637 - Flags: review?(ccooper) → review-
Frédéric, possible to drive in revised patch?
Sorry, I haven't got to it lately. I'm still planning on making a new patch, but if you want to pick up my patch and change it according to coop's comments in comment 6, please go right ahead.
(In reply to comment #6)
> I dislike having the pids in there. Could we not change
> Litmus::DB::TestRun->getTestRunWithRefs to return the product name, and then
> compare that directly?

Coop, I don't know why the product model (referenced by the testrun model) does not already contain the name? I think I need Perl advice :)
reducing severity for now. If anyone knowing more about Perl than I do wants to help out on comment 9, thanks in advance.
Severity: blocker → major
Assignee: fwenzel → nobody
Status: ASSIGNED → NEW
Litmus is being decommissioned in bug 802674. 

Visit https://moztrap.mozilla.org for your testing needs.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: