Merge lp://staging/~brian-murray/daisy/find-bucket-from-stacktrace into lp://staging/daisy
Status: | Merged |
---|---|
Approved by: | Evan |
Approved revision: | 416 |
Merged at revision: | 417 |
Proposed branch: | lp://staging/~brian-murray/daisy/find-bucket-from-stacktrace |
Merge into: | lp://staging/daisy |
Diff against target: |
92 lines (+39/-29) 1 file modified
tools/find_stacktrace.py (+39/-29) |
To merge this branch: | bzr merge lp://staging/~brian-murray/daisy/find-bucket-from-stacktrace |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Evan (community) | Approve | ||
Review via email: mp+209334@code.staging.launchpad.net |
Description of the change
As I understand the original problem that jibel was experiencing was that he was not able to find the bucket for a particular OOPS he had reported. So we need a tool, until there is a way in the UI, to move from an individual OOPS or instance to the bucket that includes that instance. I'm under the impression that find_stacktrace.py was trying to do this, but failing. I've modified the code so that if we pass an OOPS we can find the bucket.
$ PYTHONPATH=
SAS: /usr/bin/
Found crash signature for SAS: /usr/bin/
https:/
However, maybe this isn't what the tool is supposed to do and if that's the case I'll copy the code as it stands and put it in a new tool as this seems useful.
Although the code needlessly repeats the SAS, it works as I watched an oops move from the awaiting_retrace cf to the retracing index.
Waiting to retrace SAS: OrderedDict( [(u'/usr/ lib/ubiquity/ bin/ubiquity: 11:x86_ 64:/usr/ lib/x86_ 64-linux- gnu/gtk- 3.0/modules/ libautopilot. so+9808: /usr/lib/ x gnu/libxpathsel ect.so. 1.4+166ba: /usr/lib/ x86_64- linux-gnu/ libxpathselect. so.1.4+ 1299f:/ usr/lib/ x86_64- linux-gnu/ gtk-3.0/ modules/ libautopilot. s /usr/lib/ x86_64- linux-gnu/ gtk-3.0/ modules/ libautopilot. so+c1fd: /usr/lib/ x86_64- linux-gnu/ gtk-3.0/ modules/ libautopilot. so+c41b: /usr/lib/ x86_64- linux so.6.0. 1+5adc: /usr/lib/ x86_64- linux-gnu/ libffi. so.6.0. 1+540c: /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3992. 0+10bf8: /usr/lib/ x86_64- linux- 2.0.so. 0.3992. 0+103b8: /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3992. 0+21d3d: /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3992. 0+28bf1 x86_64- linux-gnu/ gtk-3.0/ modules/ libautopilot. so+d941: /usr/lib/ x86_64- linux-gnu/ libgio- 2.0.so. 0.3992. 0+df486: /usr/lib/ x86_64- linux-gnu/ libgio- 2. 3992.0+ c7de1', '')])
86_64-linux-
o+ba85:
-gnu/libffi.
gnu/libgobject-
:/usr/lib/
0.so.0.
Retracing SAS: /usr/lib/ ubiquity/ bin/ubiquity: 11:x86_ 64:/usr/ lib/x86_ 64-linux- gnu/gtk- 3.0/modules/ libautopilot. so+9808: /usr/lib/ x86_64- linux-gnu/ libxpaths 1.4+166ba: /usr/lib/ x86_64- linux-gnu/ libxpathselect. so.1.4+ 1299f:/ usr/lib/ x86_64- linux-gnu/ gtk-3.0/ modules/ libautopilot. so+ba85: /usr/lib/ x86_64- li gtk-3.0/ modules/ libautopilot. so+c1fd: /usr/lib/ x86_64- linux-gnu/ gtk-3.0/ modules/ libautopilot. so+c41b: /usr/lib/ x86_64- linux-gnu/ libffi. so.6.0. 1+5adc x86_64- linux-gnu/ libffi. so.6.0. 1+540c: /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3992. 0+10bf8: /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3 /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3992. 0+21d3d: /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0.3992. 0+28bf1: /usr/lib/ x86_64- linux-gn 0/modules/ libautopilot. so+d941: /usr/lib/ x86_64- linux-gnu/ libgio- 2.0.so. 0.3992. 0+df486: /usr/lib/ x86_64- linux-gnu/ libgio- 2.0.so. 0.3992. 0+c7de1
elect.so.
nux-gnu/
:/usr/lib/
992.0+103b8:
u/gtk-3.