summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix pip integration test.Matt Clay2018-01-312-2/+1
| | | | (cherry picked from commit ea70b49b11deb18add6a53102de0c0175d666bd2)
* loop doesn't exist in 2.4s-hertel2018-01-241-7/+7
| | | | (cherry picked from commit 6a6ae0cedeb58db5ab7990a3b1be87196123962c)
* Fix using loops with environment and add tests (#32796)Sloane Hertel2018-01-241-0/+90
| | | | (cherry picked from commit 7bb35e8781b46cb6024a6e45e76cb663185fe10d)
* Ensure that the become password is written on py3 in the ssh connection ↵Matt Martz2018-01-181-0/+1
| | | | | | plugin. Fixes #34727 (cherry picked from commit 29c1d5cb5d283c649a5bc30dce53b8e4875d01d3)
* Make xattr test conditional on feature support.Matt Clay2018-01-083-66/+74
| | | | (cherry picked from commit 77726b471f2fa610cb48a670126536c9583b23ff)
* Update FreeBSD completion for ansible-test.Matt Clay2017-12-051-2/+2
| | | | (cherry picked from commit 73132d3906b104c56246d72fa84ba646a651433b)
* Limit pytest < 3.3.0 for python 2.6.Matt Clay2017-12-051-0/+1
| | | | (cherry picked from commit 58286ef93bd74e5b62e3b6498a4e27307cabd90c)
* Limit paramiko to < 2.4.0 for python 2.6.Matt Clay2017-12-051-0/+1
| | | | (cherry picked from commit 5f5e150771933f0fbaf8fb109607cf607b54322b)
* Update vyos completion in network.txt.Matt Clay2017-11-221-2/+1
| | | | (cherry picked from commit 3a6fad38fa5003222f864d583dadf23700aa3ebe)
* Use vyos/1.1.8 in CI.Matt Clay2017-11-221-2/+2
| | | | (cherry picked from commit 887f22799489c32337adceba82f4b37def94b34a)
* Fix and re-enable zypper* integration tests in CI.Matt Clay2017-11-174-57/+13
| | | | (cherry picked from commit 781219bcfd14a67a06cdf10224827deca6c74316)
* WIP: Resolve CI issues for stable-2.3. (#32605)Matt Clay2017-11-069-13/+28
| | | | | | | | | | | | * Revert "If pip install requirements.txt fails, upgrade pip (#32399)" This reverts commit 2fb4f547a915755e21be401bb7fd3f4817505e89. * Avoid pep8 user warning in 1.7.1. * Limit cryptography version for Windows tests. * Upgrade pip in virtualenv for pip test. * Upgrade pip in virtualenv for groupby_filter test. * Upgrade pip in virtualenv for template_jinja2_latest test.
* If pip install requirements.txt fails, upgrade pip (#32399)John R Barker2017-11-064-11/+13
| | | | | | | | | | | | | | * If pip install requirements.txt fails, upgrade pip * Use pycodestyle instead of pep8 (#25947) (cherry picked from commit 4b3d6dfa8a10188995e1b027849540e1a440e88d) * Ignore more * pylint lint fixes * Ignore more
* Fix patching to epel packageMatt Martz2017-10-301-1/+1
| | | | (cherry picked from commit be9cc70b744d81520e529eadd281609796380df6)
* Backport ansible-test updates from devel.Matt Clay2017-10-122-32/+168
| | | | | The primary change is use of the new servers for provisioning remote OS X instances for use in CI.
* Fix wheel dependency on python 2.6. (#29388)Matt Clay2017-09-112-0/+2
| | | | | | | * Fix wheel dependency on python 2.6. * Limit wheel version for tox on python 2.6. (cherry picked from commit 50ae33d3c117bd18e9b63565d10017ce9041c7c1)
* less confusing 'args' message (#29053)Brian Coca2017-09-061-2/+2
| | | | | | | * less confusing 'args' message * fix test (cherry picked from commit fe3b4325c203c2665ff7da68c5150da12326cc14)
* Replace opensuse42.1 with opensuse42.3 in CI.Matt Clay2017-08-301-1/+1
| | | | (cherry picked from commit af9b0ba47badce395758f1a3a712ee6ddf38b093)
* removing tests cause they rely on 2.4 semanticsBrian Coca2017-08-1613-221/+0
|
* Fix PEP 8 issues.Matt Clay2017-08-161-11/+0
|
* alternatives: handle absent link, add integration tests (#27967)Pilou2017-08-1614-0/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alternatives: add integration tests * alternatives: handle absent link (fix AttributeError) Error occurred at least on Debian Stretch and OpenSuse 42.2: Traceback (most recent call last): File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 161, in <module> main() File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 113, in main current_path = current_path_regex.search(display_output).group(1) AttributeError: 'NoneType' object has no attribute 'group' update-alternatives stdout sample: dummy - manual mode link best version is /usr/bin/dummy1 link currently absent link dummy is /usr/bin/dummy * alternatives: PEP 8 fixes * alternatives: fix copyright in integration tests * alternatives: nested loops handle more than 2 items Thanks to Michael Scherer (@mscherer) for pointing that. * alternatives: enable integration tests (cherry picked from commit 016cd0691cea5a5e085d13c5f82b4f69b9214078)
* the smart transport is broken by ssh retry codeToshio Kuratomi2017-08-141-23/+23
| | | | | | | | | | | | | | | | | | | | 1fe67f9 introduced retries to the ssh connection put file and fetch file. Unfortunately, that change broke the smart transport because it started raising exceptions instead of returning from _run(). This breakage is documented in #23711. An attempt to fix it was made at #23717 but the first attempt was objected to as needing to touch too much code. The second attmept was objected to as smart was forced to encapsulate retries (thus retrying a sftp "rety" times before trying scp "retry" times and then finally moving onto piped). This third attempt has retries encapsulate smart. So each sub-transport is tried once and if all three fail, another retry attempt is made which tries each of the three again. Fixes #23711 Fixes #23717 (cherry picked from commit 3edac559d3b74848fb7b61879592338a890c9958)
* Fixes #23558 rpm key ids (#27847)schwatvogel2017-08-091-5/+25
| | | | | | | | * Changed rpm-keyid extraction and verification method * minor style fixes * fixed rpm key deletion,added integration test for mono key,fixed wording in integration tests (cherry picked from commit b8d371ca8b8578194c2da6212a0bf04f0fed0f82)
* added integration tests for rpm_key (#26134)David Newswanger2017-08-094-0/+87
| | | | (cherry picked from commit 5242ff1b59e2e9efb6c4982a9f82f66bb815eb60)
* win_find: fix for empty nested directories (#26164)Jordan Borean2017-08-071-24/+37
| | | | (cherry picked from commit 98fc54f02d355a38027fc8445f5651829ecbf891)
* Add potential work-around for expect on macOS.Matt Clay2017-07-311-1/+1
| | | | | | http://pexpect.readthedocs.io/en/stable/commonissues.html#truncated-output-just-before-child-exits (cherry picked from commit 0c7602fb598e13f140243d6e2cf736b3e6c28afc)
* include_role handlers bug fix (#26335)Will Thames2017-07-256-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | * Ensure that include_role properly fires handlers include_role needs to ensure that any handlers included with the role are added to the _notified_handler and _listening_handler lists of the TaskQueueManager, otherwise it fails when trying to run the handler. Additionally, the handler needs to be added to the PlayIterator's `_uuid_cache` or it fails after running the handler Add more uuid debug statements - this code was hard to debug with existing debug statements, so add more uuid information at little additional output cost. Fixes #18411 * Add tests for include_role handlers Tests for #18411 (cherry picked from commit ef8c9798d3399605284f3357069769b67330fd81)
* Expand the result from pwd to make the test more robustToshio Kuratomi2017-07-241-1/+1
| | | | | | | | Sometimes MacOSX's pwd doesn't return an expanded path. Not sure why but this test is still valid if we expand it via a playbook filter so go ahead and do that. (cherry picked from commit 6a41a4f31188822db2d60ff544f9775c6d4b90d6)
* Disable zypper* tests which are timing out.Matt Clay2017-07-242-2/+0
| | | | (cherry picked from commit d031ff8aec3ce8bb626c4db40cba9ecb1c6dfb98)
* Cherry pick EAPI tearup/down tests changes (#26938)Ricardo Carrillo Cruz2017-07-1827-36/+26
| | | | | | | | | | * Replace Ethernet5 for Ethernet2 on eos integration tests (#26674) In our CI, we only have 3 NICS: Management1, Ethernet1 and Ethernet2. (cherry picked from commit 4006b5d18f076fbcf7bad3945fb7a75f322a5415) * Add CHANGELOG entry
* Cherry pick eapi tearup down changes (#26935)Ricardo Carrillo Cruz2017-07-187-26/+77
| | | | | | | | | | | | | | * Remove enable EAPI from prepare_eos_tests (#26910) Enabling EAPI is not common on CLI *and* EAPI tests, therefore enabling it should be put at the eapi.yaml task level. (cherry picked from commit 258d2058cdb809cdbce9f222bf91730d6e6022f9) * Add missing provider on disable eapi tasks (#26928) (cherry picked from commit 4532c791fd2895203a7141b5a35c52e54ab47736) * Add CHANGELOG entry
* Cherry pick 2.4 eos banner fixes (#26904)Ricardo Carrillo Cruz2017-07-177-142/+162
| | | | | | | | | | | | | | * Fix multiple EOS EAPI code and test issues (#26651) (cherry picked from commit b81209c1879c8a0625016bb39c0fbb1aaf2104be) * Fix eos_banner basic-motd eapi asserts (#23398) The commands in EAPI does not contain the plain command sent to the device as a one liner, but it is split in cmd/input keys. (cherry picked from commit ce9826d76e9856163ffddf81512c2b60b6fa97ae) * Add CHANGELOG entry
* privilege escalation for eos integration test (#26597)Trishna Guha2017-07-101-0/+1
| | | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* win_regedit: fix for same dword value (#26415)Jordan Borean2017-07-051-0/+22
| | | | (cherry picked from commit 8e9d04043ae1ac8ed4fe458396748e127ab78bb8)
* converted become runas to explicit CreateProcessWithLogonWMatt Davis2017-07-032-0/+88
| | | | | | | | | * fixes become_method: runas for unprivileged users * sets permissions on tempdir appropriately * allows automatic system environment generation for new token (old Process.Start way prevents this) * add basic become runas tests (cherry picked from commit 6d99a0a93469448a2fd23169e31036263102e7e1)
* Remove trailing newlines (#26350)John R Barker2017-07-031-1/+0
|
* Remove test of openvswitch_db state (#26349)John R Barker2017-07-031-27/+0
| | | The `state:` option didn't exist in Ansible 2.3, so don't test it.
* Missing prepare_ovs_tests directory (#26337)Yanis Guenane2017-07-031-0/+15
| | | | | | | | | openvswitch_db tests have been backported from devel to stable-2.3[1], but the role to prepare_ovs_tests was missing from the backport, hence the test, when run complained about missing roles. This commit aims to bring this directory into stable-2.3 tree. [1] https://github.com/ansible/ansible/pull/26330
* Add openvswitch_db tests (#26330)John R Barker2017-07-027-0/+119
| | | | | | openvswitch_db tests were added during 2.4 development, though the module still existed in 2.3, so backport the tests. This is needed for distributed-ci.
* Limit yamllint version on python 2.6.Matt Clay2017-06-291-0/+1
| | | | (cherry picked from commit 55aec8ebc935b8002ef8b48aeab320a138749142)
* re-enable non-pipelined mode for Powershell (#26124)Matt Davis2017-06-263-29/+32
| | | | | | * fixes #23986 * fixes 3rd-party Windows connection plugins that don't support pipelining (eg awsrun) (cherry picked from commit 6677559c698f15c582fba80d866f46458848f974)
* Update FreeBSD pg test to use postgresql95-server.Matt Clay2017-06-261-2/+2
| | | | | | | | The py-psycopg2 package now requires postgresql95-server instead of postgresql93-server. Installing py-psycopg2 will automatically remove postgresql93-server if it is installed, breaking integration tests. (cherry picked from commit 15beaed6bc5dc3261b0fbb3dde5737d8dc27d25f)
* MySQL Password updates (#25825)John R Barker2017-06-195-8/+8
| | | | | | | | * MySQL Password updates * Disable user_password_update_test (cherry picked from commit 448efdb9e56fe209705778f20ae871123ae3ebbc)
* Update docs based on 23946 (#25860)John R Barker2017-06-191-1/+0
| | | | | | | | * Update docs based on 23946 Original PR https://github.com/ansible/ansible/pull/23946 * files/copy.py is now clean
* Use stronger password for MySQL (#25821) (#25822)John R Barker2017-06-171-6/+6
| | | | | Previously we were getting "Your password does not satisfy the current policy requirements" Possibly caused by a software update on Fedora (cherry picked from commit 7ee7fa7332bddce22bd88f34520c1309ea81f7ef)
* Reenable git tests (#25341)Robin Roth2017-06-052-8/+8
| | | | | | | * Revert "Temporarily disable failing git test." * Use correct hash for depth=1 test (cherry picked from commit 8f7c8ef3a5f49ae7e625a5ac8c793619666974d2)
* Temporarily disable failing git test.Matt Clay2017-06-041-1/+1
| | | | (cherry picked from commit dab1b1fe5b75f61a883abc6174ca84231756fc12)
* Add missing provider on basic-motd IOS test (#25307)Ricardo Carrillo Cruz2017-06-021-0/+1
| | | | | Without this it fails, as it needs elevated privs. (cherry picked from commit ffc74fdca294830f335578fd9f6611141efe462d)
* Temporary work-around for setuptools 36.0.0 bug. (#25243)Matt Clay2017-06-013-0/+5
| | | | | | | | * Temporary work-around for setuptools 36.0.0 bug. * Use older setuptools for pip integration test. * Limit isort version to avoid new test failures. (cherry picked from commit 9d8aa43c67169dfcaba7d9de27b69d02c761f7de)
* Add provider param to prepare_iosxr_tests role tasks (#25163)Ricardo Carrillo Cruz2017-06-011-0/+1
| | | | | This will avoid passing -u -k to ansible-playbook (cherry picked from commit 69efb610085f6fe5c5abf36d3c89d8f7dab130d9)