Commit Graph

1054 Commits

Author SHA1 Message Date
Matt Clay
13496b9e11
ansible-test - Fix integration test code coverage (#86100) 2025-10-29 18:21:53 -07:00
Matt Clay
bb30a7fa1f
ansible-test - Update base/default containers (#86087) 2025-10-28 14:01:37 -07:00
Matt Clay
12acd5c18f
ansible-test - Update sanity requirements (#86083) 2025-10-28 09:33:10 -07:00
sivel / Matt Martz
e4b4787c02
Soft deprecate ansible.module_utils.six (#86048) 2025-10-21 16:20:55 -05:00
Matt Clay
83c79240ec
ansible-test - Update base/default/distro containers (#85985) 2025-10-13 16:39:17 -07:00
Matt Clay
7c2311d547
ansible-test - Upgrade coverage to 7.10.7 (#85981) 2025-10-13 14:30:14 -07:00
Matt Clay
de7dd5bbb2
ansible-test - Update pinned pip to 25.2 (#85982) 2025-10-13 21:00:17 +00:00
Matt Clay
9ee667030f
ansible-test - Update sanity test requirements (#85980) 2025-10-13 12:32:39 -07:00
Matt Clay
82b64d4b69
ansible-test - Update base/default containers (#85967) 2025-10-09 20:58:50 +00:00
Martin Krizek
686c3658ae
Deprecate ansible.module_utils.six (#85934)
* Deprecate `ansible.module_utils.six`

Fixes #85920
2025-10-02 13:17:03 -05:00
Matt Clay
967d654ef6
ansible-test - More container updates. (#85843) 2025-09-11 15:56:14 +00:00
Matt Clay
9966e01f81
ansible-test - Update containers (#85842) 2025-09-10 17:32:20 -07:00
Matt Clay
d2940880ed
ansible-test - Upgrade coverage to 7.10.6 (#85831) 2025-09-09 09:59:36 -07:00
Matt Clay
a25fd1021a
ansible-test - Fix traceback on missing tmp dir (#85814) 2025-09-05 18:15:43 +00:00
Felix Fontein
4209d714db
validate-modules and return fragments: fix bug in markup check, fix bug in missing doc fragment check, add tests (#85638)
* Prevent crashing on invalid structure.

* Also process return doc fragments.

* Fix handling of missing doc fragments.
2025-09-03 21:52:22 +00:00
Matt Clay
be9e57366b
ansible-test - Update Ansible Core CI auth (#85717)
Implement new authentication methods for accessing the Ansible Core CI service.
2025-08-29 15:22:09 -07:00
Matt Clay
e8a3be9de5
ansible-test - Update sanity test and coverage requirements (#85761)
* ansible-test - Update sanity test requirements

* ansible-test - Update coverage to 7.10.5
2025-08-28 17:50:05 +00:00
Martin Krizek
b3ef4f7671
sanity: warn on ansible.module_utils.six imports (#85651)
Co-authored-by: Matt Clay <matt@mystile.com>
2025-08-28 08:03:48 +02:00
Martin Krizek
0cc771dc3c
six cleanup (#85284)
Co-authored-by: Matt Clay <matt@mystile.com>
2025-08-12 12:19:49 +02:00
Matt Clay
dc5209a3fd
ansible-test - Replace TypeVar usage (#85603) 2025-07-30 19:04:47 -07:00
Matt Clay
f2612fbe3a
Drop Python 3.11 controller support (#85590) 2025-07-30 16:39:38 -07:00
Matt Clay
5fbce46dcf
ansible-test - Update pinned sanity test requirements (#85577) 2025-07-29 01:19:34 +00:00
Matt Clay
6b2b665ef7
Add support for Python 3.14 and drop Python 3.8 (#85576) 2025-07-28 16:16:14 -07:00
Matt Clay
9b266da14f
ansible-test - Update containers and remotes (#85562) 2025-07-26 01:43:40 +00:00
Matt Clay
58c9f48029
ansible-test - Replace FreeBSD 14.2 with 14.3 (#85561)
* ansible-test - Replace FreeBSD 14.2 with 14.3

* Fix CA bundle search priority
2025-07-25 18:09:37 -07:00
Matt Clay
2e71e5aeb9
ansible-test - Replace RHEL 9.5 with 9.6 (#85558) 2025-07-25 22:11:24 +00:00
Matt Clay
35830cb054
ansible-test - Fix coverage config (#85555) 2025-07-25 14:39:03 -07:00
Matt Clay
ee297bb7ca
ansible-test - Limit bootstrap package install retries (#85544) 2025-07-24 21:09:30 -07:00
Matt Clay
853752a3eb
ansible-test - Upgrade to coverage 7.10.0 (#85541) 2025-07-24 21:09:06 -07:00
Matt Clay
cdb7af094b
ansible-test - Use OS packages on FreeBSD 13.5 (#85530) 2025-07-23 21:42:45 +00:00
Jordan Borean
3882366585
Add AnsiballZ debugging support with debugpy (#85476)
* Add AnsiballZ debugging support with debugpy

Adds support for debugging AnsiballZ modules with debugpy which is used
by VSCode as its Python debugger DAP. Debugging can either be done
through a manual Debugpy listening server through a launch.json
configuration or through the new ansible-test --dev-debug-on-deman
argument.

* Fix up integration test

* Simplify config option and move mypy ignore

* Use new API if available and fix typo

* Guard the import of debugpy

* Fix sanity import issue

* Minor cosmetic adjustments

* Simplify debugger setup

* ansible-test - Refactor debugging interface

* Add ansible-test debug integration tests

* Fix ansible-test shell when in unsupported dir

---------

Co-authored-by: Matt Clay <matt@mystile.com>
2025-07-18 14:51:40 +10:00
Matt Clay
d19366331f
ansible-test - Remove obsolete network provisioning (#85433) 2025-07-03 16:25:33 -07:00
Matt Clay
a1d25cca00
ansible-test - Upgrade coverage to 7.9.1 (#85411) 2025-06-30 17:41:10 -07:00
Matt Clay
3511299e1e
Fix deprecated pylint plugin version parsing (#85402) 2025-06-30 14:18:49 -07:00
Martin Krizek
ef9d92b31d
Test both original and latest dnf versions (#85342)
Co-authored-by: Matt Clay <matt@mystile.com>
2025-06-19 08:19:32 +02:00
Matt Davis
46abcfcc82
feature-flag experimental module metadata (#85351)
* added ansible-test integration env/set directive for aliases
* applied to module-serialization-profiles test to enable feature flag

Co-authored-by: Matt Clay <matt@mystile.com>
2025-06-17 23:15:55 +00:00
Matt Clay
83fcaeaa8b
Spelling fixes (#85345)
A few grammar fixes too.
2025-06-17 05:26:36 +00:00
Matt Clay
093ac8df2d
ansible-test - Fix relative import resolution (#85328) 2025-06-14 16:11:03 +00:00
Matt Clay
2991883672
ansible-test - Fix ansible-test debug from remote shell (#85321) 2025-06-13 03:58:55 +00:00
Matt Clay
7ef13cb29e
ansible-test - Add remote debugging support (#85317) 2025-06-12 18:57:36 +00:00
Matt Clay
4b0a5c5c63
ansible-test - Relocate internal CLI args (#85308)
This improves consistency by locating them with other global options.
2025-06-12 03:24:50 +00:00
Matt Clay
76ad0b636f
ansible-test - Move metadata to environment (#85307) 2025-06-12 00:18:09 +00:00
Matt Clay
bdc6c8e16a
ansible-test - Code cleanup (#85297) 2025-06-11 01:30:30 +00:00
Matt Clay
45dd2c0647
AnsiballZ refactoring and remote debug support (#85289) 2025-06-10 14:11:19 -07:00
Martin Krizek
600c1e67b4
Exceptions clean up (#85176)
* replace usage of `IOError` as it is an alias to `OSError`
* replace usage of `socket.error` as it is an alias to `OSError`
* use subclasses of `OSError` rather than inspecting `errno`s
* utilize `exist_ok` parameter of `os.makedirs` rather than ignoring
  `FileExistsError`

Make the following changes to the exception handling this patch already
updates to be consistent with the new code:
* use `ex` as a name for exception being handled
* use `from ex` when re-raising exception for additional context
* use f-strings and `!r` for quoting
* pass exceptions to the `exception` parameter of `fail_json`
* use `display.error_as_warning` rather than passing stringified
  exception into `display.warning`

Co-authored-by: Matt Clay <matt@mystile.com>
2025-06-06 07:59:01 +02:00
Matt Clay
e2a5377b9a
ansible-test - Fix incorrect use of InferenceContext (#85230) 2025-05-29 23:20:39 +00:00
Matt Clay
53b0f1645b
ansible-test - Add RHEL 10.0 remote (#85189)
* ansible-test - Add RHEL 10.0 remote

* Update tests for RHEL 10
* Fix iptables test
* Rework rpm_key integration test
2025-05-21 10:21:27 -07:00
Matt Clay
e82be177cd
ansible-test - Improve deprecated checking type inference (#85159)
* ansible-test - Improve deprecated checking type inference

Also disabled the ``bad-super-call`` pylint rule due to false positives.

* Add type comment support

* Try without using register_transform
2025-05-20 11:23:06 -07:00
Matt Clay
feda0a5c6e
ansible-test - Fix option filtering (#85182) 2025-05-20 11:11:45 -07:00
Matt Clay
7ac74ab591
ansible-test - Update default containers (#85161) 2025-05-15 02:38:59 +00:00