Archive.getPublishedBinaries (for ddebs) keeps timing out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant |
Bug Description
ddeb-retriever has a hard time importing zesty -- all zesty packages got published around the same time, so it has to do the ddeb query/download in one batch.
This query (http://
return archive.
keeps failing with:
DEBUG: Got ddeb: glmark2-dbgsym 2014.03+
Traceback (most recent call last):
File "/srv/ddebs.
ddeb_
File "/srv/ddebs.
for pub in binary_pubs:
File "/usr/lib/
unicode(
File "/usr/lib/
response, content = self._request(url, extra_headers=
File "/usr/lib/
raise error
lazr.restfulcli
Response headers:
---
-content-encoding: gzip
connection: close
content-length: 9769
content-type: text/html;
date: Wed, 19 Oct 2016 22:14:01 GMT
retry-after: 900
server: zope.server.http (HTTP)
status: 503
vary: Accept-Encoding
x-lazr-oopsid: OOPS-c468be3f4d79009221aa4efed904acac
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
<!DOCTYPE html>
<html xmlns="http://
lang="en" dir="ltr">
<head>
<meta charset="UTF-8" />
<title>Error: Timeout</title>
<link rel="shortcut icon" href="/
<link type="text/css" rel="stylesheet"
<script type="text/
var LP = {
cache: {},
links: {}
};
</script>
<script type="text/
<script type="text/
<script type="text/
var raw = null;
if (LP.devmode) {
raw = 'raw';
}
root: 'yui/',
filter: raw,
debug: false,
groups: {
lp: {
}
}
}</script>
<script type="text/
// we need this to create a single YUI instance all events and code
// talks across. All instances of YUI().use should be based off of
// LPJS instead.
LPJS = new YUI();
</script>
<script id="base-
//<![CDATA[
'oop', 'lp', 'lp.app.
var global_view = new Y.lp.views.
// Longpolling will only start if
// LP.cache.longpoll is populated.
// We use Y.later to work around a Safari/Chrome 'feature':
// The mouse cursor stays 'busy' until all the requests started during
// page load are finished. Hence we want the long poll request to start
// right *after* the page has loaded.
});
Y.on('lp:context:web_link:changed', function(e) {
});
});
//]]>
</script>
<script id="base-
// This code is pulled from lp.js that needs to be available on every
// request. Pulling here to get it outside the scope of the YUI block.
function setFocusByName(
// Focus the first element matching the given name which can be focused.
var nodes = document.
var i, node;
for (i = 0; i < nodes.length; i++) {
if (node.focus) {
}
}
}
function selectWidget(
if (event && (event.keyCode === 9 || event.keyCode === 13)) {
// Avoid firing if user is tabbing through or simply pressing
// enter to submit the form.
}
}
//]]>
</script>
</head>
<body id="document" itemscope=""
itemtype="http://
main_only
public
yui3-
<div class="yui-d0">
<div id="locationbar" class="
<div id="logincontro
<
<div id="watermark" class="
<div>
<img alt="" width="64" height="64" src="/@
</div>
<div class="wide">
<h2 id="watermark-
</div>
<!-- Application Menu -->
<ul class="facetmenu">
<li class="overview active"><a
href="https:/
<li class="branches"><a
href="https:/
<li class="bugs"><a href="https:/
<li class="
href="https:/
<li class="
href="https:/
<li class="answers"><a href="https:/
</ul>
</div>
<div id="maincontent" class="yui-main">
<div class="yui-b" dir="ltr">
<div class="
<div id="registration" class="
</div>
<div id="request-
</div>
<div class="
<h1 class="
<p>
Sorry, something just went wrong in Launchpad.
</p>
<p>
We’ve recorded what happened,
and we’ll fix it as soon as possible.
Apologies for the inconvenience.
</p>
<p>
Trying again in a couple of minutes might work.
</p>
<p>
(Error <abbr>ID</abbr>:
<code class="oopsid">OOPS-c468be3f4d79009221aa4efed904acac</code>)
</p>
</div>
</div><!-- yui-main -->
<!-- yui-b side -->
<!-- yui-t4 -->
<div id="footer" class="footer">
<div class="lp-arcana">
<div class="
<a href="https:/
<a href="https:/
<a href="https:/
<form id="globalsearch" method="get"
<input type="search" id="search-text" name="field.text" />
<input type="image" src="/@@/search" style="
</form>
</div>
</div>
<div class="colophon">
© 2004-2016
<a href="http://
&
<a href="https:/
&
<a href="/
&
<a href="http://
<a href="http://
&
<a href="https:/
<span id="lp-version">
&
r18232
(<a href="https:/
</span>
</div>
</div>
</div><!-- yui-d0-->
<script id="json-
</body>
<!--
Facet name: unknown
Page type: main_only
Has global search: True
Has application tabs: True
Has side portlets: False
At least 4 queries/external actions issued in 0.11 seconds OOPS-c468be3f4d79009221aa4efed904acac
Features: {'app.mainsite_
r18232
-->
</html>
Related branches
- Colin Watson (community): Approve
-
Diff: 96 lines (+37/-4)3 files modifiedlib/lp/soyuz/browser/tests/test_archive_webservice.py (+17/-0)
lib/lp/soyuz/interfaces/archive.py (+4/-2)
lib/lp/soyuz/model/archive.py (+16/-2)
summary: |
- getPublishedSources() (for ddebs) keeps timing out + getPublishedBinaries() (for ddebs) keeps timing out |
summary: |
- getPublishedBinaries() (for ddebs) keeps timing out + Archive.getPublishedBinaries (for ddebs) keeps timing out |
tags: | added: lp-soyuz oops trivial |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in launchpad: | |
assignee: | nobody → William Grant (wgrant) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r18246 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 18246>.