Commit Graph

5237 Commits (5cfdbd83151edd000e79edf550f0c5bc54aebd19)

Author SHA1 Message Date
Matt Clay f5df6d41a9
Skip apt_repository test on Ubuntu 18.04 (#81442) 3 years ago
Jordan Borean f72b82ed8e
win_chocolatey - remove test for allow_multiple (#80951) 3 years ago
Matt Clay d5157445e8
Pin pyasn1 version in uri and unarchive tests (#80587) 3 years ago
Matt Clay f793d9aed7
Disable failing mongodb tests (#80574) 3 years ago
Matt Clay 5b4fbe2df5
[stable-2.9] Fix url lookup test to use test container (#80284). (#80290)
(cherry picked from commit 054aa92158)
3 years ago
Matt Clay 87bb5eb9e1 Update RHEL 7 extras install. Omit uninstall. 3 years ago
Matt Clay cb0aad0459 Remove redundant RHEL extras setup. 3 years ago
Matt Clay e28aa4c9fa [stable-2.9] Fix EPEL setup for integration tests on RHEL 7.
(cherry picked from commit 1243d2ace0)

Co-authored-by: Matt Clay <matt@mystile.com>
3 years ago
Sviatoslav Sydorenko 5602bc2a8d
[2.9] Log `runme.sh` execution in integration tests (#79286)
* Log `runme.sh` execution in integration tests (#79263)

* Log `runme.sh` execution in integration tests

This patch adds `set -x` where it's missing in the integration tests.
It also enables `pipefail` in `runme.sh` scripts that use pipes.

* Add a change note for PR #79263

(cherry picked from commit 6674c43edd)

* Delete a bad PR #79263 change note

(cherry picked from commit 9cfb3f73e8)
3 years ago
Sviatoslav Sydorenko ed579d475c Add a comment about newer versions failing tests
Co-authored-by: Matt Clay <matt@mystile.com>
3 years ago
Sviatoslav Sydorenko 263ceccafc Restrict kubernetes below v25.3.0 3 years ago
Matt Martz 254204856f
Don't request repo updates when only testing modes (#78843) 3 years ago
Sviatoslav Sydorenko ad16c5804c
Restrict `hvac` Python distribution in py2 tests (#78808) 3 years ago
Matt Clay 57c523eb65
[stable-2.9] Fix file integration test chattr/lsattr check. (#78614) (#78621)
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 2e536c0afb)
3 years ago
Matt Clay caf8b22472
ansible-test - Add Python 2 certifi constraint. (#77863)
* ansible-test - Add Python 2 certifi constraint.

* Fix consul test.

* Fix consul test for centos6.
4 years ago
Matt Clay 3f5a4a7c6a Reduce CI test matrix. 4 years ago
Matt Clay 303d39a966 Disable ansible-runner test on RHEL 7.9. 4 years ago
Matt Clay be8c20f675 [stable-2.9] Update setup_pexpect to prefer pip user installs.
This works around issues on RHEL 7.9 when an old version of pexpect is installed from an OS package.
(cherry picked from commit 27fe26edbf)

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay 97e5cf18c4 Disable failing test task on openSUSE 15.2. 4 years ago
Matt Clay e699652b53 Disable Tower tests and remove from test matrix. 4 years ago
Sloane Hertel 437c4fb64b Disable the _distutils_hack in newer setuptools (#76600)
* 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 fa617fcd7b)
4 years ago
Matt Clay fe3599f92c [stable-2.9] Fix wait_for integration test.
Pin the `psutil` package to 5.8.0 since 5.9.0 is broken on macOS.
(cherry picked from commit a5f4a25d32)

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay c048f2539c Disable VyOS integration tests that fail.
The previous AMI used for testing VyOS is no longer available. Tests that do not work with the replacement image have been disabled.
4 years ago
Sam Doran 4d8e608704 Disable tests that use AWS lamdba
AWS Lambda changed recently and the version of the lambda module in
2.9 will no longer work reliably.
4 years ago
Sam Doran 81f756e329
[stable-2.9] fix zypper integration test (#76398)
Not sure why but changing the URL fixes the download error.
4 years ago
Sam Doran 76395a265d [stable-2.9] Disable aws_lamdba test 4 years ago
Matt Clay cceb0abd15 [stable-2.9] Fix pip integration test.
- Use `fallible==0.0.1a2` instead of `black==19.10b`
- Test on both Python 2 and 3.
(cherry picked from commit b6725ec6c9)

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Sam Doran 59c16e2073 Fix hcloud_location_info test
Hetzner added a new datacenter so the tests need to be updated
4 years ago
Sam Doran 388ba385f5 Fix hcloud_datacenter_info test
A new datacenter was added
4 years ago
Matt Clay 22a9a4f913 Fix AWS Lambda tests. 4 years ago
Matt Clay 63f2208bb7 Skip failing tests on OS X 10.11. 4 years ago
Matt Clay a1563c5de1 Fix win_chocolatey_facts test.
ci_complete
4 years ago
Matt Clay 51d4965a28
Disable github_issue test. (#75659) 4 years ago
Sloane Hertel 081a93caa3
[2.9] Fix dnf package matching (#75411) (#75416)
* 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 b541a148d5)

* Fix dnf test assertion

(cherry picked from commit 91a26ddcef)
5 years ago
Matt Martz cab637a733
[stable-2.9] allow env to override unspecified unsafe_writes (#73282) (#75397)
* [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 c7d4acc12f)

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 932ba36160)

* Added clog missing for issue 70722 (#73175)

(cherry picked from commit d6670da1d7)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
5 years ago
Matt Martz 9b20405210
[stable-2.9] Prevent ansible_failed_task from further templating (#74290) (#75220)
* Prevent ansible_failed_task from further templating
Fixes #74036
* Add changelog.
(cherry picked from commit 664531d7d6)

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
5 years ago
Sam Doran 332ca6e298 [stable-2.9] Skip docker_container test when running in a container 5 years ago
Sam Doran b3fd2b5012 Skip broken test on OS X 5 years ago
Sam Doran 60c03e8af4
Add constraints for new ruamel release (#75134)
Newer releases of ruamel.yaml and ruamel.yaml.clib require newer Python versions.
5 years ago
Abhijeet Kasurde 4acad228f0
[bp-2.9] firewalld: Ensure idempotency (#74992)
Fixes: https://github.com/ansible-collections/ansible.posix/issues/179

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago
Brian Coca 8b17e5b922
fix unsafe preservation across newlines (#74960) (#74976)
CVE-2021-3583
  ensure we always have unsafe

Co-authored-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit 4c8c40fd3d)
5 years ago
Sam Doran 88eb0f1dfb
Skip task for CentOS 8 as well (#74913)
Something change in the packages that was failing on RHEL
a few weeks ago. Now it is failing in CentOS 8 as well
5 years ago
Rick Elrod 4f0e584ea4
[2.9] [tests] add websocket-client constraint, python 2 (#74750)
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>
5 years ago
Sam Doran 6fe7640fa5 [stable-2.9] Disable rabbitmq integration tests 5 years ago
Matt Clay c310830553
[stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666) (#74672)
* [stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666)

* Add constraint for MarkupSafe

MarkupSafe >= 2.0.0 requires Python >= 3.6.0. Add a constraint for older Python versions
and fix the `groupby_filter` test.

* Fix template_jinja2_latest test.

* patch filter decorators on newer Jinja2

* Jinja2 >= 3.0 renames several filter decorators used by Ansible itself, as well as by filters in collections. This patch ensures that the old names are usable within Ansible and by collections without warnings or errors.

* Ignore docs-build issues.

* Remove unnecessary ignore.

* Disable failing nuage_vspk test.

* Fix inventory_aws_conformance integration test.

(cherry picked from commit f99d024851)

Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Davis <mrd@redhat.com>.
Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Rick Elrod fb177b3878
shift a few CI groups [2.9] (#74553)
ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Sam Doran 9380d74c02
[stable-2.9] incidental_setup_rabbitmq test - Use official repo for rabbitmq-erlang (#74453)
Previously it was hosted on bintray, but that service is shutting down on May 1. Using the new
repository also required using a newer version of RabbitMQ..
(cherry picked from commit 62cba4a6ad)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Rick Elrod d4a3d6cd0a
[ansible-test] Sync opensuse containers with 2.10 (#74436)
* [ansible-test] Sync opensuse containers with 2.10

Change:
- OpenSuSE 15.1 is now EOL
- Switch containers to use what 2.10 uses, which has 15.2.

Test Plan:
- ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>

* docker version

Signed-off-by: Rick Elrod <rick@elrod.me>

* needs p7zip-full, otherwise we only get 7zr

Signed-off-by: Rick Elrod <rick@elrod.me>

* Make sure py2 stays py2

Signed-off-by: Rick Elrod <rick@elrod.me>

* no wildcard?

Signed-off-by: Rick Elrod <rick@elrod.me>

* -x instead of --xml

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Martin Krizek e8c1c1d636
Actually run blocks/finalized_task test (#74291) (#74310)
(cherry picked from commit 7fecb7ccc3)
5 years ago
Sam Doran 4b23ac77e1 Disable failing hcloud_server test 5 years ago