TranslationTemplatesBuildJob fails during cleanup
Bug #569108 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Jeroen T. Vermeulen |
Bug Description
Our build-farm jobs currently break in Q/A on dogfood, with this silly error:
http://
This happens when things are almost done, while the slave is trying to report success to the master. On the master side, we then hit bug 496574.
Related branches
lp:~jtv/launchpad/bug-569108
Merged
into
lp:launchpad
- Michael Nelson (community): Approve (code)
-
Diff: 202 lines (+48/-42)6 files modifiedlib/lp/buildmaster/interfaces/buildfarmjob.py (+3/-1)
lib/lp/buildmaster/model/buildfarmjob.py (+7/-3)
lib/lp/buildmaster/model/buildqueue.py (+1/-2)
lib/lp/buildmaster/model/packagebuildfarmjob.py (+0/-2)
lib/lp/translations/model/translationtemplatesbuildjob.py (+10/-0)
lib/lp/translations/tests/test_translationtemplatesbuildjob.py (+27/-34)
Changed in rosetta: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | Triaged → In Progress |
Changed in rosetta: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's the traceback:
Starting scanning cycle.
Did not find templates tarball in slave output.
Build produced no tarball.
Scanning failed with: 'NoneType' object has no attribute 'remove'
Traceback (most recent call last): .net/codelines/ lp-sourcedeps/ eggs/Twisted- 10.0.0- py2.5-linux- i686.egg/ twisted/ internet/ base.py" , line 1170, in run .net/codelines/ lp-sourcedeps/ eggs/Twisted- 10.0.0- py2.5-linux- i686.egg/ twisted/ internet/ base.py" , line 1179, in mainLoop runUntilCurrent () .net/codelines/ lp-sourcedeps/ eggs/Twisted- 10.0.0- py2.5-linux- i686.egg/ twisted/ internet/ base.py" , line 778, in runUntilCurrent func(*call. args, **call.kw) .net/codelines/ trunk/lib/ lp/buildmaster/ manager. py", line 250, in startService rred(self. scan) .net/codelines/ lp-sourcedeps/ eggs/Twisted- 10.0.0- py2.5-linux- i686.egg/ twisted/ internet/ defer.py" , line 117, in maybeDeferred .net/codelines/ trunk/lib/ canonical/ librarian/ db.py", line 38, in retry_transacti on_decorator .net/codelines/ trunk/lib/ canonical/ database/ sqlbase. py", line 736, in reset_store_ decorator .net/codelines/ trunk/lib/ canonical/ librarian/ db.py", line 74, in write_transacti on_decorator .net/codelines/ trunk/lib/ lp/buildmaster/ manager. py", line 343, in scan set.pollBuilder s(self. logger, transaction) .net/codelines/ trunk/lib/ lp/buildmaster/ model/builder. py", line 737, in pollBuilders scanActiveBuild ers(logger, txn) .net/codelines/ trunk/lib/ lp/buildmaster/ model/builder. py", line 760, in scanActiveBuilders builder. updateBuild( job) .net/codelines/ trunk/lib/ lp/buildmaster/ model/builder. py", line 464, in updateBuild current_ build_behavior. updateBuild( queueItem) .net/codelines/ trunk/lib/ lp/buildmaster/ model/buildfarm jobbehavior. py", line 115, in updateBuild queueItem, slave_status, logtail, logger) .net/codelines/ trunk/lib/ lp/translations /model/ translationtemp latesbuildbehav ior.py" , line 121, in updateBuild_WAITING item.destroySel f() .net/codelines/ trunk/lib/ lp/buildmaster/ model/buildqueu e.py", line 133, in destroySelf of(specific_ job).remove( specific_ job) AttributeError: 'NoneType' object has no attribute 'remove'
File "/srv/launchpad
self.mainLoop()
File "/srv/launchpad
self.
File "/srv/launchpad
call.
File "/srv/launchpad
d = defer.maybeDefe
--- <exception caught here> ---
File "/srv/launchpad
result = f(*args, **kw)
File "/srv/launchpad
return func(*args, **kwargs)
File "/srv/launchpad
return func(*args, **kwargs)
File "/srv/launchpad
ret = func(*args, **kwargs)
File "/srv/launchpad
builder_
File "/srv/launchpad
self.
File "/srv/launchpad
job.
File "/srv/launchpad
self.
File "/srv/launchpad
method(
File "/srv/launchpad
queue_
File "/srv/launchpad
Store.
exceptions.