MagicProxy broken when repo-snapshot-stamp is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Thomas Bechtold | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The CPC team wants to reenable the repo-snapshot-stamp feature in magic proxy to get similar package sets when building multiple images. But that is currently broken.
When building in launchpad with something like:
RUN: /usr/share/
the build fails with:
REDIRECT tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:80 ! owner UID match 1 redir ports 8080
add password for /cloudware/
Ign:1 http://
Ign:2 http://
Ign:3 http://
Ign:4 http://
Ign:1 http://
Ign:2 http://
Ign:3 http://
Ign:4 http://
Ign:1 http://
Ign:2 http://
Ign:3 http://
Ign:4 http://
Err:1 http://
Connection failed [IP: 10.189.129.95 80]
Err:2 http://
Connection failed [IP: 10.189.129.95 80]
Err:3 http://
Connection failed [IP: 10.189.129.95 80]
Err:4 http://
Connection failed [IP: 91.189.95.85 80]
Reading package lists...
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
P: Setting up cleanup function
[2021-09-24 07:23:31] lb_bootstrap
P: Setting up cleanup function
[2021-09-24 07:23:31] lb_bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2021-09-24 07:23:31] lb_bootstrap_copy
[2021-09-24 07:23:32] lb_bootstrap_
[2021-09-24 07:23:32] lb_bootstrap_
P: Begin bootstrapping system...
[2021-09-24 07:23:32] lb_testroot
P: If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy.
P: Running debootstrap (download-only)...
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file http://
P: Begin unmounting filesystems...
P: Saving caches...
================= Magic proxy log (start) =================
-------
Exception occurred during processing of request from ('10.10.10.2', 39554)
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.handle()
File "/usr/lib/
self.
File "/usr/lib/
method()
File "/usr/share/
self.
File "/usr/share/
mirror = get_uri(
File "/usr/share/
return "http://" + host + path
TypeError: can only concatenate str (not "NoneType") to str
See attached build log (from https:/
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 308 lines (+140/-51)2 files modifiedlive-build/auto/build (+17/-1)
magic-proxy (+123/-50)
- Ubuntu Core Development Team: Pending requested
-
Diff: 308 lines (+140/-51)2 files modifiedlive-build/auto/build (+17/-1)
magic-proxy (+123/-50)
- Dimitri John Ledkov: Approve (lgtm)
- Steve Langasek: Needs Information
-
Diff: 20 lines (+7/-1)1 file modifiedmagic-proxy (+7/-1)
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → Thomas Bechtold (toabctl) |
status: | New → In Progress |
Changed in livecd-rootfs (Ubuntu): | |
status: | In Progress → Fix Released |
The livecd-rootfs SRU for Bionic, Focal and Hirsute is currently blocked by another SRU in progress.