Define interface allowing build farm job classes to select pending jobs
Bug #499861 reported by
Muharem Hrnjadovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Muharem Hrnjadovic |
Bug Description
The job dispatch time estimation needs to be generalized to cope with the various build farm types. The latter know how to select their pending jobs appropriately.
An interface method is to be introduced allowing the dispatch estimation mechanism to ask the job classes for their respective "pending job" queries.
Related to bug #484819.
Related branches
lp:~al-maisan/launchpad/pending-jobs-499861
- Jeroen T. Vermeulen (community): Approve (code)
- Jonathan Lange (community): Approve
-
Diff: 567 lines (+507/-4)4 files modifiedlib/lp/buildmaster/interfaces/buildfarmjob.py (+66/-1)
lib/lp/buildmaster/model/buildfarmjob.py (+10/-0)
lib/lp/soyuz/model/buildpackagejob.py (+47/-3)
lib/lp/soyuz/tests/test_buildpackagejob.py (+384/-0)
Changed in soyuz: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Muharem Hrnjadovic (al-maisan) |
milestone: | none → pending |
Changed in soyuz: | |
milestone: | pending → 10.01 |
tags: | added: buildfarm |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in devel r10094 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ devel/revision/ 10094>