<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tests/cloud_tests/testcases/modules, branch 20.1</title>
<subtitle> (mirror of https://github.com/marekm72/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/'/>
<updated>2020-01-10T14:56:03+00:00</updated>
<entry>
<title>ssh_auth_key_fingerprints_disable test: fix capitalization (#165)</title>
<updated>2020-01-10T14:56:03+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-01-10T14:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=3f6192b39894761e8ddecefa3736ea0abbc35b90'/>
<id>urn:sha1:3f6192b39894761e8ddecefa3736ea0abbc35b90</id>
<content type='text'>
Adapt the test to the new capitalization introduced in
8116493950e7c47af0ce66fc1bb5d799ce5e477a.</content>
</entry>
<entry>
<title>modules: drop cc_snap_config config module (#134)</title>
<updated>2019-12-20T20:34:30+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2019-12-20T20:34:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=c7dca877c1fa3dc8b63486bb88022ee23a31bebe'/>
<id>urn:sha1:c7dca877c1fa3dc8b63486bb88022ee23a31bebe</id>
<content type='text'>
cloud-init has moved to cc_snap module and a top-level
config key 'snap'. cc_snap_config was deprecated in
cloud-init version 18.2

Co-authored-by: Daniel Watkins &lt;daniel@daniel-watkins.co.uk&gt;
</content>
</entry>
<entry>
<title>cc_snappy: remove deprecated module (#127)</title>
<updated>2019-12-20T00:00:27+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2019-12-20T00:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=87f2cb0acc7e802f93fa71ff3432dfd6708717ca'/>
<id>urn:sha1:87f2cb0acc7e802f93fa71ff3432dfd6708717ca</id>
<content type='text'>
* cc_snappy: remove deprecated module
* cloud_tests: remove cc_snappy tests (and references)

This module was deprecated in favor of cc_snap in cloud-init v.18.2</content>
</entry>
<entry>
<title>cloud_tests: fix apt_pipelining test-cases</title>
<updated>2019-04-01T14:24:26+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2019-04-01T14:24:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=47c53002ea7a661c674c3e409357db7e8a00297a'/>
<id>urn:sha1:47c53002ea7a661c674c3e409357db7e8a00297a</id>
<content type='text'>
The apt_pipelining test-cases were broken but until cloud-init
changed it's default behavior to not disable, these silently passed
as both only ever checked if pipelinging was disabled.

First, the tests used the 'apt' namespace, which is not for
configuring pipelining, rather that requires 'apt_pipelining'
 as the namespace.

Second, the 'os' variant needs to check that cloud-init does not
write a configuration file; it was a copy-and-paste error from the
disable test-case.

This branch fixes the config and collection to validate both
scenarios.
</content>
</entry>
<entry>
<title>tests: fix apt_configure_primary to be more flexible</title>
<updated>2018-10-07T19:31:50+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2018-10-07T19:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=638f09e82260ea3256c387cd55408e0411f36c23'/>
<id>urn:sha1:638f09e82260ea3256c387cd55408e0411f36c23</id>
<content type='text'>
Commit d3e803ad316e6796e5d83e7e8f8f4f7224b92df9 added deb-src comments to
the cloud-init apt templates. This doubled the number of matching entries
seen in /etc/apt/sources.list in apt_configure_primary integration test.

This test was really asserting that GaTech urls were present in
/etc//apt/sources.list instead of archive.ubuntu.com. Fix the test to be a
bit more flexible in case cloud-init changes its bas apt template again.
</content>
</entry>
<entry>
<title>tests: allow skipping an entire cloud_test without running.</title>
<updated>2018-10-01T18:23:34+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-10-01T18:23:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=40768bad4c7eb966b2a8c1308cdae22e578b2413'/>
<id>urn:sha1:40768bad4c7eb966b2a8c1308cdae22e578b2413</id>
<content type='text'>
Individual skipTest or setUp SkipTest will still launch the instance.
This allows us to stop the running of the instance so we don't
waste cycles or boot systems that are known to fail.

Also replace remaining unittest usage in tests/cloud_tests/
with unittest2.
</content>
</entry>
<entry>
<title>tests: disable lxd tests on cosmic</title>
<updated>2018-09-28T20:47:28+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-09-28T20:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=c239eb82f1bfe1d0c4b79f2a733f04cfb3277fbf'/>
<id>urn:sha1:c239eb82f1bfe1d0c4b79f2a733f04cfb3277fbf</id>
<content type='text'>
Skip lxd tests on cosmic for two reasons:
a.) bug 1795036 - 'lxd init' fails on cosmic kernel.
b.) apt install lxd installs via snap which can be slow
    as that will download core snap and lxd.
</content>
</entry>
<entry>
<title>cii-tests: use unittest2.SkipTest in ntp_chrony due to new deps</title>
<updated>2018-09-27T21:02:28+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2018-09-27T21:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=fb5015fe3f5078149463838b7974523646f94eab'/>
<id>urn:sha1:fb5015fe3f5078149463838b7974523646f94eab</id>
<content type='text'>
Git commitish fc4b966ba928b30b1c586407e752e0b51b1031e8 changed integration
test dependencies from unittest to unittest2.  Use unittest2.SkipTest in
test_chrony to avoid causing tracebacks.
</content>
</entry>
<entry>
<title>lxd: adjust to snap installed lxd.</title>
<updated>2018-09-26T21:29:27+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-09-26T21:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=facb92c5b55f4d27ee971eaf49c580fbf92ac2c3'/>
<id>urn:sha1:facb92c5b55f4d27ee971eaf49c580fbf92ac2c3</id>
<content type='text'>
Relax expectation on path to lxc and lxd.  The deb path still does
install them in /usr/bin/ but that is overly pedantic.

Add a 'lxd waitready' (present since lxd 0.5) to wait until lxd
is ready before operating on it.
</content>
</entry>
<entry>
<title>tests: disable other snap test as well</title>
<updated>2018-08-23T18:13:25+00:00</updated>
<author>
<name>Joshua Powers</name>
<email>josh.powers@canonical.com</email>
</author>
<published>2018-08-23T18:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=dab59087155d3963849a36b3f63ee662047f708b'/>
<id>urn:sha1:dab59087155d3963849a36b3f63ee662047f708b</id>
<content type='text'>
The snap test requires access to a proxy and currently the integration
tests do not handle this scenario. I am disabling the test until I can
loop back around and fix this.
</content>
</entry>
</feed>
