Activity log for bug #594247

Date Who What changed Old value New value Message
2010-06-14 16:58:04 Brian Murray bug added bug
2010-06-23 20:46:35 Graham Binns tags timeout
2010-06-23 20:46:40 Graham Binns malone: status New Triaged
2010-06-23 20:46:45 Graham Binns malone: importance Undecided High
2010-06-23 21:35:15 Deryck Hodge tags timeout dhrb timeout
2010-07-25 09:55:12 Robert Collins description It is possible to search for bug tasks using structural_subscriber as an argument for example: xswat = launchpad.people['ubuntu-x-swat'] tasks = ubuntu.searchTasks(structural_subscriber=xswat) and this works fine. However, if an additional parameter is added like importance it results in a OOPS. tasks = ubuntu.searchTasks(structural_subscriber=xswat,importance='High') https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1626EC2715 LaunchpadTimeoutError: Statement: 'SELECT COUNT(*) FROM Bug, BugTask WHERE Bug.id = BugTask.bug AND BugTask.importance = 40 AND BugTask.distribution = 1 AND ((BugTask.status = 10) OR (BugTask.status = 15) \n AND (Bug.date_last_message IS NOT NULL\n AND BugTask.date_incomplete &lt;=\n Bug.date_last_message)\n OR (BugTask.status = 15) \n AND (Bug.date_last_message IS NULL\n OR BugTask.date_incomplete &gt;\n Bug.date_last_message)\n OR (BugTask.status = 20) OR (BugTask.status = 21) OR (BugTask.status = 22) OR (BugTask.status = 25)) AND Bug.duplicateof is NULL AND BugTask.distroseries is NULL AND BugTask.productseries is NULL AND BugTask.id IN (\n SELECT BugTask.id FROM BugTask, StructuralSubscription\n WHERE BugTask.product = StructuralSubscription.product\n AND StructuralSubscription.subscriber = 458651\n UNION ALL\n SELECT BugTask.id FROM BugTask, StructuralSubscription\n WHERE\n BugTask.distribution = StructuralSubscription.distribution\n AND BugTask.sourcepackagename =\n StructuralSubscription.sourcepackagename\n AND StructuralSubscription.subscriber = 458651\n UNION ALL\n SELECT BugTask.id FROM BugTask, StructuralSubscription\n WHERE\n BugTask.distroseries = StructuralSubscription.distroseries\n AND StructuralSubscription.subscriber = 458651\n UNION ALL\n SELECT BugTask.id FROM BugTask, StructuralSubscription\n WHERE\n BugTask.milestone = StructuralSubscription.milestone\n AND StructuralSubscription.subscriber = 458651\n UNION ALL\n SELECT BugTask.id FROM BugTask, StructuralSubscription\n WHERE\n BugTask.productseries = StructuralSubscription.productseries\n AND StructuralSubscription.subscriber = 458651\n UNION ALL\n SELECT BugTask.id FROM BugTask, StructuralSubscription, Product\n WHERE\n BugTask.product = Product.id\n AND Product.project = StructuralSubscription.project\n AND StructuralSubscription.subscriber = 458651\n UNION ALL\n SELECT BugTask.id FROM BugTask, StructuralSubscription\n WHERE\n BugTask.distribution = StructuralSubscription.distribution\n AND StructuralSubscription.sourcepackagename is NULL\n AND StructuralSubscription.subscriber = 458651) AND \n (Bug.private = FALSE OR EXISTS (\n SELECT BugSubscription.bug\n FROM BugSubscription, TeamParticipation\n WHERE TeamParticipation.person = 972620 AND\n BugSubscription.person = TeamParticipation.team AND\n BugSubscription.bug = Bug.id))\n AND (1=1)'&lt;br /&gt; Parameters:()&lt;br /&gt; Original error: QueryCanceledError('canceling statement due to statement timeout\n',) It is possible to search for bug tasks using structural_subscriber as an argument for example: xswat = launchpad.people['ubuntu-x-swat'] tasks = ubuntu.searchTasks(structural_subscriber=xswat) and this works fine. However, if an additional parameter is added like importance it results in a OOPS. tasks = ubuntu.searchTasks(structural_subscriber=xswat,importance='High') https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1626EC2715 SQL time: 17078 ms Non-sql time: 121 ms Total time: 17199 ms Statement Count: 21 SELECT COUNT(*) FROM Bug, BugTask WHERE Bug.id = BugTask.bug AND BugTask.importance = 40 AND BugTask.distribution = 1 AND ((BugTask.status = 10) OR (BugTask.status = 15) AND (Bug.date_last_message IS NOT NULL AND BugTask.date_incomplete <= Bug.date_last_message) OR (BugTask.status = 15) AND (Bug.date_last_message IS NULL OR BugTask.date_incomplete > Bug.date_last_message) OR (BugTask.status = 20) OR (BugTask.status = 21) OR (BugTask.status = 22) OR (BugTask.status = 25)) AND Bug.duplicateof is NULL AND BugTask.distroseries is NULL AND BugTask.productseries is NULL AND BugTask.id IN ( SELECT BugTask.id FROM BugTask, StructuralSubscription WHERE BugTask.product = StructuralSubscription.product AND StructuralSubscription.subscriber = 458651 UNION ALL SELECT BugTask.id FROM BugTask, StructuralSubscription WHERE BugTask.distribution = StructuralSubscription.distribution AND BugTask.sourcepackagename = StructuralSubscription.sourcepackagename AND StructuralSubscription.subscriber = 458651 UNION ALL SELECT BugTask.id FROM BugTask, StructuralSubscription WHERE BugTask.distroseries = StructuralSubscription.distroseries AND StructuralSubscription.subscriber = 458651 UNION ALL SELECT BugTask.id FROM BugTask, StructuralSubscription WHERE BugTask.milestone = StructuralSubscription.milestone AND StructuralSubscription.subscriber = 458651 UNION ALL SELECT BugTask.id FROM BugTask, StructuralSubscription WHERE BugTask.productseries = StructuralSubscription.productseries AND StructuralSubscription.subscriber = 458651 UNION ALL SELECT BugTask.id FROM BugTask, StructuralSubscription, Product WHERE BugTask.product = Product.id AND Product.project = StructuralSubscription.project AND StructuralSubscription.subscriber = 458651 UNION ALL SELECT BugTask.id FROM BugTask, StructuralSubscription WHERE BugTask.distribution = StructuralSubscription.distribution AND StructuralSubscription.sourcepackagename is NULL AND StructuralSubscription.subscriber = 458651) AND (Bug.private = FALSE OR EXISTS ( SELECT BugSubscription.bug FROM BugSubscription, TeamParticipation WHERE TeamParticipation.person = 972620 AND BugSubscription.person = TeamParticipation.team AND BugSubscription.bug = Bug.id)) AND (1=1)
2010-07-25 12:13:50 Robert Collins tags dhrb timeout dhrb overlyprecise timeout
2010-09-24 12:39:40 Deryck Hodge malone: status Triaged In Progress
2010-09-24 12:39:50 Deryck Hodge malone: assignee Abel Deuring (adeuring)
2010-10-14 04:54:54 Robert Collins tags dhrb overlyprecise timeout dhrb overlyprecise pg83 timeout
2010-10-25 21:04:25 Launchpad QA Bot malone: milestone 10.11
2010-10-25 21:04:27 Launchpad QA Bot tags dhrb overlyprecise pg83 timeout dhrb overlyprecise pg83 qa-untestable timeout
2010-10-25 21:04:29 Launchpad QA Bot malone: status In Progress Fix Committed
2010-10-26 08:12:32 Abel Deuring malone: status Fix Committed In Progress
2010-10-26 08:12:52 Abel Deuring tags dhrb overlyprecise pg83 qa-untestable timeout dhrb overlyprecise pg83 timeout
2010-10-28 19:37:44 Robert Collins tags dhrb overlyprecise pg83 timeout dhrb overlyprecise pg83 qa-untestable timeout
2010-11-04 05:43:44 Launchpad QA Bot malone: status In Progress Fix Committed
2010-11-04 10:38:42 Abel Deuring malone: status Fix Committed In Progress
2010-11-04 15:54:38 Abel Deuring branch linked lp:~adeuring/launchpad/bug-594247-unittests-for-searchtasks-4
2010-11-12 12:15:13 Abel Deuring branch linked lp:~adeuring/launchpad/bug-594247
2010-11-22 10:15:18 Abel Deuring malone: status In Progress Fix Committed
2010-11-22 13:16:48 Launchpad QA Bot malone: milestone 10.11 10.12
2010-11-22 13:16:49 Launchpad QA Bot tags dhrb overlyprecise pg83 qa-untestable timeout dhrb overlyprecise pg83 qa-needstesting timeout
2010-11-22 16:58:38 Abel Deuring tags dhrb overlyprecise pg83 qa-needstesting timeout dhrb overlyprecise pg83 qa-ok timeout
2010-11-23 04:52:08 Robert Collins malone: status Fix Committed Fix Released