summaryrefslogtreecommitdiffstats
path: root/test/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ansible-test - prefer venv over virtualenv on Python 3 (#73000)Sam Doooran2020-12-173-11/+15
| | | | | | | Also pin virtualenv to 16.7.10 for older Mac OS X systems. This was the version being installed anway with the previous constraint (<20). On systems with Python 3, now prefer venv over virtualenv. Test to see if venv is functional since some systems have a non-functional venv installation (such as Debian).
* Update ansible-test pylint Python support. (#72972)Matt Clay2020-12-153-4/+12
| | | | | | | * Update ansible-test pylint Python support. * Python 3.8 is now officially supported. * Python 3.9 is now skipped with a warning.
* Compare removal and deprecation dates and versions in runtime metadata ↵Felix Fontein2020-12-151-35/+117
| | | | | | | | | against current version and today (#72625) * Check deprecation and removal versions w.r.t. current version. * Check removal dates from tombstones w.r.t. today. * Add changelog.
* Fix cryptography constraints in ansible-test. (#72914)Matt Clay2020-12-095-4/+71
|
* Address additional ansible_core rename issues (#72906)Matt Martz2020-12-082-2/+3
| | | | | * Update __requires__ to reference the correct ansible_core package name * ansible-test updates to handle the correct egg_info for ansible_core
* The implicit default for type=bool options is not 'false', but 'none' (#72699)Felix Fontein2020-12-041-4/+0
| | | | | * The implicit default for type=bool options is not 'false', but 'none'. * Fix modules, resp. add ignore.txt entries.
* ansible-test sanity: fix UnicodeDecodeError for `--python 2.7 --docker` (#72623)Felix Fontein2020-12-041-3/+4
| | | | | * Store target paths as unicode. * Add changelog fragment.
* Use AZP config for integration-aliases test.Matt Clay2020-12-043-44/+99
| | | | No changelog entry since this test is limited to the ansible/ansible repo.
* Fix Azure Pipelines change detection. (#72824)Matt Clay2020-12-031-4/+4
|
* Bump centos6 image for pinned junit-xml depRick Elrod2020-12-021-1/+1
| | | | Signed-off-by: Rick Elrod <rick@elrod.me>
* [centos6] update container for EOLRick Elrod2020-12-021-1/+1
| | | | | | | | | | | | Change: - Reference: https://lists.centos.org/pipermail/centos-devel/2020-December/056208.html - Bump centos6 container to 1.25.0 Test Plan: - ci_complete Signed-off-by: Rick Elrod <rick@elrod.me>
* Switch to hashlib.sha256() for ansible-test (#72411)Paul Belanger2020-12-011-1/+1
| | | | | | When FIPs mode is enable on centos-8, we are not able to load md5 functions. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
* ansible-test - add cryptography constraint for cffi (#72761)Sam Doran2020-11-301-0/+1
| | | | | | The recently released version of cffi fails to install on systems with an older version of gcc. In our case, this in the CentOS 6 test image. There is a fix but it has not yet been released. https://foss.heptapod.net/pypy/cffi/-/issues/480
* ansible-galaxy - source deps from all servers and not just parent (#72576)Jordan Borean2020-11-191-4/+2
| | | | | * ansible-galaxy - source deps from all servers and not just parent * Added integration tests for this scenario
* actual min changes needed for rhel8 (#72477)Brian Coca2020-11-161-0/+1
| | | | | * actual min changes needed for rhel8 - specifiy releaserver as dnf/vars is ignored
* Rename to ansible-core (#72594)Rick Elrod2020-11-137-10/+10
| | | | | | | | | | Change: - Initial set of changes for renaming to ansible-core - Includes changelog fragment changes from base -> core - Does NOT include docs changes - Modifies detection stuff in setup.py to support ansible<2.9 and ansible-base Test Plan: - ci_complete
* Rollback pulp container to stabilise CI (#72580)Jordan Borean2020-11-111-1/+5
|
* allow any type of unsafe data (#72547)Brian Coca2020-11-101-1/+13
| | | | | | * allow any type of unsafe data dont limit to strings
* Add RHEL 7.9 - ci_complete (#72558)Jordan Borean2020-11-101-0/+1
|
* Add coverage exporting to ansible-testMatt Clay2020-11-103-3/+36
| | | | A new `--export` option for `ansible-test coverage combine` allows multi-step aggregation of code coverage for CI pipelines.
* Fix container discovery for the acme test plugin.Matt Clay2020-11-091-4/+6
|
* [ansible-test] use newer container images (#72126)Rick Elrod2020-11-091-7/+7
| | | | | | | | | | | Change: - Bump default, ansible-base, distro containers - We do NOT add fedora33 yet, because it doesn't work right on Shippable due to an old kernel. This will be added post-AZP. Test Plan: - CI Signed-off-by: Rick Elrod <rick@elrod.me>
* [ansible-test] first attempt at freebsd 12.2Rick Elrod2020-11-091-0/+1
| | | | | | | | | | | | | Change: - Add freebsd/12.2 remote target Test Plan: - ci_complete Tickets: - Fixes #72366 Signed-off-by: Rick Elrod <rick@elrod.me>
* Emit warning when running on the controller with a Python older than 3.8 ↵Matt Martz2020-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#72467) * Emit warning when running on the controller with a Python older than 3.8 * Add spaces Co-authored-by: Matt Clay <matt@mystile.com> * and more spaces Co-authored-by: Matt Clay <matt@mystile.com> * s/Py/Python/ Co-authored-by: Matt Clay <matt@mystile.com> * Add note to Control node requirements about Py3.8 requirement * Add collection_name to deprecated call * more spaces Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * Clarify that we are only packaging for py3.8+ Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Update Galaxy NG version used in CI (#72469)Jordan Borean2020-11-041-1/+1
|
* Restore ansible-test coverage config.Matt Clay2020-11-031-1/+1
| | | | Reverts a portion of the changes made in https://github.com/ansible/ansible/pull/70028
* Fix fallout from #70028.Felix Fontein2020-11-031-1/+1
|
* Improve ansible-test classifications for collections (#72353)Felix Fontein2020-11-021-0/+21
|
* ansible-test - skip installing PowerShell sanity test reqs if they are ↵Jordan Borean2020-10-311-2/+21
| | | | already installed (#72423)
* rethink wording (#70028)Brian Coca2020-10-303-31/+30
| | | | | | | * rethink wording * removed unrequired requirement * fix tests * fixed versions Co-authored-by: Sloane Hertel <shertel@redhat.com>
* Galaxy server update (#72286)Jordan Borean2020-10-281-24/+43
| | | | | | | | | | | * Update galaxy server image used in CI * Fix port and migration issue * Add delete step, still need to deal with pagination * Make cleanup more efficient * Remove testing code
* Fix processing of add_file_common_args=True when argument_spec is not ↵Felix Fontein2020-10-271-12/+12
| | | | specified as kwarg. (#72334)
* [ansible-test] Limit cryptography to <3.2 (#72342)Rick Elrod2020-10-261-0/+1
| | | | | | | | | | | Change: - Cryptography 3.2 drops support for OpenSSL 1.0.2. Some of our CI infrastructure still uses this version (FreeBSD, namely). For now, just add a constraint to use old cryptography. Test Plan: - CI Signed-off-by: Rick Elrod <rick@elrod.me>
* Fix ansible-test handling of user-defined docker networks. (#72256)Matt Clay2020-10-2312-79/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix ansible-test docker container detection. * Attach test containers to the correct network. * Do not assume `localhost` for accesing Docker. * Look for containers on current network. * Always map /var/run/docker.sock into containers. This fixes issues when using a remote Docker host. * Support container IP lookup from networks list. * Fix container network attachment. * Remove redundant container detection messages. * Limit DOCKER_HOST parsing to TCP. * Restore docker socket existence check. The check is skipped if the docker hostname is not localhost. * Correct changelog entry.
* Fix ansible-test Azure Pipelines container auth.Matt Clay2020-10-141-1/+7
|
* Add support for GSSAPI/Kerberos to urls.py (#72113)Jordan Borean2020-10-136-3/+25
| | | | | | | | | | | | | | | | | * Add support for GSSAPI/Kerberos to urls.py * Test out changes with the latest test container * Get remote hosts working * Fix up httptester_krb5_password reader * Fix tests for opensuse and macOS * Hopefully last lot of testing changes * Dont do CBT on macOS * Fixes from review
* fix typo (foward -> forward) (#72182)Florian Heiderich2020-10-111-1/+1
|
* Support collection constraints in ansible-test.Matt Clay2020-10-081-0/+12
| | | | This allows collections to specify requirements and constraints for packages that ansible-test has requirements or constraints for.
* [ansible-test] attempt to work around podman (#72096)Rick Elrod2020-10-061-3/+13
| | | | | | | | | | | | Change: - podman > 2 && < 2.2 does not support "images --format {{json .}}" - podman also now outputs images JSON differently than docker - Work around both of the above. Test Plan: - Tested with podman 2.0.6 in Fedora 31. Signed-off-by: Rick Elrod <rick@elrod.me> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Bump httptester version (#72036)Jordan Borean2020-10-011-1/+1
|
* ansible-test: improve version number validation, validate some semantic ↵Felix Fontein2020-09-293-28/+140
| | | | | | | | | | | | versioning properties (#71679) * Validate removal versions. * Validate that removal collection versions and version_added collection versions conform to semver spec. * Validate removal version numbers in meta/runtime.yml. * Stricter validation for isodates (f.ex. YYYY-M-D is not allowed). * Improve error reporting. * Validate removal collection versions. Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* updates intersphinx references for docs links (#71921)Alicia Cozine2020-09-251-1/+1
| | | | | | | * DOCS: updates intersphinx references for docs links * TESTS: Raise the number of bytes scanned to determine if a file is binary. The newest ansible-2.10.inv file has its first null byte at position 2261. 4096 is still a cheap chunksize to read so it still makes sense to raise this. Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com> Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
* CI provider fixes for ansible-test. (#71929)Matt Clay2020-09-252-2/+11
| | | | | | | * Make Azure Pipelines resource_prefix lowercase. * Make classification of CI files consistent. * Update package-data sanity test for AZP.
* test: cloudstack: Use test-container 1.4.0 (#71905)René Moser2020-09-241-2/+1
|
* Remove em dash from the pytest configuration fileTadej Borovšak2020-09-141-1/+1
| | | | | | | | | | | | | | | | | | | On some systems (tested with official Debian Buster-based Python 3.6 docker image), setting the LC_ALL environment variable to en_US.UTF-8 will trigger Python into switching its preferred encoding to ASCII. If any python process tries to read a non-ASCII file in this scenario, it will terminate with an error. And this is exactly what happens to pytest when it tries to load its configuration that ansible-test supplies because the configuration contains an em dash. In order to bypass this issue, we replaced the em dash with a regular dash and things started working again. An alternative solution would be to replace the en_US.UTF-8 locale with something safer, but unfortunately, the en_US.UTF-8 is probably as safe as it gets.
* [tests] Bump container versions (#71518)Rick Elrod2020-09-021-2/+2
| | | | | | | | | Change: - This pulls in python 3.9.0rc1 Test Plan: - CI, hopefully Signed-off-by: Rick Elrod <rick@elrod.me>
* Use new endpoint for Parallels based instances.Matt Clay2020-09-011-2/+1
|
* Support macOS 10.15 for ansible-test --remote.Matt Clay2020-08-284-0/+15
| | | | Use of this new version is experimental, so it is not enabled in CI yet.
* Fix ansible-test coverage traceback. (#71446)Matt Clay2020-08-262-1/+2
| | | | | | | * Add integration test for ansible-test coverage. * Fix ansible-test coverage traceback. * Fix coverage reporting on Python 2.6.
* Update ansible-test remote endpoint handling. (#71413)Matt Clay2020-08-253-15/+33
| | | | | | | | | * Request ansible-core-ci resources by provider. * Remove obsolete us-east-2 CI endpoint. * Add new --remote-endpoint option. * Add warning for --remote-aws-region option. * Update service endpoints. * Allow non-standard remote stages. * Add changelog fragment.