Matt Martz
6fead15334
Pylint deprecated comment checker ( #81071 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Sloane Hertel
ecbbd7e5d1
Remove Python 3.5 support ( #80972 )
...
* Remove Python 3.5 support
* changelog
* add requested changes
* Update changelogs/fragments/remove-python3.5.yml
Co-authored-by: Matt Clay <matt@mystile.com>
* remove Python3 < 3.5 error handling
* remove Python3 < 3.5 error handling in TE too
---------
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Matt Martz
92d5ffda82
Update galaxy_ng container for tests ( #80721 )
1 year ago
Matt Clay
3a1d58bc58
ansible-test - Use raise from to handle exceptions ( #80905 )
2 years ago
Felix Fontein
a5bb4c7dee
ansible-test - local change detection without --fork-point ( #79734 )
2 years ago
Matt Clay
b16041f1a9
ansible-test - Fix traceback when mixing sources ( #80801 )
...
* ansible-test - Fix traceback when mixing sources
* ansible-test - Refactor layout error handling
2 years ago
Matt Clay
aacab0633a
ansible-test - Fix handling of long timeouts ( #80769 )
2 years ago
Matt Clay
4c6aa70662
ansible-test - Fix timeout handling ( #80764 )
2 years ago
Matt Clay
fd341265d0
ansible-test - Avoid use of deprecated utcnow ( #80750 )
...
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
2 years ago
Matt Clay
790e0b0983
ansible-test - Update the NIOS test container ( #80739 )
2 years ago
Matt Clay
cdeb607b1d
ansible-test - Always use unique container names ( #80724 )
2 years ago
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