[requestsync] Doesn't handle lp timeouts well

Bug #517866 reported by Artur Rona on 2010-02-06
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: ubuntu-dev-tools

ProblemType: Crash
Architecture: i386
Date: Sat Feb 6 01:18:52 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/requestsync
InterpreterPath: /usr/bin/python2.6
Package: ubuntu-dev-tools 0.92
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/requestsync --lp -s -d testing python3-profiler
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
PythonArgs: ['/usr/bin/requestsync', '--lp', '-s', '-d', 'testing', 'python3-profiler']
SourcePackage: ubuntu-dev-tools
Title: requestsync crashed with --- in _request()
Uname: Linux 2.6.32-10-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Artur Rona (ari-tczew) wrote :
tags: removed: need-duplicate-check
Andrew Pollock (apollock) wrote :
Download full text (9.0 KiB)

I think this is what I'm seeing. Here's the full run:

$ requestsync -d unstable -n --lp libclass-loader-perl
W: Target release missing - assuming lucid
You are not able to upload this package directly to Ubuntu.
Your sync request shall require an approval by a member of the appropriate
sponsorship team, who shall be subscribed to this bug report.
This must be done before it can be processed by a member of the Ubuntu Archive
team.
If the above is correct please press [Enter]
Currently the report looks as follows:
Summary (one line):
Sync libclass-loader-perl 2.03-1 (universe) from Debian unstable (main)

Description:
Please sync libclass-loader-perl 2.03-1 (universe) from Debian unstable (main)

All changelog entries:

libclass-loader-perl (2.03-1) unstable; urgency=low

  * Initial Release (Closes: #567594)

 -- Jonathan Yu <email address hidden> Fri, 29 Jan 2010 21:53:59 -0500

Do you want to edit the report [y/N]? n
The final report is:
Summary: Sync libclass-loader-perl 2.03-1 (universe) from Debian unstable (main)
Description:
Please sync libclass-loader-perl 2.03-1 (universe) from Debian unstable (main)

All changelog entries:

libclass-loader-perl (2.03-1) unstable; urgency=low

  * Initial Release (Closes: #567594)

 -- Jonathan Yu <email address hidden> Fri, 29 Jan 2010 21:53:59 -0500

Press [Enter] to continue or [Ctrl-C] to abort.
Traceback (most recent call last):
  File "/usr/bin/requestsync", line 224, in <module>
    postBug(srcpkg, subscribe, mapping[status], title, report)
  File "/usr/lib/pymodules/python2.6/ubuntutools/requestsync/lp.py", line 102, in postBug
    bug = Launchpad.bugs.createBug(title = bugtitle, description = bugtext, target = bug_target())
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 302, in __getattr__
    return self.lp_get_parameter(attr)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 193, in lp_get_parameter
    self._ensure_representation()
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 332, in _ensure_representation
    representation = self._root._browser.get(self._wadl_resource)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 227, in get
    response, content = self._request(url, extra_headers=headers)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/_browser.py", line 217, in _request
    raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 503: Service Unavailable
Response headers:
---
connection: close
content-length: 6450
content-type: text/html;charset=utf-8
date: Thu, 11 Feb 2010 23:15:30 GMT
retry-after: 900
server: zope.server.http (HTTP)
status: 503
via: 1.1 wildcard.edge.launchpad.net
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      lang="en" dir="ltr">
  <head>
    <title>Error: Timeout</title>
    <link rel="shortcut icon" href="/@@/launchpad.png" />

  <style type="text/css" media="screen, print">@import url(ht...

Read more...

Michael Bienia (geser) on 2010-02-22
visibility: private → public
Benjamin Drung (bdrung) on 2010-12-18
summary: - requestsync crashed with --- in _request()
+ [requestsync] crashed with --- in _request()
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium

> Error: Timeout

Is this bug still open because we intend to handle timeouts better? There's not much else we could do here

summary: - [requestsync] crashed with --- in _request()
+ [requestsync] Doesn't handle lp timeouts well
Changed in ubuntu-dev-tools (Ubuntu):
importance: Medium → Low
Changed in ubuntu-dev-tools (Ubuntu):
importance: Low → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments