| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This change allows ansible-test to work with newer versions of git on AZP..
(cherry picked from commit bad8843124a50493141a3e3d7920353239021389)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit 31658031ed40f3db002b690b436b793634c2b5e7)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
| |
- Support loading of vendored Python packages.
- Exclude vendored Python packages from payloads.
(cherry picked from commit 6bfe6b899a4881ebc065834a43a26e123d7fdab3)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
Always indicate the Python version being used before installing requirements.
(cherry picked from commit 5e3db6e44169aa88cd027f469eea96f1f17fea95)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character.
(cherry picked from commit e6cffce0eb58ba54c097f4ce7111bb97e6805051)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.14] ansible-test - Fix file permissions for delegation (#79932)
* ansible-test - Fix file permissions for delegation
* Set more restrictive permissions for SSH key
* Check all execute bits, not just owner
* Add a breaking_changes changelog entry
(cherry picked from commit c8c1402)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix collection delegation (#79947)
(cherry picked from commit 079383384790310dd6722b08ac18990e2a4d0ed9)
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80152)
* [stable-2.14] ansible-test - Fix pylint error with old home dir (#80151)
(cherry picked from commit 27287b40c0605e583145538ac072260095c139d7)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix error with missing pylint home (#80155)
(cherry picked from commit 367d45facd3af9bbc8159e4371d94e95629bed6d)
|
|
|
| |
(cherry picked from commit 7c62cdeecd4834a1ca38a01e42ea07e33044de19)
|
| |
|
| |
|
|
|
|
|
| |
also added tests for normal and bad cases
(cherry picked from commit 281474e809a0a76f6a045224d9051efda6e1f0ec)
|
|
|
|
|
| |
Fixes #79968
(cherry picked from commit bd329dc54329a126056723311abd7442ed6a0389)
|
|
|
|
|
|
|
|
|
|
|
| |
(#79913) (#79964)
* don't ignore templated _raw_params that k=v parser failed to parse (#79913)
fixes #79862
(cherry picked from commit e1d298ed61eed9250752fbd25ac8eae4944ec1bf)
* backport test change to runme.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#79808) (#79826)
* add null 'manifest' key to metadata for git repo collections containing MANIFEST.json
changelog
* set to Sentinel instead of None
* Test installing a collection in a git repo that contains a MANIFEST.json
* fix test
* Update changelogs/fragments/ansible-galaxy-install-git-src-manifest.yml
(cherry picked from commit 321848e98d9e565ee3f78c8c37ca879a8e3c55c1)
|
|
|
|
|
| |
Fixes #79776
(cherry picked from commit 10eda5801ad11f66985251b5c3de481e7b917d3c)
|
|
|
|
|
|
| |
(cherry picked from commit 67d49734f732f543c0b8d7713466c0aa3b8f484f)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
| |
(cherry picked from commit 5fb8bc3ddb40c3f09f76d2237951c7754ba27add)
|
|
|
|
|
| |
(#79977)
(cherry picked from commit d48d1c23df171074e799717e824a8c5ace470643)
|
|
|
|
|
| |
(cherry picked from commit 0a12d8a5bc820e5d12805af41b80351d0b635e63)
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
|
|
|
|
|
| |
Error handling on Python 3.x no longer requires the use of `errno` to identify specific errors.
(cherry picked from commit f9715f436ce0590a5441fa7f13c1aa60cdeb6585)
|
|
|
| |
(cherry picked from commit 83fe75db07cb55dc2efeb437ce20b9d4462860c3)
|
| |
|
| |
|
|
|
|
|
| |
Fixes #79763
(cherry picked from commit 4f5ed249727dc0c271e07b045e514cc31e25c2de)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
suboptions, and fix warning message in suboptions when two aliases of the same option are used (#79740) (#79770)
* Normalize deprecation records.
* Fix alias deprecations in suboptions.
* Report in which option an alias warning happened for suboptions.
* Add deprecation tests for suboptions.
* Also test deprecation in list of dicts.
* Adjust unit tests for toplevel alias deprecation field name change.
(cherry picked from commit 8a7185c224eb6e116d1233d37d57bbbb223cb5bb)
|
|
|
|
|
|
|
| |
* filter/test plugin listing, fix bug on file sorting
avoid legacy/builtin special casing for 'all'
(cherry picked from commit b7e948e6230fc744af6ac3c5c6f42fa1516eeeb8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of deprecated arguments for modules (#79738)
* fix role argument spec error for invalid suboptions (#76578)
fixes https://github.com/ansible/ansible/issues/75536
(cherry picked from commit b5b239fd715d7c543562a6119db18699c00df582)
* Fix reporting of deprecated arguments for modules. (#79681)
(cherry picked from commit 1a47a21b65d3746a9feeeceea0cf15eaf011efef)
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#79727)
* Ensure we are passing ciphers to all url_get calls. Fixes #79717
* Add clog frag
* Fix tests
(cherry picked from commit 2143bcd)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
| |
* Better json content type detection for uri
* typo
(cherry picked from commit 74cdffe)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
| |
certs at the global level (#79561) (#79696)
Fix ignoring certs when downloading tarballs
Fix ignoring certs when downloading a collection from a specific source that isn't in the configured servers list
(cherry picked from commit acbf4cc60e9338dc08421c8355d69bfcdfde0280)
|
|
|
|
|
|
|
| |
Fixes #79711
ci_complete
(cherry picked from commit e38b3e64fd5f9bb6c5ca9462150c89f0932fd2c4)
|
|
|
|
|
|
|
|
|
|
| |
* ansible-test - fix ps argspec check inside cmdlet
* Added error condition test
* Fix sanity problem
(cherry picked from commit ee33be9484b2240aa7b6b3bfdb30b452b6048e85)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* validate-modules: don't fail on invalid YAML
When validate-modules encounters invalid YAML (e.g. in the EXAMPLES
section), it tries to reformat the exception to include the line number
in the Python file instead of the line number of the embedded YAML
document. However, PyYAML doesn't allow modification of the Mark object
(anymore) which leads to a new exception being raised, instead of
reporting the original exception.
As the original exception is not needed in other places anymore, we
don't have to modify it at all and can just compute the right line
number when reporting the error via ansible-test.
Fixes: #75837
* Add test for invalid module doc YAML syntax.
Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit a7111c4dbb91e912aeb799d9728ce739f2ae83d3)
Co-authored-by: Evgeni Golov <evgeni@golov.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Also improve the ansible-test-container integration test:
- Add coverage for the no-probe code path.
- Add work-arounds for centos6 containers (to support backporting).
- Avoid systemd debug when the container doesn't use cgroup.
(cherry picked from commit 04fc98c794d425a42f83a062c163c981d8751512)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit 75b60b17ee1ff18ded04cf07b71e4ee32e673a0b)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit dcc08eec35fde72845d121859abf1ffef1e9030f)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
| |
* Fix file touch check mode result (#79360) (#79422)
Fixes #79360
(cherry picked from commit 3936b5c471068d86c3e51a454a1de2f0d2942845)
* Rename changelog fragment according to PR number
|
|
|
|
|
| |
updated tests to reflect new order
(cherry picked from commit 5b51b560d0328e35dad5d4c77688f7577081c0ed)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#79414) (#79503)
* local connection: avoid tb when running in container with invalid user
* clog
* cannot use uid, leave empty and ~/ will resolve itself
* get back to what it did
(cherry picked from commit 5f3a6b78db093f8d1b062bbd70ac6bf375fdca04)
|
|
|
|
|
| |
(cherry picked from commit 38fe342)
Co-authored-by: Matt Clay <matt@mystile.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.14] ansible-test - Improve container management. (#78550)
See changelogs/fragments/ansible-test-container-management.yml for details..
(cherry picked from commit cda16cc5e9aa8703fb4e1ac0a0be6b631d9076cc)
Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Fix container detection. (#79530)
(cherry picked from commit 80d2f8da02052f64396da6b8caaf820eedbf18e2)
|
| |
|
|
|
|
|
|
|
| |
* background threads writing to stdout/stderr can cause children to deadlock if a thread in the parent holds the internal lock on the BufferedWriter wrapper
* prevent writes to std handles during fork by monkeypatching stdout/stderr during display startup to require a mutex lock with fork(); this ensures no background threads can hold the lock during a fork operation
* add integration test that fails reliably on Linux without this fix
(cherry picked from commit 1424484be0e1b9a1d1e7e1849ae1a5e2a19d612c)
|
| |
|
|
|
|
|
|
|
|
|
| |
* ansible-test - Improve pylint command consistency.
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit bc274f5)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
| |
as chmod/mode is not the only thing we attempt and Ubuntu not shipping acl
in newer versions can lead to some confusion
fixes #79146
(cherry picked from commit 0f18ddca9f4b04cacd85a8a54a6fcc8f8b2ee38e)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* jinja2_native: preserve quotes in strings (#79119)
Fixes #79083
(cherry picked from commit d34b5786858f699ef36da6785464021889eaa672)
* Fix test for jinja2_native preserve quotes (#79131)
Fixes https://github.com/ansible/ansible/pull/79119#discussion_r993752129
(cherry picked from commit 3a6eca6670de77dd7d9f2713e5e1289b4a005683)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible-galaxy install - fix unnecessary api check when installing a role from git repo (#79090)
* delay server api evaluation until a GalaxyRole needs to make an api call for info, list, and install
(cherry picked from commit cb2e434dd2359a9fe1c00e75431f4abeff7381e8)
* Fix isinstance check (#79159)
Use GalaxyAPI for isinstance check instead of RoleDistributionServer, since the latter is defined in __main__ sometimes (when running integration tests or ansible-galaxy from source) and importing from ansible.cli.galaxy won't reference the same object.
(cherry picked from commit 89d682464b65af6d2f77a148fc6abb2c38b0e994)
|
|
|
|
|
|
| |
* copy, avoid moving non temp remote files that are not dirs/files
fix tests
(cherry picked from commit f66016df0e22e1234417dc3538bea75299b4e9eb)
|