getPublishedSources launchpadlib query times out

Bug #1295318 reported by Chris J Arges
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Celso Providelo

Bug Description

[Impact]
Larger queries consistently give 503 errors.

[Test Case]

#!/usr/bin/python
from launchpadlib.launchpad import Launchpad

SRC_PPA_OWNER = 'ubuntu-cloud-archive'
SRC_PPA_NAME = 'havana-staging'

lp = Launchpad.login_with('sync-test', 'production')
src_ppa = lp.people[SRC_PPA_OWNER].getPPAByName(name=SRC_PPA_NAME)
ubuntu = lp.distributions['ubuntu']

source_packages = src_ppa.getPublishedSources(status='Published')

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-launchpadlib 1.10.2+ds-2
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Thu Mar 20 13:58:46 2014
InstallationDate: Installed on 2014-03-17 (3 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-launchpadlib
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Chris J Arges (arges) wrote :
Revision history for this message
William Grant (wgrant) wrote :

We can't do much without the OOPS ID of a failed request.

no longer affects: launchpadlib
no longer affects: python-launchpadlib (Ubuntu)
Changed in launchpad:
status: New → Incomplete
Revision history for this message
James Page (james-page) wrote :

OOPS-248be292e88cdf36634c1bc48679c0ca

Changed in launchpad:
status: Incomplete → New
Revision history for this message
James Page (james-page) wrote :

I reported the same issue under Bug #1295741

Revision history for this message
Celso Providelo (cprov) wrote :

As mentioned in bug #1295741, we have a plan for fixing this problem.

Changed in launchpad:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Celso Providelo (cprov)
William Grant (wgrant)
Changed in launchpad:
importance: High → Critical
tags: added: lp-soyuz timeout
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Celso Providelo (cprov)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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