summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [stable-2.7] Add constraints for Jinja2 on Python 2.6. (#66826)Matt Clay2020-01-273-1/+4
| | | | | | | | | | | * 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 965854fbd2107ddc1449d9463c47f1e0f8525727) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.7] Ignore warnings in ansible-test environment check.Matt Clay2020-01-141-0/+3
| | | | | | (cherry picked from commit 3db1ac4f56cfd781bc531c5223c7fe748994c588) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.7] Add test constraint for setuptools. (#66426)Matt Clay2020-01-132-1/+6
| | | | | | | | | * Add test constraint for setuptools. * Update pip test to work on centos6 container.. (cherry picked from commit 51e5b714e040dd21b1528866d0e13d2672160678) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.7] Add ansible-test constraint to avoid coverage 5.0+.Matt Clay2020-01-101-1/+1
| | | | | | (cherry picked from commit 9ea5b539b60cb7035f08ac17688976a8e6dfb126) Co-authored-by: Matt Clay <matt@mystile.com>
* Ignore false positive in sanity test.Matt Clay2020-01-101-0/+2
|
* [stable-2.7] Disable failing azure_rm_storageaccount test.Matt Clay2019-12-201-0/+1
| | | | | | (cherry picked from commit 342b9953bcc47278de4a31e5c7c97d0037431093) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.7] Fix 'Assert CNAME failure' assertion (#65875)Justin Ossevoort2019-12-201-1/+1
| | | | | | (cherry picked from commit 14ebceec25) Co-authored-by: Justin Ossevoort <github@internetionals.nl>
* win_psmodule - remove reliance on PSGallery in the tests for stable-2.7 (#64468)Jordan Borean2019-11-0711-145/+293
| | | | | | * win_psmodule - remove reliance on PSGallery in the tests for stable-2.7 * Ignore non-powershell files from sanity check
* [stable-2.7] Properly mask no_log values is sub parameters during failure ↵Sam Doran2019-10-145-0/+121
| | | | | | | | (#63405) (cherry picked from commit 156330b485) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.7] Fix STS assume role error message when role does not exist (#63249)Jill R2019-10-141-2/+2
| | | | | | | | AWS appears to have changed this error message again. Fixes https://app.shippable.com/github/ansible/ansible/runs/145643/115/tests (cherry picked from commit ce402f003f) Co-authored-by: Jill R <4121322+jillr@users.noreply.github.com>
* [stable-2.7] Wrap CLI passwords as AnsibleUnsafeText (#63352) (#63392)Matt Martz2019-10-115-0/+42
| | | | | | | | | | | | | | | | | | | | | * [stable-2.7] Wrap CLI passwords as AnsibleUnsafeText (#63352) * isa string should rewrap as unsafe in get_validated_value * _is_unsafe shouldn't be concerned with underlying types * Start with passwords as text, instead of bytes * Remove unused imports * Add changelog fragment * Update changelog with CVE. (cherry picked from commit baeff7462d5d877b6849aa78f50860e7d10ce950) Co-authored-by: Matt Martz <matt@sivel.net> * Update tests
* Fix pylint issue.Matt Clay2019-10-011-1/+1
|
* Limit Shippable matrix check to ansible repo.Matt Clay2019-10-011-0/+7
| | | | (cherry picked from commit ada02f1966efa1957587bd9d763a5c86fdb19602)
* Replace old shippable.py with new check_matrix.py. (#60022)Matt Clay2019-10-015-109/+109
| | | | | | | | 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 d3da8e4a5b7c87ea6bb4f1345300ddb0a833a6b2)
* [stable-2.7] Mark ansible-test cloud credentials as sensitive..Matt Clay2019-09-173-0/+9
| | | | | | (cherry picked from commit 9f7b124a6fe616c3fd06d500c1a6f6969c57ba2d) Co-authored-by: Matt Clay <matt@mystile.com>.
* [stable-2.7] Mark AWS credentials in ansible-test as sensitive.Matt Clay2019-09-171-0/+3
| | | | | | | 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>
* [stable-2.7] Redact sensitive values by default in ansible-test.Matt Clay2019-09-173-4/+14
| | | | | | (cherry picked from commit 0631e057e9124af1d1676def456d49c6e0c16404) Co-authored-by: Matt Clay <matt@mystile.com>.
* Mark aws_s3 tests as unstables-hertel2019-09-041-0/+1
|
* Update Fedora 29 test imageGonéri Le Bouder2019-09-031-1/+1
| | | | (cherry picked from commit 3d78dad84b5efd990e23a1a009ceea49422eaab6)
* [stable-2.7] Start dbus when setting up postgresql tests.Matt Clay2019-08-151-0/+6
| | | | | | (cherry picked from commit c309570540) Co-authored-by: Matt Clay <matt@mystile.com>
* Remove Python 2.6 from Windows tests (#60235)Jordan Borean2019-08-091-1/+0
| | | | (cherry picked from commit 3a3727d20039cef446518097a3a8e5c1f251e1b8)
* [stable-2.7] Wait for Ansible Tower instance to be readySam Doran2019-08-021-0/+1
| | | | | | (cherry picked from commit ea209e1c2f) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.7] Re-enable docker_container tests (#59425)Felix Fontein2019-07-241-0/+1
| | | | | | | Mark dependent container's ipc_mode as shareable (cherry picked from commit 266d6e77a9) Co-authored-by: Felix Fontein <felix@fontein.de>
* disable s3_lifecycle tests (#59311)Sloane Hertel2019-07-221-0/+1
| | | | (cherry picked from commit 1d3f2c77642bcd4f0cef761bad7e30ebf9d33906)
* Correct a documentation of the jenkins_plugin module (#59330)Wojciech Sciesinski2019-07-221-1/+0
| | | It's a backport of #59139
* [stable-2.7] Improve setup_docker tests to work with RHEL 8 GA (#58649)Sam Doran2019-07-1714-38/+120
| | | | | | | | | | - use include_vars to set appropriate packages and pip packages per distribution and version - install an older version of Docker CE on RHEL 8 since a dependency is unavailable - disable warnings on tasks that are ok - skip tests for CentOS/RHEL 6. (cherry picked from commit d50c8c2b83e4ccf9b0bf4bdc4f26ebd2346df255) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.7] Improve dnf test formatting and fix RHEL 8 module name (#58648)Sam Doran2019-07-175-28/+22
| | | | | | | | | | - use single include_vars task rather than multiple set_fact tasks - use multi-line YAML to break up long conditionals - use version() test rather than direct comparisions - use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA. (cherry picked from commit 16d6fcf5148e2a527f5c6e2603490a2e79500a91) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.7] Skip tests with unsatisfied deps (#55853)Toshio Kuratomi2019-07-013-53/+103
| | | | | | | | | | | | | | | | * Skip gitlab tests if dependencies aren't met * Skip certain unittests if passlib is not installed * Fix tests with deps on paramiko to skip if paramiko is not installed * Use pytest to skip for cloudstack If either on Python-2.6 or the cs library is not installed we cannot run this test so skip it. (cherry picked from commit 8acf71f78fce89d70a58fc45ee528003c4785e6b) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
* Make nuage_vspk test more reliableSam Doran2019-06-262-8/+21
| | | | | | | | - don't background the nuage-vsd-sim - increase the asncy timeout - use uri to actually query the simulator API to make sure it is ready for connections (cherry picked from commit 911a2ec6d3aad72eb72f6a9b1401777332402a5d)
* [stable-2.7] Fix nuage_vspk integration test:Matt Clay2019-06-263-12/+6
| | | | | | | | - Wait for API to be ready. - Enumerate test cases on controller. (cherry picked from commit 29de0619e860cd1dad111b3572aed42c90929cbf) Co-authored-by: Matt Clay <matt@mystile.com>
* [2.7] docsite: remove lexers which have been fixed in Pygments 2.4.0 (#58101)Felix Fontein2019-06-261-0/+1
| | | | | | | | | | | | | * 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 505c99265ca6e9c75a3c9793b999cbdc46de1956) * fixes 'could not lex literal_block' errors
* [stable-2.7] Add Fedora 30 to test matrix (#57713)Sam Doran2019-06-241-1/+1
| | | | | | | Remove Fedora 28 from test matrix. (cherry picked from commit 7b9d991f78b1916fb0019bdd110f3582d4afb871) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.7] Add work-around for scp issue in tests.Matt Clay2019-06-211-1/+14
| | | | | | (cherry picked from commit 414ac12ddd785bd0a5b534d7b1571269ee8380ae) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.7] passwordstore lookup - replace expired GPG key (#58141)Sam Doran2019-06-203-71/+152
| | | | | | | | - Replace private key that expired an 2019-06-20 with a key that does not expire - Document how to generate a new GPG key using an input file (cherry picked from commit b9d77b997e) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.7] Change integration tests in order to pass on Fedora 30 (#58081)Sam Doran2019-06-195-36/+57
| | | | | | | | | | | | | | | | | | | * Use different package for DNF tests Ninja caused errors in Fedora 30. This works in both Fedora 29 and 30. * Fix git integration tests Git >= 2.21.0 has either a bug or change in behavior where it errors when fetching a repository containing submodules that are behind the upstream submodule commits. It's weird and I don't fully understand it. Get around this my checking out specific commits from a repository rather than switch the origin URL. * Fix PostgreSQL tests The error message is slightly different. (cherry picked from commit 18feeb51a88e221bbfaaaaf4d466d5b3330e429d) Co-authored-by: Sam Doran <sdoran@redhat.com>
* safe_eval fix (#57188)Brian Coca2019-06-175-5/+59
| | | | | | | | | | | * just dont pass locals - also fix globals - added tests * fixed tests (cherry picked from commit b9b0b230150eceb442c34c917d9e852d5e8b7371)
* docs: correct default for assemble module remote_src param (#57636)Alicia Cozine2019-06-101-1/+0
| | | | | * docs: correct default for assemble module remote_src param * update ignore.txt now that test passes
* [stable-2.7] Limit tests to paramiko < 2.5.0.Matt Clay2019-06-101-0/+1
| | | | | | (cherry picked from commit 1e6edf2ccc970e790692df819f22ead4e28ec0b4) Co-authored-by: Matt Clay <matt@mystile.com>
* Fix assignments in docker tests. (#57249)Felix Fontein2019-06-037-9/+9
| | | | (cherry picked from commit 7cd229aa972a249bd8648cdeb327cc0352fc82b2)
* ansible-test: prefer shlex.quote (#56823)Martin Krizek2019-05-283-9/+13
| | | | (cherry picked from commit 484c0233169a6e037a3ce57830114e51d00898af)
* [stable-2.7] Validate types before asserting lengths (#56882)Matt Martz2019-05-241-4/+4
| | | | | | (cherry picked from commit 9c5b721) Co-authored-by: Matt Martz <matt@sivel.net>
* [stable-2.7] win_get_url: ignore defender false positive in tests (#56825)Matt Clay2019-05-232-0/+52
| | | | | | | | | * [stable-2.7] win_get_url: ignore defender false positive in tests (#56812) (cherry picked from commit 124400f319e7dab576b0c1417afbabde5fa44331) Co-authored-by: Jordan Borean <jborean93@gmail.com> * Adapt tests to work without remote_tmp_dir.
* Backport/2.7/55695 (#56253)Strahinja Kustudic2019-05-201-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | * sysctl will now return an error if the value is invalid sysctl can fail to set a value even if it returns an exit status 0. More details: https://bugzilla.redhat.com/show_bug.cgi?id=1264080. Because of this in case of an invalid value or a read-only file system, sysctl module would return OK, even though it didn't set anything. To be sure that sysctl correctly applied the changes we also need to check the output of stderr. (cherry picked from commit 0432b7f2522dbf82c4fabdb3fd17f7ac83f34e62) * Run sysctl with LANG=C Because we are parsing sysctl stderr we need to make sure that errors are persistent across different system language settings. (cherry picked from commit a16128f778b1e7574c5986aed26e146ac0561533) * Add changelog fragment for sysctl (cherry picked from commit 3ad9d4d83c1d2bbfccefb8388904c596d98f8731)
* Fix vyos_command integration test (#56091)Paul Belanger2019-05-201-17/+32
| | | | | | | | | This has been broken for some time, but only noticed recently. Because vyos_command isn't supported on ansible_connection=local, update our testing to account for that. Signed-off-by: Paul Belanger <pabelanger@redhat.com> (cherry picked from commit 59d20e004e0e76b7746bb2047dd3815d9bbfcdf1)
* [stable-2.7] Changing the license to Apache 2EvgenyF2019-05-201-0/+32
| | | | | | (cherry picked from commit ea4842c0d3312e941e0d0feac11f3ce0b9925759) Co-authored-by: EvgenyF <evgenyf@radware.com>
* oom_killer and oom_score_adj are available since docker-py 1.8.0. (#56012)Felix Fontein2019-05-201-18/+0
| | | | | | | | * oom_killer and oom_score_adj are available since docker-py 1.8.0. * Add changelog. (cherry picked from commit f692261ea01032ffc6bdc55a6cd1794928dd89cf)
* Adjust to stable-2.7 return value names.Felix Fontein2019-05-201-4/+4
|
* docker_container: use restart() API function instead of stop/start sequence ↵Felix Fontein2019-05-202-108/+121
| | | | | | | | | | | | | | | | | | (#55894) * Improve container restart. * Adjust tests. * Add changelog. * Quote options. * Move tests for restart/recreate options to start/stop tests. * Fix changelog name. (cherry picked from commit 95d1564f703eda5ac5691b43b172513c0d5effcb)
* win_acl - fix network path qualifier parsing (#55970)Jordan Borean2019-05-172-0/+43
| | | | (cherry picked from commit cc3b8b9f729a6176434a6e76d9940869b8b226c5)
* [stable-2.7] Bump erlang ping to 1:20.3.8.18-1Matt Martz2019-05-161-1/+1
| | | | | | (cherry picked from commit 4b00141) Co-authored-by: Matt Martz <matt@sivel.net>