buildd-retry-depwait.py crashing

Bug #553068 reported by Steve McInerney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Steve Kowalik

Bug Description

2010-04-01 06:25:04 INFO creating lockfile
2010-04-01 06:25:10 INFO Processing The Lucid Lynx for amd64 (amd64)
2010-04-01 06:25:10 INFO Found 204 builds in MANUALDEPWAIT state.
Traceback (most recent call last):
  File "/srv/launchpad.net/codelines/current/cronscripts/buildd-retry-depwait.py", line 35, in <module>
    script.run()
  File "/srv/launchpad.net/codelines/soyuz-production-rev-9184/lib/lp/services/scripts/base.py", line 248, in run
    self.main()
  File "/srv/launchpad.net/codelines/soyuz-production-rev-9184/lib/lp/soyuz/scripts/buildd.py", line 171, in main
    build_set.retryDepWaiting(distroarchseries)
  File "/srv/launchpad.net/codelines/soyuz-production-rev-9184/lib/lp/soyuz/model/build.py", line 929, in retryDepWaiting
    build.updateDependencies()
  File "/srv/launchpad.net/codelines/soyuz-production-rev-9184/lib/lp/soyuz/model/build.py", line 428, in updateDependencies
    if not self._isDependencySatisfied(token)]
  File "/srv/launchpad.net/codelines/soyuz-production-rev-9184/lib/lp/soyuz/model/build.py", line 382, in _isDependencySatisfied
    self.distroarchseries, name)
  File "/srv/launchpad.net/codelines/soyuz-production-rev-9184/lib/lp/soyuz/model/archive.py", line 787, in findDepCandidateByName
    dep = ArchiveDependency.selectOneBy(archive=self)
  File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/sqlobject.py", line 356, in selectOneBy
  File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/sqlobject.py", line 516, in _one
  File "/home/pqm/for_rollouts/production/eggs/storm-0.15danilo_storm_launchpad_r342-py2.5-linux-x86_64.egg/storm/store.py", line 1117, in one
storm.exceptions.NotOneError: one() used with more than one result available

Tags: lp-soyuz qa-ok

Related branches

Steve McInerney (spm)
summary: - retry-depwait crashing
+ buildd-retry-depwait.py crashing
Revision history for this message
Steve Kowalik (stevenk) wrote :

One of the fixes that I landed with this release broke it. :-(

I'll be putting a branch together to fix it.

affects: launchpad → soyuz
Changed in soyuz:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Steve Kowalik (stevenk)
Revision history for this message
Steve Kowalik (stevenk) wrote :

I have QA'd this change on dogfood by adding two dependencies to my PPA, copying r-cran-slam into my PPA, setting the build state to MANUALDEPWAIT and observing that buildd-retry-depwait.py crashes with the above traceback. Merging the above branch in fixes the issue and buildd-retry-depwait.py no longer crashes.

Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in soyuz:
milestone: none → 10.04
status: In Progress → Fix Committed
tags: added: qa-needstesting
Steve Kowalik (stevenk)
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in soyuz:
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.