[bzr] remaining outgoing requests on fixed revisions

Bug #1249566 reported by Georges Racinet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe
Fix Released
Medium
Unassigned

Bug Description

Last night, launchpad was down for a few hours (seen from our servers). We had a few builds, as part of a release process.
In this case, all revisions are actually fixed and did not move since last build, but the recipe tried and resolved the lp: address.
The build would have been otherwise successful.

 File "buildout-caches/eggs/anybox.recipe.openerp-1.8.1-py2.7.egg/anybox/recipe/openerp/vcs/bzr.py", line 51, in __init__
    url = LPDIR.look_up('', self.url)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/plugins/launchpad/lp_directory.py", line 68, in look_up
    return self._resolve(url)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/plugins/launchpad/lp_directory.py", line 173, in _resolve
    result = self._resolve_via_xmlrpc(path, url, _request_factory)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/plugins/launchpad/lp_directory.py", line 100, in _resolve_via_xmlrpc
    result = resolve.submit(service)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/plugins/launchpad/lp_registration.py", line 271, in submit
    self._authenticated)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/plugins/launchpad/lp_registration.py", line 194, in send_request
    result = method(*method_params)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/plugins/launchpad/lp_registration.py", line 72, in request
    response = self._opener.open(request)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/transport/http/_urllib2_wrappers.py", line 1806, in http_response
    code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "buildout-caches/eggs/bzr-2.6.0-py2.7-linux-x86_64.egg/bzrlib/transport/http/_urllib2_wrappers.py", line 1823, in http_error_default
    % (code, msg))
InvalidHttpResponse: Invalid http response for https://xmlrpc.launchpad.net/bazaar/: Unable to handle http code 503: Service Unavailable
program finished with exit code 1

Changed in anybox.recipe.openerp:
milestone: 1.7.4 → 1.8.3
Revision history for this message
Georges Racinet (gracinet) wrote :

Bypassed the lp: resolution in offline mode, but decided to push in a separate branch, to merge right after 1.8.3 release (I've almost forgotten to avoid writting the unresolved location to branch.conf, so this is a bit more dangerous than it sounds)

Changed in anybox.recipe.openerp:
importance: Undecided → Medium
milestone: 1.8.3 → 1.8.4
status: New → In Progress
Revision history for this message
Georges Racinet (gracinet) wrote :

Forgot to merge last time, but not this one !

Changed in anybox.recipe.openerp:
milestone: 1.8.4 → 1.8.5
status: In Progress → Fix Committed
Changed in anybox.recipe.openerp:
status: Fix Committed → 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.