Commit Graph

567 Commits (e93b8f054e73c2997bf9037ef768dc0dfd20c4ef)

Author SHA1 Message Date
Gonéri Le Bouder e352e7223e Update Fedora 29 test image
(cherry picked from commit 3d78dad84b)
6 years ago
Sam Doran a6eec912c7 [stable-2.8] Pin openshift <=0.9.0 to prevent test failures (#60245)
(cherry picked from commit 9cb47832d1)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
Sam Doran b2c43bd2b7 [stable-2.8] Wait for Ansible Tower instance to be ready
(cherry picked from commit ea209e1c2f)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
Sam Doran fd7b4238e2 [stable-2.8] Update constraints for coverage on Python 3.8 (#59733)
This fixes the unit tests hanging when run with Python 3.8 with coverage enabled
(cherry picked from commit ed4a729fd6)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
Sam Doran 4f939d4b2b [stable-2.8] Move integration tests to using RHEL 8.0 GA (#57772).
(cherry picked from commit b9dafdbade)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Sam Doran 9c391ea78e [stable-2.8] Update default test container to use Python 3.8.0b2 (#58877).
(cherry picked from commit 5ccd674dba)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Felix Fontein b75ff85e9c Use newer test container.
(cherry picked from commit b78d23d4ad)
7 years ago
Sam Doran 6bd8e3d002 [stable-2.8] Add Fedora 30 to test matrix (#57713)
Remove Fedora 28 from test matrix
(cherry picked from commit 7b9d991f78)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Felix Fontein ad00823266 docsite: remove lexers which have been fixed in Pygments 2.4.0 (#57508)
* Remove lexers which have been fixed in Pygments 2.4.0.
* Add Pygments >= 2.4.0 to test runner.
* Fix pages that triggered lexer errors.

Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 505c99265c)
7 years ago
Sam Doran 0cc78fa3af [stable-2.8] Change RHEL8 image name to match changes in ansible-test (#57807)
* Change RHEL8 image name to match changes in ansible-test

Continue to use the beta version of RHEL 8 until we fix tests that are breaking with the GA version.

* Skip ufw integration test on RHEL 8 Beta
(cherry picked from commit 84075fe351)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Felix Fontein fd04094bde acme_*: new test container, tests for IP certificates (#57530)
* Bump container version.

* Use new URLs.

* Add IP certificate tests.

* Disable IPv6 IP from IP certificate.

Background: in CI, the ACME test container apparently has no IPv6 support.
Without IPv6 support, Pebble can't connect to validate, and thus validation
fails.

(cherry picked from commit c50a75a41e)
7 years ago
Paul Belanger 7b2906243b Add missing scp dependency for ios_file tests
This was required to be installed by a human, out side of our testing.
Add it so ansible-test can now manage.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
7 years ago
Alicia Cozine 64a83a031a
Adds custom 404 with cowsay image (#57422) (#57955)
* Adds custom 404, updates CI reqs, TOC on 404 page links to latest

(cherry picked from commit 5658b2ee3e)
7 years ago
Matt Clay 737a904451 [stable-2.8] Limit tests to paramiko < 2.5.0.
(cherry picked from commit 1e6edf2ccc)

Co-authored-by: Matt Clay <matt@mystile.com>
7 years ago
Martin Krizek 0a3410f5c6 ansible-test: prefer shlex.quote (#56823)
(cherry picked from commit 484c023316)
7 years ago
Paul Belanger 5a6b926744 Add missing selectors2 requirement for network-integration tests
Otherwise, we get the following error:

  ERROR: ncclient 0.6.4 requires selectors2>=2.0.1, which is not installed.

when running ansible-test.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit 72bfdb38b4)
7 years ago
Martin Krizek 49c52a89ea ansible-test yamllint: fix UnicodeDecodeError (#55364)
* ansible-test yamllint: fix UnicodeDecodeError

* Conditional fix

(cherry picked from commit f8bebc61c8)
7 years ago
Matt Clay 3ac5ccda03 [stable-2.8] Fix ansible-test unicode error with redact option.
(cherry picked from commit 2ef4ba3)

Co-authored-by: Matt Clay <matt@mystile.com>
7 years ago
Matt Clay 6179a94d9b [stable-2.8] Fix ansible-test inventory and vars path handling. (#55186)
* Fix ansible-test inventory and vars path handling.
* Improve explanation for missing commit.
(cherry picked from commit a4d0c24bbf)

Co-authored-by: Matt Clay <matt@mystile.com>
7 years ago
Matt Clay 5b133f3455 Compat fix for ansible-core-ci on Python 3.7. 7 years ago
Dag Wieers e6935a285b Allow pslint as user (#55066) 7 years ago
Matt Clay 85ae8f5258 Add Hetzner Cloud to CI integration tests. 7 years ago
Rémy Léone 16c4df439a Migrate Scaleway tests to integration tests 7 years ago
Hideki Saito 377fba3d76 Fix handling of inventory and credential options for tower_job_launch (#54967)
- Fixed issue #25017,#37567
- Add example for prompt on launch
- Add integration test for prompt on launch

Signed-off-by: Hideki Saito <saito@fgrep.org>
7 years ago
Matt Clay a4c42ba687
Update the default test container to 1.7.0. (#54930)
* Update the default test container to 1.7.0.
* Run `pip check` after installing test requirements.
* Support older versions of pip.
* Remove obsolete pip error handler.
7 years ago
Matt Clay ab7f810874
Only use Paramiko in tests when needed. (#54826) 7 years ago
Matt Clay c8f2becb7a Reduce testing of Ubuntu versions.
Removing:

- Ubuntu 14.04 with Python 2.7
- Ubuntu 16.04 with Python 3.5

Keeping:

- Ubuntu 16.04 with Python 2.7
- Ubuntu 18.04 with Python 3.6
7 years ago
Jordan Borean 8b1b22ddc7
Bump dependency versions to avoid conflicts (#54443)
* Bump dependency versions to avoid conflicts

* Fix module code to support newer SDK packages

* Fix keyvault module are upgrading deps
7 years ago
Matt Clay 20ac19bf2e Test FreeBSD 12.0 with Python 3.x by default. 7 years ago
Yuwei Zhou 8c3dca7e7b Add azure servicebus module (#51320) 7 years ago
Yuwei Zhou dc6c0cb9f8 Add workspace module for azure (#53731)
* add workspace

* add other properties

* add facts modules

* add test

* add doc

* fix lint

* fix lint

* rename the module

* fix docs
7 years ago
Matt Clay 785afc7a53
Improve ansible-test python interpreter selection. (#54445) 7 years ago
Matt Clay ec83f52fa8 Fix virtualenv activation in tests. 7 years ago
Matt Clay 8612b126a8 Fix tests which assume `virtualenv` is available. 7 years ago
Matt Clay 870abd7366
Clean up remote setup script for tests. (#54433)
* Only update sshd_config for FreeBSD tests.
* Also skip service restart unless config changed.
* Only pip install virtualenv for macOS tests.
* Also add retries and disable pip version check.
* Fix indentation.
* Reduce noise during remote instance setup.
* Refactor and clean up pip install.
* Decrease verbosity of commands.
* Remove unnecessary package install.
7 years ago
Matt Clay 07e9438848 Move interface management into delegate_to test. 7 years ago
Matt Clay 89a022b6a0 Update handling of the non_local test alias.
Previously the alias disabled all code coverage collection.
Now it only disables Ansible module code coverage collection.
7 years ago
Matt Clay e12d3ca731 Fix ansible-test injector warning on Python 3.7. 7 years ago
Matt Clay ade6977d66 Fix typo in doc_fragments path. 7 years ago
Matt Clay 3e2817c478 Update default-test-container to version 1.6.0.
ci_complete
7 years ago
Zim Kalinowski 0a2971dcf5
adding new container instance options (#54072) 7 years ago
Matt Clay 3ea05f7757 Add pypsrp to unit tests and disable failing test. 7 years ago
Matt Clay 465acef2a3 Add pyyaml test constraint. 7 years ago
Jordan Borean 0bf14d61d0
Add PSCustomUseLiteralPath and update PSSA for pslint (#54080) 7 years ago
Toshio Kuratomi f5f4948480
Remove nose from unittests (#54055)
* Remove nose from unittests

This PR migrates the last of our unittests from using nose to using
pytest.  We don't need to install nose in our testing environments
anymore
7 years ago
Matt Clay 9a135fbcef Add constraint for deepdiff. 7 years ago
Matt Clay 63ce588382 Update pylint and split runs more to avoid hangs. 7 years ago
Sloane Hertel 7da565b3ae
parse botocore.endpoint logs into a list of AWS actions (#49312)
* Add an option to parse botocore.endpoint logs for the AWS actions performed during a task

Add a callback to consolidate all AWS actions used by modules

Added some documentation to the AWS guidelines

* Enable aws_resource_actions callback only for AWS tests

* Add script to help generate policies

* Set debug_botocore_endpoint_logs via environment variable for all AWS integration tests

Ensure AWS tests inherit environment

(also remove AWS CLI in aws_rds inventory tests and use the module)
7 years ago
Jordan Borean c2466c545b
Handle binary files when scanning metadata in python 3 (#53773) 7 years ago
Matt Martz 07ff2a6494 cliconf and httpapi are documentable plugins now 7 years ago