Closed Bug 918875 Opened 12 years ago Closed 12 years ago

Correlations on report list fails if report list has no OSes

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

(Whiteboard: [qa+])

Attachments

(2 files)

Hmm so correlation reports do have "None" as an OS option, we're probably not picking it up (I don't think it's really all that useful): https://crash-analysis.mozilla.com/crash_analysis/20130920/20130920_Firefox_23.0.1-core-counts.txt.gz However we should be catching this exception somewhere regardless...
OS: Mac OS X → All
Hardware: x86 → All
(In reply to Robert Helmer [:rhelmer] from comment #1) > Hmm so correlation reports do have "None" as an OS option, we're probably > not picking it up (I don't think it's really all that useful): > https://crash-analysis.mozilla.com/crash_analysis/20130920/ > 20130920_Firefox_23.0.1-core-counts.txt.gz > That's not really what happens. We also take care of it when the only os found is `None`. What happened in this bug is that the there were basically nothing in the ReportList. So os_counts.keys() became `[]`.
Steps to reproduce: 1. For any of the featured Firefox versions, open their Top Crasher page 2. Click the `EMPTY: no crashing thread identified; corrupt dump` signature 3. Click the "Correlations" tab Expected output: No OS for all reports under this signature. Actual output: Unable to load correlations. Please try again later. (in red, meaning 500 error on the XHR)
Whiteboard: [qa?]
Whiteboard: [qa?] → [qa+]
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/17ab6ffd75c44fc34c086c170d280692c5226736 fixes bug 918875 - Correlations on report list fails if report list has no OSes, r=rhelmer
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 61
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Thanks for looking in to this. The same output is used for two different scenarios: 1. The only OS in the reports is None 2. There are no reports at all Our code used to check if it was None and if so, return that message ("No OS for all reports under this signature."). However, I found that sometimes there is nothing to compare to so we got an error. Ie. it was even worse than the only OS being None. But to the end user they don't really care, so I re-used the exact same error as for the the OS was None. Hope that helps.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: