Commit Graph

9654 Commits (5cfdbd83151edd000e79edf550f0c5bc54aebd19)

Author SHA1 Message Date
Matt Clay f5df6d41a9
Skip apt_repository test on Ubuntu 18.04 (#81442) 2 years ago
Jordan Borean f72b82ed8e
win_chocolatey - remove test for allow_multiple (#80951) 3 years ago
Matt Clay e536c8ded9
[stable-2.9] ansible-test - local change detection without --fork-point (#79734). (#80903)
(cherry picked from commit a5bb4c7dee)

Co-authored-by: Felix Fontein <felix@fontein.de>
3 years ago
Matt Clay 3249ae9614
ansible-test - Limit setuptools version (#80620) 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 06886f09c5
ansible-test - Add requests constraint. (#78032) 4 years ago
Martin Krizek eb9e74eeba [stable-2.9] yum: fix parsing of check-update with subsequent empty lines (#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 51f2f1ac5e)

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
4 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 1cc8f978f6 [stable-2.9] ansible-test - Pin rstcheck version. (#77584)
* ansible-test - Pin rstcheck version.
* ansible-test - Support newer Jinja2 versions for rstcheck sanity test.
(cherry picked from commit 5859e99a30)

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay 1d8f9ce7d4 [stable-2.9] ansible-test - Fix cloud plugin traceback.
(cherry picked from commit 7a8c6d7418)

Co-authored-by: Matt Clay <matt@mystile.com>
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 5c2df6ebf9 [stable-2.9] ansible-test - Use `--forked` instead of `--boxed`
The `--boxed` option is deprecated..
(cherry picked from commit eaeec8a65c)

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay aafa65999c ansible-test - Add MarkupSafe constraint.
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.
4 years ago
Matt Clay fdadc39af3 [stable-2.9] ansible-test - Use quay.io containers in plugins..
(cherry picked from commit c27fd777f4)

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 62d60ad1bf
[stable-2.9] ansible-test - Use relative paths in junit output. (#76911)
* [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 fbb5d56bd2).

* Fix task path unicode error in junit callback.

(cherry picked from commit 41db6d8d35)
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 112766957b
[stable-2.9] Use new codecov uploader (#75938) (#76270)
* Use new codecov uploader
* Rewrite coverage uploader in Python.
(cherry picked from commit 74dc830dd4)

Co-authored-by: Sam Doran <sdoran@redhat.com>
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 6ecbe05bfb ansible-test - Remove obsolete junos entries. 4 years ago
Matt Clay 63f2208bb7 Skip failing tests on OS X 10.11. 4 years ago
Matt Martz 555d1fb64d
[stable-2.9] Don't show params when there is an issue with `set_option(s)` (#75805). (#75810)
(cherry picked from commit 79e9dae292)

Co-authored-by: Matt Martz <matt@sivel.net>
4 years ago
Matt Clay d4f96531d9 [stable-2.9] ansible-test - Fix `pylint` error.
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 a00c61719b)

Co-authored-by: Matt Clay <matt@mystile.com>
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
Matt Clay ef8f41c940 Revert "[stable-2.9] Add additional constraint for `setuptools` (#75651)"
This reverts commit 5faae7f464.

Now that `setuptools` version 58.0.3 has been released, this change is no longer needed.
4 years ago
Sam Doran 5faae7f464
[stable-2.9] Add additional constraint for `setuptools` (#75651)
The recent release of setuptools 58.0.2 breaks installation of coverage since
it references the 'use_2to3' feature.
4 years ago
Brian Coca 19261a7bed
Attributes compat (#75563) (#75622)
* 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 463cf9fe24)
(cherry picked from commit 93cc74ba13)

* 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>
4 years ago