BuildBase result handling broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Nelson |
Bug Description
Since the Great IPackageBuild Refactor, attempting to handle a complete recipe build dies like this:
2010-05-29 11:05:45+1000 [-] Traceback (most recent call last):
2010-05-29 11:05:45+1000 [-] File "/home/
2010-05-29 11:05:45+1000 [-] method(queueItem, slave_status, logtail, logger)
2010-05-29 11:05:45+1000 [-] File "/home/
2010-05-29 11:05:45+1000 [-] build.handleSta
2010-05-29 11:05:45+1000 [-] TypeError: handleStatus() takes exactly 4 arguments (3 given)
BuildBase.
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 531 lines (+198/-69)10 files modifiedlib/canonical/launchpad/webapp/configure.zcml (+1/-1)
lib/canonical/launchpad/webapp/tales.py (+2/-2)
lib/lp/buildmaster/interfaces/buildbase.py (+27/-12)
lib/lp/buildmaster/model/buildbase.py (+24/-13)
lib/lp/buildmaster/model/packagebuild.py (+2/-2)
lib/lp/buildmaster/tests/test_buildbase.py (+76/-35)
lib/lp/code/model/sourcepackagerecipebuild.py (+7/-1)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+31/-1)
lib/lp/soyuz/tests/test_binarypackagebuild.py (+23/-0)
lib/lp/testing/factory.py (+5/-2)
Changed in soyuz: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Michael Nelson (michael.nelson) |
Changed in soyuz: | |
status: | Triaged → In Progress |
Changed in soyuz: | |
milestone: | none → 10.06 |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
Once that's fixed, the method(..) call fails (since those methods are now static). The attached patch makes it mostly work.