SourcePackageRecipeBuild:+index LocationError build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Curtis Hovey |
Bug Description
Since a few days there is a "unknown" recipe build of xboard "idling" under "Currently building" in the GNU PPA:
https:/
And if you click on it, youll get the following error:
OOPS-cb9aeeae5de17eff1110de070650dec7
Module zope.tales.tales, line 696, in evaluate
return expression(self)
- /srv/launchpad.
- Line 99, Column 11
- Expression: <PathExpr standard:
- Names:
{'args': (),
'context': <lp.code.
'default': <object object at 0x2b3dc7a393a0>,
'loop': {},
'nothing': None,
'options': {},
'repeat': {},
'request': <lp.services.
'template': <z3c.ptcompat.
'view': <zope.browserpa
'views': <zope.app.
Module zope.tales.
return self._eval(
Module zope.tales.
ob = self._subexprs[
Module zope.tales.
ob = self._traverser(ob, element, econtext)
Module zope.pagetempla
request=
Module zope.traversing
return traversable.
- __traceback_info__: (None, 'builder')
Module zope.traversing
raise LocationError(
- __traceback_info__: (None, 'builder', [])
LocationError: (None, 'builder')
summary: |
- Broken recipe build still shown under "Currently building" + SourcePackageRecipeBuild:+index LocationError build |
description: | updated |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: oops recipe soyuz-build |
Changed in launchpad: | |
status: | In Progress → Fix Released |
There are appear to be three builds that are building, but do not have build queue records. I think this should be an impossibility. Other pages do not assume that the buildqueue_record exists, but sourcepackagere cipebuild- index.pt does for this case. Fixing the template to avoid the case is trivial, but I suspect something is else is wrong. These three source package recipe builds are not BUILDING, the status is wrong.
-- source package recipe builds that are currently building, but are geRecipeBuild sprb cipeBuildJob sprbj kage_recipe_ build = sprb.id
-- not in the build queue...shouldn't this be impossible.
SELECT sprb.id, sprb.recipe, sprb.package_build, pb.archive, bfj.*
FROM
SourcePacka
JOIN PackageBuild pb ON sprb.package_build = pb.id
JOIN buildfarmjob bfj ON pb.build_farm_job = bfj.id
LEFT JOIN SourcePackageRe
ON sprbj.sourcepac
LEFT JOIN BuildQueue bq ON sprbj.job = bq.job
WHERE
bfj.status = 6
AND bq.id IS NULL
;
id | recipe | package_build | archive | id | processor | virtualized | date_created | date_started | date_finished | date_first_ dispatched | builder | status | log | job_type | failure_count -+----- ---+--- ------- -----+- ------- -+----- ----+-- ------- --+---- ------- --+---- ------- ------- ------- ---+--- ------- ------- ------- ----+-- ------- ------- ------- -----+- ------- ------- ------- ------+ ------- --+---- ----+-- ------- --+---- ------+ ------- ------- -
-------
313796 | 1381 | 4168429 | 24522 | 4195986 | | t | 2012-09-25 21:30:17.362718 | 2012-09-26 01:18:46.619776 | 2012-09-26 01:22:49.685661 | 2012-09-26 01:18:46.619776 | 28 | 6 | 117342577 | 3 | 0
306575 | 2426 | 4092077 | 28986 | 4118914 | | t | 2012-09-13 21:45:15.396141 | 2012-09-14 01:39:14.201798 | 2012-09-14 01:42:31.287629 | 2012-09-14 01:39:14.201798 | 48 | 6 | 115866517 | 3 | 0
339948 | 3168 | 4299322 | 25596 | 4329103 | | t | 2012-11-06 17:45:13.837404 | 2012-11-06 19:20:51.690196 | 2012-11-06 19:23:38.150159 | 2012-11-06 19:20:51.690196 | 36 | 6 | 122195218 | 3 | 0