branch scanner rlimit failures cause the next branch to be incorrectly scanned and fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Aaron Bentley |
Bug Description
r2675 of https:/
< wgrant> 2011-05-21 20:24:08 INFO Updating branch scanner status: 2675 revs
< wgrant> Fatal Python error: deletion of interned StaticTuple failed
< wgrant> Aborted
< wgrant> Looks like bzrlib exploded.
< wgrant> Oh, no, it's actually a MemoryError.
< wgrant> exarkun: A bug would be good. What happened here is that a kernel branch caused the scanner to hit its rlimit, but scan_branches.py didn't notice, so it continued trying to execute more jobs, and yours was next.
I guess divmod.org/trunk will probably be fixed by the next commit, but it would be good if launchpad handled this case better on its own.
OOPS-1965SMS9
Related branches
- Benji York (community): Approve (code)
-
Diff: 720 lines (+267/-62)11 files modifiedcronscripts/scan_branches.py (+7/-5)
lib/canonical/launchpad/webapp/errorlog.py (+25/-2)
lib/lp/code/configure.zcml (+1/-0)
lib/lp/code/interfaces/branchjob.py (+3/-0)
lib/lp/code/model/branchjob.py (+17/-2)
lib/lp/code/model/branchmergeproposaljob.py (+6/-4)
lib/lp/services/job/interfaces/job.py (+3/-0)
lib/lp/services/job/runner.py (+44/-16)
lib/lp/services/job/tests/test_runner.py (+134/-31)
lib/lp/services/log/uniquefileallocator.py (+9/-0)
lib/lp/services/twistedsupport/__init__.py (+18/-2)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
tags: | added: oops |
summary: |
- branch scanner fails with MemoryError leaving branch page in - intermediate state + branch scanner rlimit failures cause the next branch to be incorrectly + scanned and fail |
description: | updated |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
this is fallout from a change we made to stop things swapping and taking down the machine; the fallout is a regression because previously only the problematic branches got stomped on.