Commit Graph

580 Commits (70b577ab097ea4ebffe69fa3bdb13867e20085c7)

Author SHA1 Message Date
Sam Doran 5e411807e7 [stable-2.8] ansible-test - add constraint for virtualenv (#67289)
* ansible-test - add constraint for virtualenv

* Limit virtualenv only on macOS.

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 8f296a6533)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
Matt Clay 6f5c94ffea [stable-2.8] Add constraints for Jinja2 on Python 2.6. (#66826)
* Add constraint for Jinja2 on Python 2.6.

* Fix constraint in inventory_aws_conformance test.

* Add constrraints for template_jinja2_latest test.
(cherry picked from commit 965854fbd2)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay 2d2c841ded [stable-2.8] Ignore warnings in ansible-test environment check.
(cherry picked from commit 3db1ac4f56)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay 6af5aad3cf [stable-2.8] Add test constraint for setuptools. (#66426)
* Add test constraint for setuptools.

* Update pip test to work on centos6 container.
(cherry picked from commit 51e5b714e0)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay bbbde15562 [stable-2.8] Add ansible-test constraint to avoid coverage 5.0+
(cherry picked from commit 9ea5b539b6)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay 34c76bf2a1 [stable-2.8] Switch from RHEL 8.0 & 8.1b to 8.1 in CI.
(cherry picked from commit 75646037dc)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay e6a49f2e96 [stable-2.8] Add RHEL 8.1b to the Shippable test matrix.
(cherry picked from commit 811127d64d)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay 5b0a67062a [stable-2.8] Work around ssh-keygen issue in ansible-test. (#63211)
Newer versions of ssh-keygen create PEM keys that are not recognized by Paramiko.

Now ansible-test compensates for this by updating they keys it generates so Paramiko will recognize them..
(cherry picked from commit 022335669c)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay 68de8e1986 Replace old shippable.py with new check_matrix.py. (#60022)
This new script does not depend on ansible-test and provides much more robust job matrix testing.

It is also run on every job in the matrix now, to detect issues with jobs being re-run after matrix changes are made.

(cherry picked from commit d3da8e4a5b)
6 years ago
Matt Clay f43110b0ed [stable-2.8] Mark ansible-test cloud credentials as sensitive..
(cherry picked from commit 9f7b124a6f)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay c01378a299 [stable-2.8] Mark AWS credentials in ansible-test as sensitive.
This avoids displaying the credentials in CI when retrying tests at maximum verbosity.
(cherry picked from commit b73e772)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay c284e40866 [stable-2.8] Redact sensitive values by default in ansible-test.
(cherry picked from commit 0631e057e9)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Sam Doran 446df8d2cb [stable-2.8] Use new version of default test image that contains Python 3.8.0b3 (#60139)
(cherry picked from commit a20848bf66)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
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>
7 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>
7 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