<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tests/integration_tests/modules/test_apt.py, branch rolling</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2022-02-11T14:34:43+00:00</updated>
<entry>
<title>test_apt_security: azure platform has specific security URL overrides (#1263)</title>
<updated>2022-02-11T14:34:43+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2022-02-11T14:34:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=6dc67d732a92536dd42947af60cf4bfb25411489'/>
<id>urn:sha1:6dc67d732a92536dd42947af60cf4bfb25411489</id>
<content type='text'>
Delivered in /etc/cloud/cloud.cfg.d/90-azure.cfg</content>
</entry>
<entry>
<title>Adopt Black and isort (SC-700) (#1157)</title>
<updated>2021-12-16T02:16:38+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-12-16T02:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf'/>
<id>urn:sha1:bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf</id>
<content type='text'>
Applied Black and isort, fixed any linting issues, updated tox.ini
and CI.
</content>
</entry>
<entry>
<title>integration_test: Speed up CI run time (#1111)</title>
<updated>2021-11-17T00:04:57+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-11-17T00:04:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8c52bb3fc530742fce50f7f1061a24f3c453ef94'/>
<id>urn:sha1:8c52bb3fc530742fce50f7f1061a24f3c453ef94</id>
<content type='text'>
Move more tests into test_combined.py and remove the CI mark from module
tests that aren't updated often or don't represent core functionality.</content>
</entry>
<entry>
<title>Some miscellaneous integration test fixes (SC-606) (#1103)</title>
<updated>2021-11-15T22:20:10+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-11-15T22:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=f0af9f78796ad73bfc2f8016b9bf744da2f12761'/>
<id>urn:sha1:f0af9f78796ad73bfc2f8016b9bf744da2f12761</id>
<content type='text'>
- Added to list of expected warnings on Oracle when opc user has
  no ssh key
- Added retries to tests that read from syslog as that can sometimes
  take time to reflect in the log
- Updated test_apt.py to remove proxy info into its own test as that
  can cause failures in updating, which will immediately traceback
  out of the module and prevent us from running further class tests
- Updated test_apt.py to use a more updated ppa in the test_keyserver
- Added basic rsyslog test to test_combined.py
- Added basic puppet test as test_puppet.py</content>
</entry>
<entry>
<title>Remove (deprecated) apt-key (#1068)</title>
<updated>2021-10-29T19:33:33+00:00</updated>
<author>
<name>Brett Holman</name>
<email>brett.holman@canonical.com</email>
</author>
<published>2021-10-29T19:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=28581988da4b37e3d2423075c64dc1f3bc5da5cc'/>
<id>urn:sha1:28581988da4b37e3d2423075c64dc1f3bc5da5cc</id>
<content type='text'>
Also, add the "signed by" option to source definitions. This enables
users to limit the scope of trust for individual keys.

LP: #1836336</content>
</entry>
<entry>
<title>Fix apt default integration test (#845)</title>
<updated>2021-03-19T13:35:16+00:00</updated>
<author>
<name>James Falcon</name>
<email>TheRealFalcon@users.noreply.github.com</email>
</author>
<published>2021-03-19T13:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c6726c2bbe82b738bd0a7fb308496a497c797d5f'/>
<id>urn:sha1:c6726c2bbe82b738bd0a7fb308496a497c797d5f</id>
<content type='text'>
The apt default test wasn't ported over from cloud-tests correctly.
uri should be specified in the test, but it was not, so the test
failed on openstack (and likely other platforms) because without
a specified uri, the default uri will vary by platform. I separated
this uri test out into a separate test function.

Also add openstack specific test for apt configuration with no uri.
Other platform-specific tests should be added here over time.</content>
</entry>
<entry>
<title>Fix the TestApt tests using apt-key on Xenial and Hirsute (#823)</title>
<updated>2021-03-03T13:44:36+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2021-03-03T13:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=62f7a8b17f0528869662e987aa59a5c248c18e02'/>
<id>urn:sha1:62f7a8b17f0528869662e987aa59a5c248c18e02</id>
<content type='text'>
* Xenial issue

The `apt-key finger` format changed since Xenial. Sample Xenial output:

pub   4096R/991BC93C 2018-09-17
      Key fingerprint = F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B

Sample Focal output:

pub   rsa4096 2016-04-12 [SC]
      EB4C 1BFD 4F04 2F6D DDCC  EC91 7721 F63B D38B 4796

What didn't change is the format of the key fingerprint, which should be
enough to ensure that the right key is in place across all the supported
releases.

* Hirsute issue

TestApt::test_ppa_source also fails on Hirsute because of a difference
in how the PPA keys are added. On Focla this command:

  add-apt-repository ppa:simplestreams-dev/trunk

install /etc/apt/trusted.gpg.d/simplestreams-dev_ubuntu_trunk.gpg, while
on Hirsute the file is names simplestreams-dev-ubuntu-trunk.gpg. The
filename is part of the `apt-key finger` output, and this the test
fails. Only checking for the presence of the key fingerprint in apt-key
also covers this case.

LP: #1916629</content>
</entry>
<entry>
<title>Port apt cloud_tests to integration tests (#808)</title>
<updated>2021-02-17T02:37:39+00:00</updated>
<author>
<name>James Falcon</name>
<email>TheRealFalcon@users.noreply.github.com</email>
</author>
<published>2021-02-17T02:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7f1cefe90ba4253c9d67b75a4f82c9f30d322c48'/>
<id>urn:sha1:7f1cefe90ba4253c9d67b75a4f82c9f30d322c48</id>
<content type='text'>
</content>
</entry>
</feed>
