summaryrefslogtreecommitdiff
path: root/test/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add fedora27py3 Dockerfile.Matt Clay2018-01-051-0/+71
|
* Update httptester.yml to match Dockerfile (#34508)Matt Martz2018-01-051-9/+11
|
* Fix httptester Dockerfile so it builds again.Matt Clay2018-01-041-6/+6
|
* Add Azure provider support to ansible-test and CI.Matt Clay2017-12-065-5/+22
| | | | ci_complete
* Use vyos/1.1.8 in CI.Matt Clay2017-11-221-2/+2
|
* Improve zypper refresh/clean for opensuse images.Matt Clay2017-11-172-4/+4
|
* Add missing ansible-test --remote-terminate support. (#32918)Matt Clay2017-11-142-2/+16
| | | | | | | | | | | * Expand ansible-test --remote-terminate support: - windows-integration - network-integration These commands previously accepted the option, but did not support it. * Terminate windows and network instances when done.
* Provide details via DCI Env (#32770)John R Barker2017-11-091-8/+0
|
* Use same TEST seperater as Shippable (#32758)John R Barker2017-11-091-1/+1
|
* Remove debug (#32736)John R Barker2017-11-091-3/+6
| | | | * Make script executable * Tidy up comments
* Specify branch details, add verbose, disable colour (#32731)John R Barker2017-11-091-1/+7
|
* Script to generate DCI Coverage (#32550)John R Barker2017-11-031-0/+32
|
* Update ansible-test sanity command. (#31958)Matt Clay2017-10-265-28/+17
| | | | | | | | | | | | | | | | | | | | | | | | * Use correct pip version in ansible-test. * Add git fallback for validate-modules. * Run sanity tests in a docker container. * Use correct python version for sanity tests. * Pin docker completion images and add default. * Split pylint execution into multiple contexts. * Only test .py files in use-argspec-type-path test. * Accept identical python interpeter name or binary. * Switch cloud tests to default container. * Remove unused extras from pip install. * Filter out empty pip commands. * Don't force running of pip list. * Support delegation for windows and network tests. * Fix ansible-test python version usage. * Fix ansible-test python version skipping. * Use absolute path for log in ansible-test. * Run vyos_command test on python 3. * Fix windows/network instance persistence. * Add `test/cache` dir to classification. * Enable more python versions for network tests. * Fix cs_router test.
* Enable tracing and log collection in the vcsim containerJames Tanner2017-10-162-2/+16
|
* Remove cryptography install from CI other test.Matt Clay2017-10-121-4/+0
|
* Switch CI for OS X back to a single job. (#31265)Matt Clay2017-10-035-13/+37
| | | | | * Update Shippable scripts for group/non-group use. * Switch CI for OS X back to a single job.
* Run OS X and FreeBSD CI tests using groups. (#31254)Matt Clay2017-10-039-19/+22
| | | | | * Run OS X and FreeBSD CI tests using groups. * Improve readability of Shippable jobs.
* Add an option to spawn vcsim in esx mode (#31155)jctanner2017-10-021-6/+18
|
* Run all Windows tests if change detection disabled (#30320)Matt Clay2017-09-131-5/+3
| | | | | * Run all Windows tests if change detection disabled * Run all Windows versions if change detection disabled
* Divide Windows integration tests into 2 groups. (#29029)Matt Clay2017-09-051-3/+18
| | | | | | | * Divide Windows integration tests into 2 groups. * Support `none` for `--changed-all-target`. * Run 2 separate Windows groups on Shippable. * Only run smoketest and minimal for the group1 job.
* Split cloud tests into two CI groups.Matt Clay2017-09-011-2/+2
|
* Add safety check for Shippable "Rebuild with SSH" (#28857)Matt Clay2017-08-311-0/+2
| | | | | * Add safety check for Shippable "Rebuild with SSH". * Run shippable.py for the `other` test.
* Switch default cloud tests to smoketest.Matt Clay2017-08-181-1/+1
|
* [passwordstore] Use builtin _random_password function instead of pwgen (#25843)3onyc2017-08-1412-0/+12
| | | | | | * [password] _random_password -> random_password and moved to util/encrypt.py * [passwordstore] Use built-in random_password instead of pwgen utility * [passwordstore] Add integration tests
* Add opensuse42.3 docker image.Matt Clay2017-08-051-0/+77
|
* Add Fedora Python 3 Docker images and fix tests. (#27794)Matt Clay2017-08-042-0/+139
| | | | | | | | | | | | | | * Add new Fedora docker images with Python 3. * Use consistent env var for lookup test. * Fix testing of virtualenv with Python 3. * Fix docker_secret tests on Fedora 26. * Add Python 3 support to Fedora postgresql test. * Add Python 3 support to Fedora mysql tests. * Fix uri test server for Python 3 on Fedora. * Fix iso_extract test for Python 3 on Fedora. * Add Python 3 support for Fedora to openssl tests. * Fix dnf group test for Python 3 on Fedora. * Use force with user deletion in become test.
* Update vcenter-simulator base to fedora:26 image.Matt Clay2017-08-041-1/+1
| | | | This is required because govmomi now requires go 1.8+ to be installed.
* Optimize running of CI cloud integration tests.Matt Clay2017-07-141-0/+1
|
* Use subset of Windows tests for "all" tests. (#26830)Matt Clay2017-07-141-24/+18
|
* Add sanity import test to ansible-test. (#26730)Matt Clay2017-07-121-2/+2
| | | | | * Add sanity import test to ansible-test. * Run sanity import test on all python versions.
* Add RHEL 7.3 to ansible-test and CI. (#26550)Matt Clay2017-07-071-0/+14
| | | | | * Add support for RHEL to ansible-test. * Enable RHEL 7.3 on Shippable.
* Update tox.ini to use ansible-test.Matt Clay2017-06-302-34/+0
|
* Modify flask_control for vmware_host test suites (#26175)Abhijeet Kasurde2017-06-291-6/+51
| | | | | | Fix adds additional helper methods to get information about host system from vcsim Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Add sshpass to Dockerfile for Ansbile integration testsAlexander Braverman2017-06-2910-0/+10
|
* Cyptography pr 20566 rebase (#25560)Toshio Kuratomi2017-06-272-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make pyca/cryptography the preferred backend for cryptographic needs (mainly vault) falling back to pycrypto pyca/cryptography is already implicitly a dependency in many cases through paramiko (2.0+) as well as the new openssl_publickey module, which requires pyOpenSSL 16.0+. Additionally, pyca/cryptography is an optional dep for better performance with vault already. This commit leverages cryptography's padding, constant time comparisons, and CBC/CTR modes to reduce the amount of code ansible needs to maintain. * Handle wrong password given for VaultAES format * Do not display deprecation warning for cryptography on python-2.6 * Namespace all of the pycrypto imports and always import them Makes unittests better and the code less likely to get stupid mistakes (like using HMAC from cryptogrpahy when the one from pycrypto is needed) * Add back in atfork since we need pycrypto to reinitialize its RNG just in case we're being used with old paramiko * contrib/inventory/gce: Remove spurious require on pycrypto (cherry picked from commit 9e16b9db275263b3ea8d1b124966fdebfc9ab271) * Add cryptography to ec2_win_password module requirements * Fix python3 bug which would pass text strings to a function which requires byte strings. * Attempt to add pycrypto version to setup deps * Change hacking README for dual pycrypto/cryptography * update dependencies for various CI scripts * additional CI dockerfile/script updates * add paramiko to the windows and sanity requirement set This is needed because ansible lists it as a requirement. Previously the missing dep wasn't enforced, but cryptography imports pkg_resources so you can't ignore a requirement any more * Add integration test cases for old vault and for wrong passwords * helper script for manual testing of pycrypto/cryptography * Skip the pycrypto tests so that users without it installed can still run the unittests * Run unittests for vault with both cryptography and pycrypto backend
* Update Flask controller for latest testsuites (#26125)Abhijeet Kasurde2017-06-271-10/+93
| | | | | | Fix adds GPL Licence and few improvements to accommodate new testsuites. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Docker image updates for integration tests. (#26054)Matt Clay2017-06-2310-22/+32
| | | | | | | | | | * Sort packages to install. * Add python-argparse to centos6 docker image. * Add gcc and python dev lib to docker images. * Add python cryptography to docker images. * Add coverage using pip instead of OS packages. * Update old pip versions in docker images. * Exclude */pyshared/* from coverage reporting.
* Vcsim container (#25236)jctanner2017-06-213-0/+223
| | | | | * Add container files for vcenter simulator * Add controller file to spin up the container during tests
* Add deps for cryptography to the Docker images (#25580)Toshio Kuratomi2017-06-1210-3/+29
|
* Revert the accidental addition of python-lxml (#25432)Dag Wieers2017-06-071-1/+0
| | | | | | | I inadvertedly added python-lxml to the cloudstack-simulator Dockerfile. This PR reverts this specific change. This relates to PR #25324
* Add tzdata back (#25433)John R Barker2017-06-074-0/+4
| | | | It appears that the base Docker images have removed tzdata. We use tzdata in the debconf tests, so add it back.
* Add python-lxml to docker images (#25324)Dag Wieers2017-06-0711-2/+13
|
* cloudstack: test: improve startup time, fix network dependency on run (#24876)René Moser2017-05-222-2/+4
|
* Increase python version coverage for tests. (#24762)Matt Clay2017-05-192-16/+61
| | | | | | | | | | | | | | | | * Improve ansible-test inventory handling. * Fix python 3 re-raise of exception from thread. * Fix python 3 encoding for windows-integration. * Run network tests on multiple python versions. * Run windows tests on multiple python versions. * Support Shippable delegation using --tox. * Skip vyos_command on python 3 tests until fixed. * Add python 3 filtering to local and tox. * Fix tests to support back to back runs. * Temporarily test networking with python 2.7 only. Running the tests back to back causes intermittent test failures which need to be addressed before we can test multiple versions in a single test run.
* Clean up Shippable tools and update job handling.Matt Clay2017-05-174-384/+185
| | | | | | | | | - Tools are now in a tools subdirectory. - Removed obsolete ansible-core-ci tool. - Added run.py for starting new CI runs. - Improved handling of run IDs and URLs. - General code cleanup and docs updates. - Nightly CI runs use complete coverage.
* Fix run filter on Shippable downloader.Matt Clay2017-05-171-1/+1
|
* Add --all and --stub coverage options.Matt Clay2017-05-161-1/+9
| | | | | ci_coverage ci_complete
* Enable codecov.io and add coverage grouping.Matt Clay2017-05-151-2/+24
|
* Improve on-demand coverage for Shippable.Matt Clay2017-05-149-19/+47
|
* Implement on-demand coverage on Shippable. (#24535)Matt Clay2017-05-148-10/+25
|