Merge ~powersj/cloud-init:fix-apt-keyserver into cloud-init:master
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Scott Moser on 2017-07-11 | ||||
| Approved revision: | 8628df67deb3652fa416097ef61e5ff490ef4a47 | ||||
| Merged at revision: | 067721672570cc83d54d2c2d5677eeb79bef85e2 | ||||
| Proposed branch: | ~powersj/cloud-init:fix-apt-keyserver | ||||
| Merge into: | cloud-init:master | ||||
| Diff against target: |
28 lines (+3/-3) 2 files modified
tests/cloud_tests/configs/modules/apt_configure_sources_keyserver.yaml (+1/-1) tests/cloud_tests/testcases/modules/apt_configure_sources_keyserver.py (+2/-2) |
||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Scott Moser | 2017-07-06 | Approve on 2017-07-11 | |
| Server Team CI bot | continuous-integration | Approve on 2017-07-06 | |
|
Review via email:
|
|||
Commit Message
test: fix incorrect keyid
The test is currently importing the incorrect keyid. It specifies
the curtin developers ppa, rather than the cloud-init ppa. As of
apt in Artful, rather than a warning, not having the correct key is causing an error resulting in a test failure.
LP: #1702717
Description of the Change
Tested with:
python3 -m tests.cloud_tests run -n xenial -n artful -n zesty -n yakkety -v -t modules/
| Scott Moser (smoser) wrote : | # |
So how did it work with non-artful ?
Also, lets change the short keyid to be a long keyid.
| Scott Moser (smoser) wrote : | # |
do you have an example of a fail ?
| Joshua Powers (powersj) wrote : | # |
| Joshua Powers (powersj) wrote : | # |
In previous versions this is a warning:
W: GPG error: http://
W: The repository 'http://
In artful as of last week sometime it is now an error:
W: GPG error: http://
E: The repository 'http://
| Scott Moser (smoser) wrote : | # |
It would appear this is the changelog entry:
fail InRelease on non-404 HTTP errorcodes
that came in 1.5~alpha1.
| Scott Moser (smoser) wrote : | # |
- 61726d6... by Joshua Powers on 2017-07-11
| Joshua Powers (powersj) wrote : | # |
Updated the keyid to use the fingerprint as requested.
Updated commit message to refect both the recent change in behavior by apt and the mistake of using the wrong key.
| Scott Moser (smoser) wrote : | # |
I'm going to change to use the long fingerprint and then pull this.


PASSED: Continuous integration, rev:8628df67deb 3652fa416097ef6 1e5ff490ef4a47 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 30/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: CentOS 6 & 7: Build & Test
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 30/rebuild
https:/