Closed
Bug 909930
Opened 11 years ago
Closed 11 years ago
Several products return 500 errors for the /crash_trends/ report
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
FIXED
60
People
(Reporter: mbrandt, Assigned: espressive)
References
Details
https://crash-stats.mozilla.com/crash_trends/products/Fennec https://errormill.mozilla.org/webtools/socorro-prod/group/95536/ Note, this is not a regression - with bug 907863 landing the visibility of these reports will increase. https://crash-stats.mozilla.com/crash_trends/products/Thunderbird https://errormill.mozilla.org/webtools/socorro-prod/group/95536/ https://crash-stats.mozilla.com/crash_trends/products/B2G https://errormill.mozilla.org/webtools/socorro-prod/group/95536/ https://crash-stats.mozilla.com/crash_trends/products/WebappRuntimeMobile https://errormill.mozilla.org/webtools/socorro-prod/group/95536/
Reporter | ||
Updated•11 years ago
|
Summary: Several products return 500 errors the /crash_trends/ → Several products return 500 errors for the /crash_trends/ report
Updated•11 years ago
|
Assignee: nobody → bsavage
Comment 1•11 years ago
|
||
Either one of us can look at this; I will be in France this week so I won't be here to look at this, but if you have time espressive feel free. Otherwise I'll fix it when I'm back.
Reporter | ||
Comment 3•11 years ago
|
||
Schalk - interested in taking this boog?
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(schalk.neethling.bugs)
Assignee | ||
Updated•11 years ago
|
Assignee: bsavage → schalk.neethling.bugs
Flags: needinfo?(schalk.neethling.bugs)
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Matt Brandt [:mbrandt] from comment #3) > Schalk - interested in taking this boog? Matt, So it looks like it has to do with the fact that crash trends only loads featured Nightly releases so, we need to either: 1) no just do featured 2) handle the fact that there are no featured nightly releases for a product better looping in Laura and KaiRo for some additional feedback.
Flags: needinfo?(laura)
Flags: needinfo?(kairo)
Assignee | ||
Comment 5•11 years ago
|
||
3) do both ;) So, the only reason I did not suggest this in my previous comment is, if we do 1, the problem will most likely go away but, with that said and thinking about it, it is probably best to be defensive in the code. So, even if we do not do 1, 2 still applies. Thoughts?
Comment 6•11 years ago
|
||
I'd prefer: 1) Use featured Nightly. 2) If none available, use highest-versioned active Nightly. 3) If none available, display a reasonable error message (and not just a 500).
Flags: needinfo?(kairo)
Comment 7•11 years ago
|
||
Oh, and for testing: Firefox should always have a featured Nightly, so good for testing case 1. Thunderbird should always have an active Nightly, but it's not featured - good for testing case 2. Fennec has no active Nightly any more (has inactive ones but we should not use those), good for testing case 3.
Comment 8•11 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #6) > I'd prefer: > > 1) Use featured Nightly. > 2) If none available, use highest-versioned active Nightly. > 3) If none available, display a reasonable error message (and not just a > 500). Point 2 is hard to parse. :)
Comment 9•11 years ago
|
||
(In reply to Peter Bengtsson [:peterbe] from comment #8) > Point 2 is hard to parse. :) "highest-versioned active Nightly" == filter the active versions for this product for the Nightly channel only, and then take the one highest one in version-number-sort-order (i.e. the one that would come first in the versions dropdown).
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #9) > (In reply to Peter Bengtsson [:peterbe] from comment #8) > > Point 2 is hard to parse. :) > > "highest-versioned active Nightly" == filter the active versions for this > product for the Nightly channel only, and then take the one highest one in > version-number-sort-order (i.e. the one that would come first in the > versions dropdown). So, I think I have found an additional bug that we just have not ran into. The call that loads the versions for the selected product (after initial load) loads versions for both Nightly and Aurora versions of the products whilst the main crash_trends function currently, only looks for a featured Nightly. It this correct or, should it only be loading Nightly versions for the product?
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #9) > (In reply to Peter Bengtsson [:peterbe] from comment #8) > > Point 2 is hard to parse. :) > > "highest-versioned active Nightly" == filter the active versions for this > product for the Nightly channel only, and then take the one highest one in > version-number-sort-order (i.e. the one that would come first in the > versions dropdown). To add to what I mentioned in comment 10, it seems that we actually consider Aurora to be part of the Nightlys or has that changed? If not, then this bug might have a different, simpler solution.
Comment 12•11 years ago
|
||
crash_trends might make sense for Aurora as well, but its primary target is Nightly.
Assignee | ||
Comment 13•11 years ago
|
||
https://github.com/mozilla/socorro/pull/1498
Target Milestone: --- → 60
Assignee | ||
Comment 14•11 years ago
|
||
The best and simplest way to test this, is to use the products from Comment 1 and ensure that these products no longer return a 500 error but now, the page loads successfully and there is a message provided to the user that there was no data found for the provided criteria. Also, the versions will try to load but, if there are no Nightly versions at all, a message will also be shown above the form stating that no versions was found for the product.
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(laura)
Comment 15•11 years ago
|
||
(In reply to Schalk Neethling [:espressive] from comment #14) > The best and simplest way to test this, is to use the products from Comment > 1 and ensure that these products no longer return a 500 error but now, the > page loads successfully and there is a message provided to the user that > there was no data found for the provided criteria. > > Also, the versions will try to load but, if there are no Nightly versions at > all, a message will also be shown above the form stating that no versions > was found for the product. That strategy sounds fine to me.
Assignee | ||
Comment 16•11 years ago
|
||
Pull request https://github.com/mozilla/socorro/pull/1498 merged
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•