searchTasks with hardware_is_linked_to_bug parameter times out regularly

Bug #531003 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Unassigned

Bug Description

When trying to search for bug tasks related to a particular bit of hardware it is always timing out for me. Consider the following search:

ubuntu = launchpad.distributions['ubuntu']
ubuntu.searchTasks(hardware_bus='PCI',hardware_vendor_id='0x8086',hardware_product_id='0x293a',hardware_is_linked_to_bug=False)

gave me OOPS-1522EC1058. Ubuntu has a lot of bug reports so I thought I'd try a package (simple-scan) with a small number of bug reports.

package = ubuntu.getSourcePackage(name='simple-scan')
tasks = package.searchTasks(hardware_bus='PCI',hardware_vendor_id='0x8086',hardware_product_id='0x293e',hardware_is_linked_to_bug=True)

This also returned OOPS-1522ED995.

I also tried some variations of this query link hardware_is_linked_to_bug=False and hardware_owner_is_bug_reporter=True and that also OOPSes.

Most of these happened using Edge but I tried switching to Production and that resulted in an OOPS also.

tags: added: ubuntu-qa
Revision history for this message
Brian Murray (brian-murray) wrote :

Oh, and I did link bug 521070 about simple-scan to a hardware profile that contains the searched for device.

Revision history for this message
Brian Murray (brian-murray) wrote :

Well it started working now but I still wonder what is causing this and if it is likely to happen again.

Deryck Hodge (deryck)
Changed in malone:
status: New → Triaged
importance: Undecided → High
tags: added: oops
Revision history for this message
Brian Murray (brian-murray) wrote :

An oops from today - OOPS-1530EB842.

Revision history for this message
Brian Murray (brian-murray) wrote :

Actually in the description I said to use this:

ubuntu.searchTasks(hardware_bus='PCI',hardware_vendor_id='0x8086',hardware_product_id='0x293a',hardware_is_linked_to_bug=False)

However, if using False it doesn't oops but with hardware_is_linked_to_bug=True it does.

OOPS-1530EA891

Revision history for this message
Deryck Hodge (deryck) wrote :

The fix for this could be involved, and Brian has some work arounds he can explore. If it continues to be a problem and the suggested work arounds don't work as hoped, we can mark this a higher priority and see that the work is done.

Changed in malone:
importance: High → Low
Changed in launchpad:
importance: Low → Critical
tags: added: timeout
removed: oops
Revision history for this message
Robert Collins (lifeless) wrote :

@Brian, I hate to ask for noddy retests, but I'm wondering if this still occurs - and if so can you please attach a new OOPS? We've made lots of changes to searchTasks...

Revision history for this message
Brian Murray (brian-murray) wrote :

The same queries no longer cause an OOPS.

Revision history for this message
Robert Collins (lifeless) wrote :

Ok, I'm going to close this optimistically. Thanks for retesting.

Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.