Merge ~sergiodj/ubuntu/+source/ubuntu-fan:fix-https-proxy-focal into ubuntu/+source/ubuntu-fan:ubuntu/focal-devel
Status: | Merged |
---|---|
Merged at revision: | 46dfb7ee22d6172acfaedd213338b62cc3a8fa3a |
Proposed branch: | ~sergiodj/ubuntu/+source/ubuntu-fan:fix-https-proxy-focal |
Merge into: | ubuntu/+source/ubuntu-fan:ubuntu/focal-devel |
Diff against target: |
53 lines (+16/-5) 2 files modified
debian/changelog (+7/-0) debian/tests/docker (+9/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Whitcroft (community) | Approve | ||
Lucas Kanashiro (community) | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+419148@code.launchpad.net |
Description of the change
This MP fixes ubuntu-fan's "docker" dep8 test and makes it properly set the $https_proxy environment variable when running on autopkgtest.u.c.
This is the MP for Focal.
This problem came to our attention when the docker.io upload got blocked on Focal due to ubuntu-fan's failure to "docker pull" the Ubuntu image while running the aforementioned test. The problem is only reproducible when we run the test in the infrastructure, so it took a long time to debug. The interesting part is that this code has been like this forever, and although we can see some random failures in the past, for the most part it worked fine. I believe there was a recent change on docker.io that uncover this issue once and for all, and now we should fix it.
You can find a PPA with the proposed changes here:
https:/
You can take a look at the autopkgtest results attached to the PPA (ran against -proposed in order to use the docker.io that's blocked):
https:/
Thanks for working on this Sergio! Since all tests are passing the behavior seems OK in the autopkgtest infrastructure.
The only thing I think we might want to change here is the version string. Instead of using 0.12.14~20.04.1 I'd propose version 0.12.13ubuntu0.1. I understand you tried to avoid 'ubuntu' in the version string because this is a Ubuntu only package, but according to this security team wiki page [1], a native package should be appended by 'ubuntu0.1' in case we do not have the same version in more than one release (which is the case here). Usually, when I see "~xx.yy.z", where xx.yy is the Ubuntu release, this is a backport of a package in a newer series. WDYT?
[1] https:/ /wiki.ubuntu. com/SecurityTea m/UpdatePrepara tion