Closed Bug 1185148 Opened 9 years ago Closed 9 years ago

New test chooser doesn't work if there are two signatures with the same name

Categories

(Tree Management :: Perfherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(1 file)

How to reproduce:

* Go to https://treeherder.mozilla.org/perf.html#/graphs?timerange=5184000 (60 day timerange)
* Open test chooser
* Note lack of tests to choose

The problem is that on Android (our default platform) there is more than one signature that resolves to "tp4m summary". We should track these elements by signature, not name so that isn't a problem (if we really wanted to be pedantic, we would also put a (N) next to elements which are duplicates, but I think we can avoid doing that for a first pass as this case is quite uncommon)

I have a patch in progress for this, I'll finish it off next week.
So this fixes the original problem (signature list is blank in test chooser in some cases) and also cleans up the code and fixes some other minor issues.

I probably should have done a more thorough review/test of MikeLing's original code, sorry about that. MikeLing: please have a look at this patch if you have time. You could consider the changes some additional comments on your original work (which was 99% of the way there, there were just some minor problems).
Attachment #8636234 - Flags: review?(jmaher)
Attachment #8636234 - Flags: feedback?(sabergeass)
Attachment #8636234 - Flags: review?(jmaher) → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/a764ce05ffb17e2c3981107dcd51e59a1f2c3ae6
Bug 1185148 - Fix various problems in perfherder test chooser

* Chooser is now ok with two tests with same name (but different signatures)
* If test is already added to graph (or has already been selected), don't
  allow user to choose it again
* Improved variable names and general simplification of code
Resolving this. MikeLing: Feel free to still give feedback. :)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attachment #8636234 - Flags: feedback?(sabergeass) → feedback+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: