| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
(cherry picked from commit aacab0633a963e7a89fc1e6ac71cdf06553f96ab)
|
|
|
| |
(cherry picked from commit 4c6aa70662e6f2804686a32bea611a8aa870b363)
|
|
|
|
|
| |
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
(cherry picked from commit fd341265d001d4e6545ffb2b7d154340cb1f1931)
|
| |
|
|
|
| |
Also remove remote incidental tests from the test matrix, as this was the last one.
|
|
|
|
|
| |
This will avoid issues during bootstrapping caused by breaking changes in setuptools.
(cherry picked from commit abc58c026b2e91af4a2bb57f7bfe21c609bd3de9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* password lookup, handle ident properly when saved (#80251)
* password lookup, handle ident properly when saved
Currently we format and save ident when present but we didn't account for this when reading the saved file
Also added some more robust error handling.
(cherry picked from commit 0fd88717c953b92ed8a50495d55e630eb5d59166)
* fix try indent
* clog
* fix bad merge indentation
|
|
|
|
|
|
|
| |
* Ansible.Basic - Improve temporary file cleanup process
* Add comment on struct value used
(cherry picked from commit ba4505f5cb2fb52cda450a06679ddea3599e3e70)
|
|
|
|
|
|
|
|
|
|
| |
(#80399)
Reduce the number of Galaxy API calls made during dependency resolution by fetching remote signatures afterwards, since these are not used in backtracking.
Reduce the verbosity to `-vvvv` (to match other Galaxy API calls) to see this activity.
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
(cherry picked from commit 460abe0ceffc5ca99b3cc2f2e3ef07aa2cb225dc)
|
|
|
| |
(cherry picked from commit 0371ea08d6de55635ffcbf94da5ddec0cd809495)
|
|
|
|
|
| |
(#80362)
(cherry picked from commit 5d64024f1ab1283750f2211692970dfa1b351ed5)
|
|
|
|
|
|
| |
This patch pre-builds the sdist via build using the self-eliminating
in-tree build backend and then, feeds the result to a pottentially
outdated pip (below v20) so that it uses the setuptools' native
PEP 517 build backend to build a wheel on install.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80130)
This change includes backports of the PRs #79606, #80098, #80253, #80255 and #80262, with a number of backward compatibility changes that make it work and be testable in older CI environments.
This patch creates a thin wrapper around the `setuptools`' PEP 517 build backend in-tree. It features an ability to request generating the manpage files in-memory, in the process of building a source distribution. The build is happening in an isolated temporary directory. This toggle is implemented using the `config_settings` mechanism of PEP 517.
One must explicitly pass it a CLI option to the build front-end to trigger said behavior. The packagers are expected to use the following call:
python -m build --config-setting=--build-manpages
This option has no effect on building wheels.
🧪 The change includes integration tests
This test runs building and re-building sdists and wheels with and without the `--build-manpages` config setting under the oldest-supported and new `setuptools` pinned.
It is intended to preserve the interoperability of the packaging setup across Python runtimes.
An extra smoke test also verifies that non PEP 517 interfaces remain functional.
📦 The sdist build-system is switched to pure setuptools upon the first build from Git checkout
This patch modifies the in-tree build backend to build sdists that swap
out pointers to it in the `pyproject.toml`'s `[build-system]` section.
The effect of this is that the first build from source (for example,
from a Git checkout) uses our PEP 517 in-tree build backend. But the
produced tarball has `build-backend` set to `setuptools.build_meta`
which is the native build backend of `setuptools`. So any following
builds from that sdist will skip using the in-tree build backend,
calling the setuptools' one.
The good news is that if the first build generated the manpages, they
will be included and won't go anywhere even though, a different build
system is in place.
Combined with #80253, this makes sure not to modify the current
source checkout on that first build.
Co-Authored-By: Matt Clay <matt@mystile.com>
Co-Authored-By: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
(cherry picked from commit 56036013cd09db0f1b20402a69be44345ddafb22)
(cherry picked from commit 67bafafbc0d61751d2ec10b0aeccb6b01482a074)
(cherry picked from commit 888abf5d6e13880ba82d02c5f8a57ca1f90a992f)
(cherry picked from commit 7097df3eed979446830fc579613ffb9b7e7c19bf)
(cherry picked from commit eebfd71a6da396b011e664604c9991543205d780)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible-doc: fix broken seealso links in text output (#80280)
* Fix broken URLs.
* Also remove auto-generated description for modules outside ansible.builtin.
(cherry picked from commit fafb23094e77a619066a92a7fa99a7045292e473)
* Fix URL processing. (#80295)
(cherry picked from commit 086ae4220957cdb66eee8aa060c151a071f3b9bd)
|
|
|
| |
(cherry picked from commit 054aa9215857f376ee4d387339e6b82bcc14b437)
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Scripts previously under `test/utils/shippable/` are now under `.azure-pipelines/commands/` instead..
(cherry picked from commit f47bc03599eedc48753d2cd5e1bea177f35e6133)
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.13] 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 c8c1402ff66cf971469b7d49ada9fde894dabe0d)
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80153)
* [stable-2.13] 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)
|
|
|
| |
(cherry picked from commit 060a27f)
|
|
|
|
|
|
|
|
|
| |
(#79913) (#79965)
* don't ignore templated _raw_params that k=v parser failed to parse (#79913)
fixes #79862
* backport test changes
|
|
|
|
|
|
| |
(cherry picked from commit 67d49734f732f543c0b8d7713466c0aa3b8f484f)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
| |
(cherry picked from commit 5fb8bc3ddb40c3f09f76d2237951c7754ba27add)
|
|
|
|
|
| |
(#79978)
(cherry picked from commit d48d1c23df171074e799717e824a8c5ace470643)
|
|
|
|
|
| |
(cherry picked from commit 0a12d8a5bc820e5d12805af41b80351d0b635e63)
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
* ansible-test - fix ps argspec check inside cmdlet
* Added error condition test
* Fix sanity problem
(cherry picked from commit ee33be9484b2240aa7b6b3bfdb30b452b6048e85)
|
| |
|
|
|
|
|
|
| |
(cherry picked from commit 1243d2ace0aa6dc609369dafee7ad52cf9aa26ef)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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 f6c0e22f98e3ad1e0a98837053ed03a27d8a1fcf)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit 75b60b17ee1ff18ded04cf07b71e4ee32e673a0b)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
| |
* Remove unused code.
* Fix explain errors.
* Fix `--prime-containers` with docker on cgroup v2.
(cherry picked from commit da3b1d3f50bfbe118f2200e3e2ef109d87da4c2e)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit dcc08eec35fde72845d121859abf1ffef1e9030f)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Omit redundant fact gathering.
* Add connection type to split test.
* Add user info to split integration test.
(cherry picked from commit 2e5e802)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible-test - More flexible become support.
(cherry picked from commit 5666c6d6a3207f279cbb3ce0b0bd070ab5a9ecd4)
* ansible-test - Add support for more remotes.
(cherry picked from commit 24d91f552cad2a485f286f3c34cbba2005599ab4)
* ansible-test - Enable ACLs on FreeBSD remotes.
This allows integration tests to switch from one unprivileged user
to another, sharing files between the users using ACLs.
(cherry picked from commit b63812bc08fd00fd772c28a2604f77f487d23104)
* ansible-test - Enable ACL support on more remotes. (#78299)
(cherry picked from commit 8bb20fe06b458e6d7c4290dcb86cced3bce9d825)
* ansible-test - Install `acl` on Alpine remotes. (#78303)
(cherry picked from commit 8565deaae393a136ada071c27a8b7791d3640e41)
* ansible-test - Use sudo for all remotes. (#78310)
(cherry picked from commit f3f4ad93325725b91902984b419502e8b4b97188)
* ansible-test - Fix Ubuntu 20.04 bootstrapping. (#78551)
(cherry picked from commit d683c5bd212375c9ffc785ab65ee6e68ea913c8b)
* ansible-test - Verify executables are executable. (#78606)
(cherry picked from commit ece85abbc46e087187caf6e05b1515b97c578531)
* ansible-test - Use --tmpfs to run containers. (#78605)
(cherry picked from commit 4187707f035a5dde9d02e99e5dec40d71b06d5d1)
* ansible-test - Remove Fedora 35 support. (#78720)
(cherry picked from commit 38a82a5cc43ed4b48cf5fbc3addc5d2993c37eef)
* ansible-test - Fix container error handling. (#78739)
(cherry picked from commit 79f67ed56116be11b1c992fade04acf06d9208d1)
* ansible-test - Improve container management. (#78550)
See changelogs/fragments/ansible-test-container-management.yml for details.
(cherry picked from commit cda16cc5e9aa8703fb4e1ac0a0be6b631d9076cc)
* ansible-test - Fix container detection. (#79530)
(cherry picked from commit 80d2f8da02052f64396da6b8caaf820eedbf18e2)
* Update test matrix symlinks. (#78737)
* Add remote platform symlinks.
These were already supported by ansible-test.
This change adds the symlinks for use in the CI test matrix.
* Remove obsolete AIX test symlink.
AIX was already removed from ansible-test.
(cherry picked from commit 62221a3be214082610ba33c62e82bc3a778be7fb)
* Use patched containers without VOLUME instruction.
* Make test suite compatible with older ansible.
* Fix compatibility with Python 3.8.
|
|
|
|
|
|
|
|
|
| |
* Fix file touch check mode result (#79360) (#79422)
Fixes #79360
(cherry picked from commit 3936b5c471068d86c3e51a454a1de2f0d2942845)
* Rename changelog fragment according to PR number
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CI (#79491)
* Enable the `reboot` integration test in CI
Co-Authored-By: Matt Clay <matt@mystile.com>
(cherry picked from commit bb7ad0f0d8febb5020eec36bb4a52cc95c9a4486)
* [CI] Move running `reboot` integration test to group 2
PR #79289, follow-up for #78402.
It was breaking the integration-aliases sanity test, but only
became apparent post-merge. This patch fixes that.
(cherry picked from commit 26a477561168cd731c86fb1ceffb0394c81cb0a7)
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
|
|
|
|
|
|
|
| |
This should prevent color codes from interfering with string matches.
(cherry picked from commit 31f9d60b8d00452c96ebec423c6a263b9d2eebd7)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Log `runme.sh` execution in integration tests (#79263)
* Log `runme.sh` execution in integration tests
This patch adds `set -x` where it's missing in the integration tests.
It also enables `pipefail` in `runme.sh` scripts that use pipes.
* Add a change note for PR #79263
(cherry picked from commit 6674c43edd203d1241507c4d857f555a7c844c18)
* Delete a bad PR #79263 change note
(cherry picked from commit 9cfb3f73e8d7f910e226de3aebe6f9b9b18327ec)
|
|
|
|
|
|
| |
(cherry picked from commit 938c0fa944cabdc1a21745abade7f05ac3e6ee26)
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)
|
|
|
|
|
|
|
|
|
|
| |
(#79133)
* Don't assume column index for netmask and broadcast. Fixes #79117
* fix typo
(cherry picked from commit f53dbf9)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 type for older python
* 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)
|