Merge ~smoser/curtin:fix/curtainer-try-harder-for-source into curtin:master
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | e33e302b3a92c8be8d32a0b2f5f558184c5a478f |
Merge reported by: | Chad Smith |
Merged at revision: | 66c3dc76f9ece9360be24d0d0b814b18f8c79c7e |
Proposed branch: | ~smoser/curtin:fix/curtainer-try-harder-for-source |
Merge into: | curtin:master |
Diff against target: |
89 lines (+44/-14) 1 file modified
tools/curtainer (+44/-14) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+337388@code.launchpad.net |
Commit message
tools/curtainer: Try harder to get source at binary version.
When we test curtin from the daily PPA, sometimes the source version
that is available is newer than the binary version available. That
causes mismatch of vmtest:code.
If 'apt-get source curtin/<version>' fails, then ask apt
what the url to the deb for 'curtin' at 'version' is.
Then replace _all.deb with .dsc and try dget on that url. This
should work because:
a.) curtin is a binary and a source package.
b.) source are generally published along side binaries.
c.) in the ppa case, the files are likely still available but only
the most current is published in the Sources for the archive.
If this proves to not work, then the next solution is to actually
provide a binary package with the files needed for vmtest.
Description of the change
see commit message
PASSED: Continuous integration, rev:ebe72b8c539 b37f937bd3a3379 0fc3adebb7ed2c /jenkins. ubuntu. com/server/ job/curtin- ci/833/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 833 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 833 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 833 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 833
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/833/ rebuild
https:/