Matt Clay
7b50571588
ansible-test - Remove deprecated features ( #80558 )
2 years ago
Matt Clay
676b731e6f
ansible-test - Replace pytest-forked ( #80525 )
...
- Unit tests now report warnings generated during test runs.
- Python 3.12 warnings about `os.fork` usage with threads (due to `pytest-xdist`) are suppressed.
- Added integration tests to verify forked test behavior.
2 years ago
Matt Clay
0371ea08d6
ansible-test - Add support for argcomplete 3 ( #80482 )
2 years ago
Matt Clay
5d64024f1a
ansible-test - Fix packaging change classification ( #80360 )
2 years ago
Matt Clay
6a6824f570
ansible-test - Update CloudStack test container ( #80278 )
2 years ago
Matt Clay
bad8843124
ansible-test - Update git diff handling ( #80202 )
...
This change allows ansible-test to work with newer versions of git on AZP.
2 years ago
Matt Clay
31658031ed
ansible-test - Remove pointless comparison ( #80168 )
2 years ago
Matt Clay
367d45facd
ansible-test - Fix error with missing pylint home ( #80155 )
2 years ago
Matt Clay
27287b40c0
ansible-test - Fix pylint error with old home dir ( #80151 )
2 years ago
Matt Clay
f47bc03599
Relocate the AZP entry point scripts ( #80114 )
...
Scripts previously under `test/utils/shippable/` are now under `.azure-pipelines/commands/` instead.
2 years ago
Matt Clay
6bfe6b899a
ansible-test - Fix vendoring support ( #80074 )
...
- Support loading of vendored Python packages.
- Exclude vendored Python packages from payloads.
2 years ago
Matt Clay
bca55d945b
ansible-test - Adjust vcenter test plugin behavior ( #80063 )
...
The previous change to the default mode of operation for the plugin is now limited to collections.
This enables easier testing of the plugin in core, so the previously removed tests have been restored.
2 years ago
Matt Clay
5e3db6e441
ansible-test - Show Python version before install ( #80022 )
...
Always indicate the Python version being used before installing requirements.
2 years ago
Matt Clay
e6cffce0eb
ansible-test - Allow target prefixes to use `_` ( #80021 )
...
Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character.
2 years ago
Matt Clay
67d49734f7
ansible-test - Support Podman 4.4.0+
2 years ago
Matt Clay
715ab99462
ansible-test - Improve code formatting ( #79983 )
...
* ansible-test - Add blank lines after docstrings
* ansible-test - Preserve formatting of arg pairs
* ansible-test - Remove unused string
* ansible-test - Remove pointless dict() usage
* ansible-test - Clean up initial func arg indenting
* ansible-test - Clean up constructor arg indenting
* ansible-test - Clean up func arg wrapping
* ansible-test - Clean up comma and paren placement
2 years ago
Matt Clay
58d84933fc
ansible-test - Clean up indentation and spaces ( #79980 )
2 years ago
Felix Fontein
0793833847
ansible-test - Fix collection delegation ( #79947 )
2 years ago
Matt Clay
c8c1402ff6
ansible-test - Fix file permissions for delegation ( #79932 )
...
* ansible-test - Fix file permissions for delegation
* Set more restrictive permissions for SSH key
* Check all execute bits, not just owner
* Add a breaking_changes changelog entry
2 years ago
Matt Clay
d48d1c23df
ansible-test - Specify config path in plugin error ( #79881 )
2 years ago
Matt Clay
52d3d39ffc
ansible-test - Deprecate the foreman test plugin ( #79821 )
2 years ago
Matt Clay
7e53ec3c01
ansible-test - Update the NIOS test container ( #79820 )
2 years ago
Matt Clay
27cd5e77d8
Update mypy and its dependencies. ( #79812 )
...
* Update mypy and its dependencies.
* Fix requirements.
* Remove unnecessary matching constraints.
2 years ago
Matt Clay
7329ec6936
ansible-test - Update CloudStack plugin container ( #79813 )
2 years ago
Felix Fontein
5fb8bc3ddb
Bump acme test container. ( #79783 )
2 years ago
Matt Clay
c9f20aedc0
ansible-test - Fix various type hinting issues. ( #79798 )
...
* ansible-test - Add missing type hints.
* ansible-test - Remove redundant type hints.
* ansible-test - Fix return type annotations.
* ansible-test - Add assert, casts to assist mypy.
* ansible-test - Fix incorrect type hints.
* ansible-test - Remove no-op code.
* ansible-test - Fix incorrect types.
* ansible-test - Fix method signature mismatch.
2 years ago
Matt Clay
5f58015527
ansible-test - Remove obsolete DirectoryTarget.
...
This code has been unused since at least the 2.9 release.
2 years ago
Matt Clay
29b20f68e6
ansible-test - Deprecate the govcsim container.
...
Also remove the integration tests for the `vcenter` test plugin, since the tests relied on using the simulator.
2 years ago
Felix Fontein
1852f9fab4
Support test and filter plugins in ansible-doc sanity test ( #77737 )
...
* Support test and filter plugins in ansible-doc sanity test.
* Move integration target non-filter file check_pylint.py from filter/ to plugin_utils/.
2 years ago
Matt Clay
04fc98c794
ansible-test - Improve container startup handling.
...
Also improve the ansible-test-container integration test:
- Add coverage for the no-probe code path.
- Add work-arounds for centos6 containers (to support backporting).
- Avoid systemd debug when the container doesn't use cgroup.
2 years ago
Matt Clay
75b60b17ee
ansible-test - Support RSA SHA-1 for SSH clients.
2 years ago
Matt Clay
da3b1d3f50
ansible-test - Fix `--prime-containers` and `--explain` ( #79581 )
...
* Remove unused code.
* Fix explain errors.
* Fix `--prime-containers` with docker on cgroup v2.
2 years ago
Matt Clay
dcc08eec35
ansible-test - Fix target PyPI proxy config.
2 years ago
Martin Krizek
0a12d8a5bc
ansible-test - fix warning to include image name ( #79560 )
2 years ago
Matt Clay
80d2f8da02
ansible-test - Fix container detection. ( #79530 )
2 years ago
Matt Clay
f9715f436c
ansible-test - Avoid direct use of `errno`.
...
Error handling on Python 3.x no longer requires the use of `errno` to identify specific errors.
2 years ago
Matt Clay
cda16cc5e9
ansible-test - Improve container management. ( #78550 )
...
See changelogs/fragments/ansible-test-container-management.yml for details.
2 years ago
Matt Clay
38fe34244c
ansible-test - Fix completion error in Python 3.11.
2 years ago
Matt Clay
938c0fa944
ansible-test - Fix and update documentation links.
2 years ago
Matt Clay
20c1252212
ansible-test - Update coverage to version 6.5.0.
...
ci_complete
ci_coverage
2 years ago
Matt Clay
bc274f57f7
ansible-test - Improve pylint command consistency. ( #78896 )
...
* ansible-test - Improve pylint command consistency.
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2 years ago
Matt Clay
d3d7785472
ansible-test - Fix integration test target filter. ( #78862 )
...
- Allow disabled, unsupported, unstable and destructive integration test targets to be selected using their respective prefixes.
- Allow unstable tests to run when targeted changes are made and the ``--allow-unstable-changed`` option is specified (resolves https://github.com/ansible/ansible/issues/74213 ).
2 years ago
Matt Martz
76b746655a
Add `use_rsa_sha2_algorithms` option for paramiko ( #78789 )
...
Fixes #76737
Fixes #77673
Co-authored-by: Matt Clay <matt@mystile.com>
2 years ago
Matt Clay
79f67ed561
ansible-test - Fix container error handling. ( #78739 )
2 years ago
Matt Clay
b3854161a0
ansible-test - Update coverage to version 6.4.4. ( #78728 )
2 years ago
Matt Clay
c56b35598f
ansible-test - Upgrade pylint. ( #78727 )
...
This version of pylint now supports Python 3.11.
2 years ago
Matt Clay
4187707f03
ansible-test - Use --tmpfs to run containers. ( #78605 )
2 years ago
Matt Clay
ece85abbc4
ansible-test - Verify executables are executable. ( #78606 )
2 years ago
Matt Clay
69ceb31600
ansible-test - Update sanity test requirements. ( #78528 )
2 years ago
Matt Clay
99016653a2
ansible-test - Fix self-test change handling. ( #78521 )
2 years ago