<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tests/integration_tests/conftest.py, branch circinus-public-unmaintained</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=circinus-public-unmaintained</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=circinus-public-unmaintained'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2022-02-03T21:37:14+00:00</updated>
<entry>
<title>Integration test changes (#1240)</title>
<updated>2022-02-03T21:37:14+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2022-02-03T21:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3f0918b57c6042de99da25bc6a9d120a074b8a8e'/>
<id>urn:sha1:3f0918b57c6042de99da25bc6a9d120a074b8a8e</id>
<content type='text'>
* Wrap the log fetching code in a try/except in case file is missing
* Stop checking NoCloud seed dir when testing datasource detection</content>
</entry>
<entry>
<title>Integration testing docs and refactor (#1231)</title>
<updated>2022-02-03T03:14:52+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2022-02-03T03:14:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=b64b7d8ceb0e7bdb7cc9839c238798622c5b9682'/>
<id>urn:sha1:b64b7d8ceb0e7bdb7cc9839c238798622c5b9682</id>
<content type='text'>
* Include CI and Fixtures sections in integration test docs
* Incorporate additional variable annotations
* Remove unnecessary IntegrationInstance subclasses
* Move setup_image teardown into its fixture</content>
</entry>
<entry>
<title>Remove 3.5 and xenial support (SC-711) (#1167)</title>
<updated>2022-01-10T22:56:29+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2022-01-10T22:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=dc1aabfca851e520693c05322f724bd102c76364'/>
<id>urn:sha1:dc1aabfca851e520693c05322f724bd102c76364</id>
<content type='text'>
Includes:
 - Update tox.ini and .travis.yml accordingly
 - Cleanup tox.ini with new tox syntax and cloud-init dependencies
 - Update documentation accordingly
 - Replace/remove xenial references where additional testing isn't required
 - Remove xenial checks in integration tests
 - Replace yield_fixture with fixture in pytest tests

Sections of code commented with lines like "Remove when Xenial is no
longer supported" still exist as they're require additional testing.</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_tests: Ensure log directory exists before symlinking to it (#1110)</title>
<updated>2021-11-18T20:45:21+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-11-18T20:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=36adb6dab494f23b30c68cf6af04c10ddb693c43'/>
<id>urn:sha1:36adb6dab494f23b30c68cf6af04c10ddb693c43</id>
<content type='text'>
Also simplify a path and fix a spelling error while in the file</content>
</entry>
<entry>
<title>Add convenience symlink to integration test output (#1105)</title>
<updated>2021-11-11T19:04:21+00:00</updated>
<author>
<name>Brett Holman</name>
<email>bholman.devel@gmail.com</email>
</author>
<published>2021-11-11T19:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=22150a20d94cddf2a41073e71a7f0e44bfb4bc51'/>
<id>urn:sha1:22150a20d94cddf2a41073e71a7f0e44bfb4bc51</id>
<content type='text'>
Integration test runs get unique log directories at
/tmp/cloud_init_test_logs/$DATE_TIME. Make
/tmp/cloud_init_test_logs/last always point to the most recent
integration test directory.</content>
</entry>
<entry>
<title>Add integration test for lp-1920939 (#891)</title>
<updated>2021-05-14T19:38:56+00:00</updated>
<author>
<name>James Falcon</name>
<email>TheRealFalcon@users.noreply.github.com</email>
</author>
<published>2021-05-14T19:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=4c3c36297ad199ee9325a48f7e56a9c099ec183f'/>
<id>urn:sha1:4c3c36297ad199ee9325a48f7e56a9c099ec183f</id>
<content type='text'>
In #856 we added the ability to use partprobe instead of blockdev for
reading partitions. Test that partprobe succeeds where blockdev fails.

Also add a mechanism to our integration tests to allow a callable to be
called between `lxc init` and `lxc start`</content>
</entry>
<entry>
<title>integration_tests: bump pycloudlib dependency (#846)</title>
<updated>2021-03-18T20:29:15+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2021-03-18T20:29:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=dae45c3b0d285cbc7b8b22128b5ed295e2c374f8'/>
<id>urn:sha1:dae45c3b0d285cbc7b8b22128b5ed295e2c374f8</id>
<content type='text'>
The latest pycloudlib now launches official Ubuntu cloud images for
xenial, meaning that `lxc exec` no longer works against them.  This
commit includes handling for tests which are affected by this change;
further details and reasoning in the included comment.</content>
</entry>
<entry>
<title>integration_tests: add OpenStack as a platform (#804)</title>
<updated>2021-03-03T20:40:07+00:00</updated>
<author>
<name>James Falcon</name>
<email>TheRealFalcon@users.noreply.github.com</email>
</author>
<published>2021-03-03T20:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3dd3de7c381e870c6bc9b9b7a84d452b57594686'/>
<id>urn:sha1:3dd3de7c381e870c6bc9b9b7a84d452b57594686</id>
<content type='text'>
</content>
</entry>
<entry>
<title>integration_tests: introduce lxd_use_exec mark (#802)</title>
<updated>2021-02-22T17:03:53+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2021-02-22T17:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=38aee6eebb160d46287c63a979bb897b15bb2f96'/>
<id>urn:sha1:38aee6eebb160d46287c63a979bb897b15bb2f96</id>
<content type='text'>
pycloudlib has modified the way LXD executes tests
(https://github.com/canonical/pycloudlib/pull/114): it will always use
SSH to access them by default, instead of using `lxc exec`.  This
behaviour is transparent for them majority of cloud-init's integration
tests, but some currently depend on using `lxc exec` to access instances
with (intentionally) broken networking: obviously these are not
accessible via SSH.

pycloudlib retains support for switching an instance to use `lxc exec`.
This commit introduces the `lxd_use_exec` mark, which tests can use to
indicate to the integration testing framework that they should be so
switched, and applies it to all applicable tests.</content>
</entry>
</feed>
