Matt Clay
9cdfcd9aed
ansible-test - Update nios-test-container to 4.0.0 ( #83539 )
3 months ago
Matt Clay
10997ab3aa
ansible-test - Update base/default containers ( #83553 )
3 months ago
Harshvardhan Sharma
43346f1fdc
Add SL-Micro to Suse family list ( #83541 )
3 months ago
MajesticMagikarpKing
edce798713
Fix Creating user directory using tilde always reports "changed" ( #83113 )
...
Fixes : #82490
3 months ago
Felix Fontein
e5309ba29f
validate-modules: reject option/alias names equal up to casing belonging to different options ( #83530 )
...
* Reject option/alias names equal up to casing belonging to different options.
* Update test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
3 months ago
flowerysong
63538f7779
package_facts: fix warning logic ( #83520 )
...
* package_facts: fix warning logic
* Refactor so that warnings can work
4 months ago
Martin Krizek
775bc1110e
linear: fix included handlers executing in lockstep ( #83209 )
...
Fixes #83019
4 months ago
Martin Krizek
571e2a9551
Fix incorrect rc when executing end_host in rescue ( #83522 )
...
Fixes #83447
4 months ago
Brian Coca
6c0f4c8a2d
hostvars templating fix, override serialization ( #83509 )
...
fixes #82872
nicer implementation courtesy of nitzmahone
4 months ago
Felix Fontein
7d678cbd96
Fix require_only_one. ( #83511 )
4 months ago
Brian Coca
00ddc27d69
actually show plugin config warnings/deprecations ( #82593 )
...
previouslly we recorded but did not show to avoid spam
since we could not dedup from forks, that was already
fixed in another PR so now we can show/display them.
Also:
* funcitonalize deprecation msg construct from docs
* reuse formatting func in cli
* normalize alternatives: most of the code used intended plural
but some and most data/tests used the singular
* update schemas and tests
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
4 months ago
Martin Krizek
a8e4106c47
Fix tb for when env var contains % ( #83499 )
...
Fixes #83498
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
4 months ago
Martin Krizek
2930a4664c
dnf - arches must be the same in the is_newer_installed check ( #83417 )
...
Fixes #83406
4 months ago
Martin Krizek
0ee6e39615
dnf, dnf5: fix installing via wildcard ( #83481 )
...
Fixes #83373
4 months ago
Matt Clay
8f1fddb161
Enable Ubuntu 24.04 group 6 in CI ( #83466 )
...
* Enable Ubuntu 24.04 group 6 in CI
* Disable rootfull Podman on Ubuntu
* Disable unix-chkpwd AppArmor profile on Ubuntu for Fedora 40 tests
* Document AppArmor and rootfull issues
4 months ago
Brian Coca
0d28705ce5
linear strategy, show templated task name on start ( #83473 )
...
we only templated in some cases but when queueing we could get an untemplated name for the 'on start' event.
4 months ago
Brian Coca
339452c105
Ensure the correct connection name is shown in results ( #83354 )
4 months ago
Thomas Sjögren
f7dee8aaf8
add support for inactive option ( #83355 )
...
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
4 months ago
Matt Clay
a121a169e3
ansible-test - Replace FreeBSD 14.0 with 14.1 ( #83477 )
4 months ago
Abhijeet Kasurde
c93af4e148
unarchive: handle content and size differences ( #83454 )
...
Consider content differs and size differs while unarchiving
the same tar.gz file
Fixes : #29610
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Danilo Bargen
c2c6005842
get_url: Verify checksum using tmpsrc, not dest ( #64092 )
...
Previously, if the checksum of the downloaded file did not match the
specified checksum, the *destination* file was removed. This possibly
leaves the system that is being provisioned in an invalid state.
Instead, the checksum should be calculated on the temporary file only.
If there's a mismatch, delete the *temporary* file, not the destination
file.
This requires checking the checksum before moving the file.
4 months ago
Matt Clay
96c04e9d1d
ansible-test - Update PyPI and utility container ( #83475 )
4 months ago
Felix Fontein
1b42af5004
ansible-test: update http-test-container to 3.2.0 ( #83469 )
4 months ago
MajesticMagikarpKing
d62496fe41
human_to_bytes: strictly parse strings ( #83403 )
...
Fixes : #82075
4 months ago
Martin Krizek
df29852f3a
Update the dnf5 copr repo ( #83459 )
...
The dnf-nightly is the official nightly repo now.
4 months ago
Matt Clay
dad6f07731
ansible-test - Update tested platforms ( #83446 )
...
* ansible-test - Update tested platforms
* Add work-around for Alpine tests
* Fix prepare_http_tests on Fedora
* Fix deb-src setup for Ubuntu 24.04+
* Set multiarch_test_pkg for Ubuntu 24.04
* Update AZP test matrix
4 months ago
Matt Clay
44f22162cb
Remove timezone support module and tests ( #83465 )
...
The timezone support module was used only for changing the timezone in the user module integration tests.
Changing the timezone for the tests is unecessarily complex for the purpose of asserting proper parsing of user expiration times.
4 months ago
Matt Clay
f4751766db
selinux compat - add ignore, proper ex chaining ( #83460 )
4 months ago
Martin Krizek
b2a289dcbb
Remove Python 3.10 support for the controller ( #83221 )
...
Fixes #83094
4 months ago
Abhijeet Kasurde
6382ea168a
vault: Handle directory value to vault password file ( #83384 )
...
When vault password file env variable is set to blank,
this value is converted to CWD and passed for further
processing.
Check if ANSIBLE_VAULT_PASSWORD_FILE is not a directory.
Fixes : #42960
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Gilson Guimarães
e64c6c1ca5
unarchive: Better handling of files with an invalid timestamp in zip file ( #81520 )
...
Fixes : #81092
Signed-off-by: gilsongpfe <gilson.gpf@gmail.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Matt Clay
5af5b4b6c8
ansible-test - Update PyPI test container to 3.1.0 ( #83432 )
4 months ago
Matt Clay
738180d240
ansible-test - Fix unit test coverage collection ( #83433 )
4 months ago
Jordan Borean
a9b902f579
ansible-test action-plugin-docs sidecar ( #83325 )
...
Fix to have ansible-test sanity --test action-plugin-docs to check for
action plugin documentation inside a sidecar file rather than a Python
module.
4 months ago
Abhijeet Kasurde
6e8a7ed327
Revert warning message in setup/gather_facts ( #83427 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Matt Clay
cf265eb14d
Add Python 3.13 support ( #83416 )
...
* Add Python 3.13 support
* Add temporary work-around for yamllint test
4 months ago
Matt Martz
126ffc7947
Specify -O in windows ssh tests as needed for scp to work with openssh 9+ ( #83426 )
4 months ago
Matt Clay
14df8c2cf2
ansible-test - Prepare for Python 3.13 ( #83414 )
...
Includes an update to `coverage` and pinned Python requirements.
4 months ago
Abhijeet Kasurde
d16ad25e4b
Remove extraneous pylint ignore ( #83257 )
...
* Pylint issue 511 is closed, remove ignore related to that.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Matt Clay
531bc9891f
Fix issues reported by mypy ( #83413 )
4 months ago
Matt Clay
6ab26707de
Fix quoting in fork_safe_stdio test ( #83412 )
4 months ago
Sloane Hertel
bdc1cdfa54
Revert "bool filter, add booleanization strategy option ( #83362 )" ( #83391 )
...
This reverts commit 655a8ff38f
.
4 months ago
Matt Martz
93b8b86067
Properly quote all needed components of shell commands ( #83365 )
...
* Properly quote all needed components of shell commands
* Use self.quote, add new self.join
4 months ago
Sloane Hertel
68638f4710
fix any_errors_fatal tests ( #83389 )
...
* fix any_errors_fatal test to exit on non-zero rc
Use a typo in the debug msg to avoid matching play recap
* remove duplicate 'set -ux'
4 months ago
Brian Coca
655a8ff38f
bool filter, add booleanization strategy option ( #83362 )
...
also make the YAML booleanization the same as spec/JSON/module function
previous 'aproximation' was missing several options.
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Abhijeet Kasurde
16ebeb7d21
facts: add facts about x86_64 flags to detect microarchitecture ( #83356 )
...
Fixes : #83331
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 months ago
Brian Coca
c77ed376c4
timeout give extra info ( #83206 )
...
the new field shows the python code in execution when it timed out, 99% of the time it will be on a selector waiting for output from ssh to remote.
5 months ago
MajesticMagikarpKing
e07b4edc54
Fix Test failure with cowsay installed/present ( #83347 )
5 months ago
Jordan Borean
b8f1add983
powershell - Improve Add-Type tempdir handler ( #83080 )
...
Improves the Add-Type temporary directory handler to include a retry
mechanism and not fail on an error. Deleting a temporary file used in
compilation is not a critical error and should improve the reliability
of Ansible on Windows hosts.
5 months ago
Abhijeet Kasurde
153c979662
test: Cleanup facts/network/* tests ( #83256 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 months ago