OOPS trying to download livefs build logs (buildd images)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
While building buildd images in launchpad we've just started seeing a failure when trying to download build artifacts.
For a recent build like https:/
1. Find a livefs by name via: `livefs = launchpadlib.
2. Request a build `build = livefs.
3. Wait for the build to complete successfully
4. Get the build artifacts URLs with `urls = livefs.
5. For each artifact rewrite the file URLs from https:/
6. Make a request with redirections=0 and expect to catch httplib2.
This code takes advantage of the fact that the API endpoint (https:/
What we're seeing today is that step 6 fails to redirect and we're getting a 500 with an OOPS-id instead. Here's the oops for livefs build above: https:/
This is happening only for our public builds like buildd images.
Related branches
- Thiago F. Pappacena (community): Approve
-
Diff: 241 lines (+8/-105)5 files modifiedlib/lp/registry/browser/distribution.py (+2/-4)
lib/lp/registry/browser/product.py (+1/-2)
lib/lp/registry/browser/tests/test_distribution.py (+1/-31)
lib/lp/registry/browser/tests/test_product.py (+2/-37)
lib/lp/services/webapp/publisher.py (+2/-31)
- Launchpad code reviewers: Pending requested
-
Diff: 142 lines (+56/-6)4 files modifiedlib/lp/code/templates/gitref-pending-merges.pt (+1/-1)
lib/lp/services/webapp/publisher.py (+6/-1)
lib/lp/services/webapp/tests/test_publisher.py (+21/-2)
lib/lp/soyuz/tests/test_livefsbuild.py (+28/-2)
Changed in launchpad: | |
importance: | Undecided → Critical |
status: | New → Triaged |
tags: | added: api buildfarm |
information type: | Private Security → Public |
Changed in launchpad: | |
status: | Triaged → Fix Committed |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
This is affecting buildd image publication for all releases of Ubuntu