summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Don't request repo updates when only testing modes (#78843)Matt Martz2022-09-211-0/+5
|
* Restrict `hvac` Python distribution in py2 tests (#78808)Sviatoslav Sydorenko2022-09-191-1/+1
|
* [stable-2.9] Fix file integration test chattr/lsattr check. (#78614) (#78621)Matt Clay2022-08-221-0/+2
| | | | | | | | On BusyBox systems such as Alpine, chattr on a tmpfs fails with a status of 0 and output only on stderr. This change updates the test to not assume output on stdout.. (cherry picked from commit 2e536c0afb9008884a0f12e8e650541e0ead76c9)
* ansible-test - Add requests constraint. (#78032)Matt Clay2022-06-101-0/+1
|
* [stable-2.9] yum: fix parsing of check-update with subsequent empty lines ↵Martin Krizek2022-06-071-0/+15
| | | | | | | | | | | | | (#75452) Rather than adding further complexity to the regex, preprocess the output to remove any empty lines. Now the only purpose of the regex is to fix wrapped lines. Fixes #70949 (cherry picked from commit 51f2f1ac5ee1416f097587ff81b721b3ccc36971) Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* ansible-test - Add Python 2 certifi constraint. (#77863)Matt Clay2022-05-203-0/+4
| | | | | | | * ansible-test - Add Python 2 certifi constraint. * Fix consul test. * Fix consul test for centos6.
* Reduce CI test matrix.Matt Clay2022-04-253-8/+18
|
* [stable-2.9] ansible-test - Pin rstcheck version. (#77584)Matt Clay2022-04-203-1/+21
| | | | | | | | * ansible-test - Pin rstcheck version. * ansible-test - Support newer Jinja2 versions for rstcheck sanity test. (cherry picked from commit 5859e99a30e863112a108f2cd5017e19be5a3419) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.9] ansible-test - Fix cloud plugin traceback.Matt Clay2022-03-111-0/+3
| | | | | | (cherry picked from commit 7a8c6d74188b56228db77fed727cf1fdf3cc141d) Co-authored-by: Matt Clay <matt@mystile.com>
* Disable ansible-runner test on RHEL 7.9.Matt Clay2022-03-011-0/+1
|
* [stable-2.9] Update setup_pexpect to prefer pip user installs.Matt Clay2022-02-281-0/+9
| | | | | | | This works around issues on RHEL 7.9 when an old version of pexpect is installed from an OS package. (cherry picked from commit 27fe26edbf57a39a11de7dea14dc60d4a6b1384e) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.9] ansible-test - Use `--forked` instead of `--boxed`Matt Clay2022-02-222-1/+2
| | | | | | | The `--boxed` option is deprecated.. (cherry picked from commit eaeec8a65c4bf9066c5a2c180ec11872f84e6b67) Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Add MarkupSafe constraint.Matt Clay2022-02-211-0/+1
| | | | | | | | Installation of MarkupSafe 2.1.0 and later require setuptools 39.2 or later, or a recent version of pip which supports installation using a wheel. Some systems will not have new enough versions of pip and/or setuptools, especially virtual environments -- including those created by ansible-test.
* [stable-2.9] ansible-test - Use quay.io containers in plugins..Matt Clay2022-02-171-1/+1
| | | | | | (cherry picked from commit c27fd777f4d82fc1eefaa20114cf1f76b7ce1bee) Co-authored-by: Matt Clay <matt@mystile.com>
* Disable failing test task on openSUSE 15.2.Matt Clay2022-02-071-0/+1
|
* [stable-2.9] ansible-test - Use relative paths in junit output. (#76911)Matt Clay2022-02-022-6/+11
| | | | | | | | | | | | | * [stable-2.9] ansible-test - Use relative paths in junit output. (#76871) * ansible-test - Use relative paths in junit output. * ansible-test - Handle out-of-tree JUnit paths. * Also fix a traceback in the junit callback during automatic fact gathering. (cherry picked from commit fbb5d56bd274c44b193cb95f0230b9352f62aab2). * Fix task path unicode error in junit callback. (cherry picked from commit 41db6d8d35900d425df3228406db3fec61ab2269)
* Disable Tower tests and remove from test matrix.Matt Clay2022-01-2023-23/+23
|
* Disable the _distutils_hack in newer setuptools (#76600)Sloane Hertel2022-01-042-0/+4
| | | | | | | | | | * Disable the _distutils_hack in newer setuptools. Doesn't fix the underlying issue of the venv finding the _distutils_hack of a setuptools that is not its own. ci_complete * re-throw blanket (cherry picked from commit fa617fcd7b146b110c7f932c224f838116f43a60)
* [stable-2.9] Fix wait_for integration test.Matt Clay2022-01-041-1/+1
| | | | | | | Pin the `psutil` package to 5.8.0 since 5.9.0 is broken on macOS. (cherry picked from commit a5f4a25d324d29a04da9505b19da54267e90f778) Co-authored-by: Matt Clay <matt@mystile.com>
* Disable VyOS integration tests that fail.Matt Clay2021-12-099-0/+9
| | | | The previous AMI used for testing VyOS is no longer available. Tests that do not work with the replacement image have been disabled.
* Disable tests that use AWS lamdbaSam Doran2021-12-023-0/+3
| | | | | AWS Lambda changed recently and the version of the lambda module in 2.9 will no longer work reliably.
* [stable-2.9] fix zypper integration test (#76398)Sam Doran2021-11-291-1/+1
| | | Not sure why but changing the URL fixes the download error.
* [stable-2.9] Use new codecov uploader (#75938) (#76270)Sam Doran2021-11-241-0/+6
| | | | | | | * Use new codecov uploader * Rewrite coverage uploader in Python. (cherry picked from commit 74dc830dd4eea516615018a0c4f9e4a28db0d5ad) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.9] Disable aws_lamdba testSam Doran2021-11-191-0/+1
|
* [stable-2.9] Fix pip integration test.Matt Clay2021-11-091-13/+8
| | | | | | | | - Use `fallible==0.0.1a2` instead of `black==19.10b` - Test on both Python 2 and 3. (cherry picked from commit b6725ec6c994d725cc2190b784a422299fd98385) Co-authored-by: Matt Clay <matt@mystile.com>
* Fix hcloud_location_info testSam Doran2021-11-041-2/+2
| | | | Hetzner added a new datacenter so the tests need to be updated
* Fix hcloud_datacenter_info testSam Doran2021-11-031-2/+2
| | | | A new datacenter was added
* Fix AWS Lambda tests.Matt Clay2021-10-202-13/+13
|
* ansible-test - Remove obsolete junos entries.Matt Clay2021-09-301-2/+0
|
* Skip failing tests on OS X 10.11.Matt Clay2021-09-302-0/+2
|
* [stable-2.9] Don't show params when there is an issue with `set_option(s)` ↵Matt Martz2021-09-291-0/+22
| | | | | | | (#75805). (#75810) (cherry picked from commit 79e9dae29212a88aa60122ca6bd608947399017f) Co-authored-by: Matt Martz <matt@sivel.net>
* [stable-2.9] ansible-test - Fix `pylint` error.Matt Clay2021-09-271-1/+1
| | | | | | | | | This prevents `pylint` from failing with warnings reported as errors and with no test results given. Resolves https://github.com/ansible/ansible/issues/75791 (cherry picked from commit a00c61719b825c21c629d25244715c82716548e3) Co-authored-by: Matt Clay <matt@mystile.com>
* Fix win_chocolatey_facts test.Matt Clay2021-09-081-1/+1
| | | | ci_complete
* Disable github_issue test. (#75659)Matt Clay2021-09-081-0/+1
|
* Revert "[stable-2.9] Add additional constraint for `setuptools` (#75651)"Matt Clay2021-09-071-1/+0
| | | | | | This reverts commit 5faae7f464dc7c60ed3a416656ce0144ff94125b. Now that `setuptools` version 58.0.3 has been released, this change is no longer needed.
* [stable-2.9] Add additional constraint for `setuptools` (#75651)Sam Doran2021-09-071-0/+1
| | | | The recent release of setuptools 58.0.2 breaks installation of coverage since it references the 'use_2to3' feature.
* Attributes compat (#75563) (#75622)Brian Coca2021-09-021-1/+2
| | | | | | | | | | | | | | | | | * Attributes compat (#75563) * ignore 'attributes' for json dump let existing overrides display, wont be full info but still pertinent info though user will have to check newer versions (cherry picked from commit 463cf9fe244430249701509fc3ee7636a18afc44) (cherry picked from commit 93cc74ba13c28785d8e4b62adc8eb62f42860efb) * Update test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
* [2.9] Fix dnf package matching (#75411) (#75416)Sloane Hertel2021-08-061-0/+28
| | | | | | | | | | | | | | | | | * Fix dnf package matching (#75411) * Fix a bug with the dnf module not using all components of a package name when filtering to determine if it's installed * changelog * Simplify splitting on the last '.' * Update lib/ansible/modules/dnf.py (cherry picked from commit b541a148d51e75b298e71161c022b12cd8ebba7c) * Fix dnf test assertion (cherry picked from commit 91a26ddcefb393e48ac93d442b3922bf2fde0de7)
* Allow to ignore rstcheck errors. (#75405)Felix Fontein2021-08-051-1/+1
| | | (cherry picked from commit 46819a65fa309dad7349c9dd325532f0a9c576ae)
* [stable-2.9] allow env to override unspecified unsafe_writes (#73282) (#75397)Matt Martz2021-08-044-0/+87
| | | | | | | | | | | | | | | | | | | | | | | * [stable-2.9] allow env to override unspecified unsafe_writes (#73282) * allow env var for fallback value for unspecified unsafe_writes. (cherry picked from commit c7d4acc12f672d1b3a86119940193b3324584ac0) Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> * ensure unsafe writes fallback (#70722) * Ensure we actually fallback to unsafe_writes when set to true add integration test add fix for get_url not passing the parameter from args (cherry picked from commit 932ba3616067007fd5e449611a34e7e3837fc8ae) * Added clog missing for issue 70722 (#73175) (cherry picked from commit d6670da1d7bc81dccd522d1bc27cc25164ef1aba) Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
* ansible-test: exposes tiny_prefix variable (#75130)Gonéri Le Bouder2021-07-121-0/+2
| | | | | | ansible-test aws provider now creates and exposes a new tiny_prefix variable to provide a shorter prefix for the AWS tests. (cherry picked from commit 5b8fb4dcd3d84aad77330644a7326bc16dd02a3b)
* [stable-2.9] Prevent ansible_failed_task from further templating (#74290) ↵Matt Martz2021-07-092-1/+20
| | | | | | | | | | (#75220) * Prevent ansible_failed_task from further templating Fixes #74036 * Add changelog. (cherry picked from commit 664531d7d6253d5bdb182727501c08e3b5aea0c1) Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* [stable-2.9] Restrict packaging to < 21.0 for Python < 3.6. (#75186).Felix Fontein2021-07-071-0/+1
| | | | | | (cherry picked from commit 67bc49e001e6cbd6736e1dbc3d8b07f9bccda2bb) Co-authored-by: Felix Fontein <felix@fontein.de>
* [stable-2.9] Skip docker_container test when running in a containerSam Doran2021-07-071-0/+1
|
* Skip broken test on OS XSam Doran2021-07-071-0/+1
|
* Add constraints for new ruamel release (#75134)Sam Doran2021-06-283-0/+16
| | | Newer releases of ruamel.yaml and ruamel.yaml.clib require newer Python versions.
* [bp-2.9] firewalld: Ensure idempotency (#74992)Abhijeet Kasurde2021-06-142-31/+58
| | | | | Fixes: https://github.com/ansible-collections/ansible.posix/issues/179 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* fix unsafe preservation across newlines (#74960) (#74976)Brian Coca2021-06-112-0/+23
| | | | | | | CVE-2021-3583 ensure we always have unsafe Co-authored-by: Rick Elrod <rick@elrod.me> (cherry picked from commit 4c8c40fd3d4a58defdc80e7d22aa8d26b731353e)
* Skip task for CentOS 8 as well (#74913)Sam Doran2021-06-071-2/+2
| | | | Something change in the packages that was failing on RHEL a few weeks ago. Now it is failing in CentOS 8 as well
* [2.9] [tests] add websocket-client constraint, python 2 (#74750)Rick Elrod2021-05-212-0/+9
| | | | | | | | | | | | | | Change: - websocket-client >= 1 requires python 3, so add constraint for python 2. Test Plan: - ci_complete Signed-off-by: Rick Elrod <rick@elrod.me> * avoid a mysql_variables check on rhel 8 Signed-off-by: Rick Elrod <rick@elrod.me>