Remove Popen from buildstatus_OK
Bug #506256 reported by
Michael Nelson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Currently Popen is used to upload source packages and essentially means that the builder infrastructure can't scale.
A side-effect is that there are also flush_database_
We should also be able to remove "# Quick and dirty hack to carry on on process-upload failures" which puts uploads into the failed-to-move folder when Popen returns and the folder hasn't moved.
Related branches
lp://staging/~jelmer/launchpad/simplify-uploadprocess
Rejected
for merging
into
lp://staging/launchpad
- Canonical Launchpad Engineering: Pending requested
-
Diff: 1056 lines (+192/-267)13 files modifieddatabase/schema/security.cfg (+5/-2)
lib/lp/archiveuploader/tests/__init__.py (+9/-3)
lib/lp/archiveuploader/tests/test_buildduploads.py (+2/-3)
lib/lp/archiveuploader/tests/test_ppauploadprocessor.py (+2/-5)
lib/lp/archiveuploader/tests/test_recipeuploads.py (+2/-3)
lib/lp/archiveuploader/tests/test_securityuploads.py (+3/-7)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+31/-38)
lib/lp/archiveuploader/uploadprocessor.py (+39/-23)
lib/lp/buildmaster/interfaces/buildbase.py (+6/-5)
lib/lp/buildmaster/model/buildbase.py (+50/-103)
lib/lp/buildmaster/tests/test_buildbase.py (+31/-53)
lib/lp/soyuz/doc/buildd-slavescanner.txt (+4/-20)
lib/lp/soyuz/scripts/soyuz_process_upload.py (+8/-2)
lp://staging/~jelmer/launchpad/506256-remove-popen
- Graham Binns (community): Approve (release-critical)
- Brad Crittenden (community): Approve (code)
- Julian Edwards (community): Approve
-
Diff: 1176 lines (+222/-405)17 files modifiedlib/canonical/launchpad/webapp/tales.py (+1/-0)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+53/-24)
lib/lp/archiveuploader/uploadprocessor.py (+25/-9)
lib/lp/buildmaster/enums.py (+7/-3)
lib/lp/buildmaster/interfaces/buildfarmjob.py (+4/-0)
lib/lp/buildmaster/interfaces/packagebuild.py (+2/-20)
lib/lp/buildmaster/model/buildfarmjob.py (+10/-0)
lib/lp/buildmaster/model/packagebuild.py (+35/-153)
lib/lp/buildmaster/tests/test_buildfarmjob.py (+15/-0)
lib/lp/buildmaster/tests/test_packagebuild.py (+29/-67)
lib/lp/code/browser/sourcepackagerecipebuild.py (+1/-0)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+6/-6)
lib/lp/registry/model/sourcepackage.py (+6/-2)
lib/lp/soyuz/browser/archive.py (+1/-0)
lib/lp/soyuz/doc/buildd-slavescanner.txt (+12/-116)
lib/lp/soyuz/model/archive.py (+3/-2)
lib/lp/soyuz/model/binarypackagebuild.py (+12/-3)
lp://staging/~jelmer/launchpad/506256-remove-popen-2
- Michael Nelson (community): Approve (code)
-
Diff: 1585 lines (+374/-273)27 files modifieddatabase/schema/security.cfg (+2/-0)
lib/lp/archiveuploader/dscfile.py (+0/-29)
lib/lp/archiveuploader/nascentupload.py (+31/-16)
lib/lp/archiveuploader/nascentuploadfile.py (+59/-35)
lib/lp/archiveuploader/tests/__init__.py (+5/-7)
lib/lp/archiveuploader/tests/nascentupload.txt (+4/-5)
lib/lp/archiveuploader/tests/test_buildduploads.py (+7/-8)
lib/lp/archiveuploader/tests/test_nascentuploadfile.py (+61/-0)
lib/lp/archiveuploader/tests/test_ppauploadprocessor.py (+11/-12)
lib/lp/archiveuploader/tests/test_recipeuploads.py (+8/-12)
lib/lp/archiveuploader/tests/test_uploadprocessor.py (+99/-30)
lib/lp/archiveuploader/tests/uploadpolicy.txt (+1/-8)
lib/lp/archiveuploader/uploadpolicy.py (+12/-14)
lib/lp/archiveuploader/uploadprocessor.py (+16/-19)
lib/lp/buildmaster/interfaces/packagebuild.py (+8/-4)
lib/lp/buildmaster/model/packagebuild.py (+11/-2)
lib/lp/buildmaster/tests/test_packagebuild.py (+1/-1)
lib/lp/code/configure.zcml (+1/-5)
lib/lp/code/model/sourcepackagerecipebuild.py (+4/-29)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+6/-0)
lib/lp/soyuz/doc/build-failedtoupload-workflow.txt (+2/-3)
lib/lp/soyuz/doc/buildd-slavescanner.txt (+0/-3)
lib/lp/soyuz/doc/distroseriesqueue-translations.txt (+3/-5)
lib/lp/soyuz/doc/soyuz-set-of-uploads.txt (+3/-20)
lib/lp/soyuz/model/binarypackagebuild.py (+4/-0)
lib/lp/soyuz/scripts/soyuz_process_upload.py (+6/-6)
lib/lp/soyuz/tests/test_binarypackagebuild.py (+9/-0)
lp://staging/~mbp/launchpad/778437-sprb-spam
- Benji York (community): Approve (code)
-
Diff: 160 lines (+64/-41)3 files modifiedlib/lp/archiveuploader/tests/test_uploadprocessor.py (+5/-5)
lib/lp/code/model/sourcepackagerecipebuild.py (+4/-12)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+55/-24)
description: | updated |
Changed in soyuz: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r11566 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 11566>.