Matt Martz
5030a530d6
Prevent a few other filters from being treated as constants
1 year ago
Herman van Rink
d6a8df3218
csvfile - add a keycol parameter to specify in which column to search. ( #82242 )
1 year ago
Martin Krizek
c35e0e8fd8
Re-enable "group removal" integration test for dnf5 ( #82250 )
...
Fixed in https://github.com/rpm-software-management/dnf5/pull/1013
1 year ago
Abhijeet Kasurde
fbdb666411
ansible-test: Added Fedora 39 ( #82218 )
...
* Fedora 39 remote
* Fedora 39 container
Fixes : #82018
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Abhijeet Kasurde
1a759659fe
Enable vendored copy of distutils in entry_point test ( #82232 )
...
* Enable use of vendored copy of distutils by removing
the environment variable SETUPTOOLS_USE_DISTUTILS
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Brian Coca
8b102dca4a
wait_for, fallback to read for non mmapable files ( #82064 )
...
* also handle oserror, added debug jic
1 year ago
Brian Coca
f6d7dd0840
displaly. log, handle when caplevel is already taken care of ( #82227 )
...
reneables ansible logging
1 year ago
Abhijeet Kasurde
f8cdec6324
ansible-test: Downgrade containerd for Fedora 39 ( #82231 )
...
* containerd 1.6.23 on Fedora 39 causes issue. Downgrading
to containered to 1.6.19-2 works.
* See: https://bugzilla.redhat.com/show_bug.cgi?id=2237396
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Abhijeet Kasurde
a45dc10b8f
ansible-test: Skip modularity test for Fedora 39 and up ( #82230 )
...
* Modularity is deprecated in Fedora 39 and onwards,
Skip modularity tests
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Brian Coca
6e448edc63
no_log avoid masking booleans ( #82217 )
...
* no_log avoid masking booleans
* clog
* fix issues
1 year ago
Matt Martz
f42984eeb3
Fix ManifestControl dataclass to work with future annotations ( #82215 )
...
* Fix ManifestControl dataclass to work with future annotations
* Add tests
1 year ago
Brian Coca
3d9e5c8b9d
fix pc misuse ( #82157 )
...
use the more up to date 'task' as play_context only has the 'initial' values.
1 year ago
Brian Coca
8825e60add
ansible-pull: expand destinantion directoy to avoid purgin in / ( #82030 )
...
* expand destinantion directoy to avoid purgin in /
bad things could happen and help alone is not enough
1 year ago
Martin Krizek
0bab08ee33
ansible-test - Add RHEL 9.3 support ( #82178 )
...
Fixes #82020
1 year ago
Brian Coca
4a84a9b3db
copy keep suffix on temp file for validation ( #82158 )
...
Also updated test to require suffix
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
1 year ago
Martin Krizek
a8b6ef7e7c
flush_handlers: handle a failure in a nested block with force_handlers ( #81572 )
...
Fixes #81532
ci_complete
1 year ago
Dellucifer
f2b5c33349
fixed typos in the documentation ( #82077 )
1 year ago
Matt Clay
fd009a073a
Remove sefcontext support plugin
...
It was only used by the subversion test, but is no longer required.
1 year ago
Matt Clay
0e6942a4d7
Remove unused unit test code ( #82168 )
1 year ago
Abhijeet Kasurde
c5b68ef16d
Update Python3
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Matt Clay
98407fc00e
Remove unused validate-modules unit test code
1 year ago
Matt Clay
dae4e2f07f
Remove unused/unreachable unit test code ( #82160 )
1 year ago
Matt Clay
0be33551d7
Remove unit tests dependent on systemd bindings ( #82161 )
...
These do no not run as part of our test suite.
1 year ago
Abhijeet Kasurde
78c16d983e
Remove type_regex testcase
...
This is leftover testcase for type checker regex removed in
https://github.com/ansible/ansible/pull/82153
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Matt Clay
9dd3eafa14
ansible-test - Use pylint unidiomatic-typecheck
...
This replaces the regex based check previously used within the validate-modules sanity test.
NOTE: The pylint check overlaps with a similar check for pep8.
Both are used, since the pep8 based check is more nuanced than the one in pylint.
For example, allowing `is` checks, but not `==` comparisons.
If the pylint check is ignored, the pep8 check would still be relevant.
1 year ago
Martin Krizek
7538668731
Check strict before failing to respect skip_broken ( #80795 )
...
Fixes #80590
1 year ago
Matt Clay
916a20fccd
Ignore coverage of test code that does not run
1 year ago
JustinWayland
dec9eeb2e5
Remove create_new_password parameter in CLI.build_vault_ids ( #82066 )
...
* Remove unused argument in call to build_vault_ids
* Remove obsolete build_vault_ids tests
* Change tests to account for argument removal
* Remove redundant test
1 year ago
Brian Coca
20a54eb236
restore role param precedence ( #82106 )
...
* add test for setfact/param override
1 year ago
Matt Clay
ac3ae94ae1
Ignore coverage on code intended never to execute ( #82128 )
...
* Ignore coverage on code intended never to execute
* Fail collection loader test if wrong code runs
* Update boilerplate test to accommodate nocover
1 year ago
Matt Clay
1df791cd90
Ignore code which coverage can't analyze ( #82125 )
...
* Ignore code which coverage can't analyze
Our own tracing function can't be traced.
* Use `nocover` instead of `no cover` for consistency
1 year ago
Jordan Borean
f8a9fd4758
Remove duplicate winrm test ( #82124 )
1 year ago
Matt Clay
36d6860d80
ansible-test - Remove no-main-display sanity test
1 year ago
Matt Clay
6e15fb0ebf
ansible-test - Removed no-basestring sanity test
1 year ago
Matt Clay
c349b91af3
ansible-test - Removed no-dict-* sanity tests
1 year ago
Matt Clay
9765bb46f9
ansible-test - Remove no-unicode-literals test
1 year ago
Matt Clay
172a010dd7
Remove unused test support plugins
1 year ago
Matt Clay
5b1b0ce762
Remove Python 2 compat (via six) from unit tests
1 year ago
Matt Clay
18e8401edd
Remove Python 2.x compat from unit tests ( #82109 )
1 year ago
Matt Clay
89cda0bcae
pip - Add break_system_packages option ( #82097 )
1 year ago
Jordan Borean
f5a0c0dfc8
Ignore testing data for gitleaks ( #82083 )
1 year ago
Thomas Sjögren
fb8ede22e1
don't warn about using a yescrypt hash as user password ( #82071 )
...
* dont warn about using a yescrypt hash as password
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* add changelog
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
* add yescrypt test
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
---------
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
1 year ago
Martin Krizek
fe94a99aa2
any_errors_fatal fixes ( #78680 )
...
Fixes #31543
Fixes #36308
Fixes #73246
Fixes #80981
Fixes #81533
ci_complete
1 year ago
Matt Clay
c827dc0dab
Remove obsolete requirements from prepare_http_tests
1 year ago
Brian Coca
99e0d25857
ansible-pull now handles all secret files CLI options ( #82009 )
...
* ansible-pull added missing pasthrough for secrets
Both become and connection password file options were missing.
Also added test
1 year ago
Brian Coca
9ee603d1c5
Clarify some points in config lookup documentation ( #81951 )
...
Also update tests to support the format on modules/plugins
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
1 year ago
Matt Clay
0b7387d46c
Improve filter_encryption test
...
- Update `data2_vaulted_string_with_id` to match the documented plaintext.
- Add a comment explaining how `data2_vaulted_string_with_id` was derived.
- Add assertions for unvaulted values to ensure they match their plaintext.
- Add round-trip tests for vault+unvault when no salt is used.
1 year ago
Matt Clay
2d2211e4e1
Simplify filter_encryption test ( #82062 )
1 year ago
Matt Davis
40263992df
remove args passthru on role runme tests that use grep ( #82060 )
...
* varying verbosity was masking some first-pass test failures
1 year ago
Brian Coca
b4566c18b3
Fix Jinja plugin deduplication ( #82002 )
...
for j2 plugins dedupe on path and not basename
for j2 this is a container file , for other plugins file name == plugin name
1 year ago