| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- Other targets might remove rpm-build as they clean up after
themselves. Ensure that it's present in setup_rpm_repo because
rpmfluff needs it.
Test Plan:
- Local experimentation with yum_repository and mysql_db (the latter of
which depends on a handler which was removing rpm-build) on
stable-2.9.
Signed-off-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit aca5b0e43be4d7bd067abc6631978b1cdfa75d84)
|
|
|
|
|
|
|
|
| |
**SECURITY** - CVE-2021-20178
Hide user sensitive information like `privkey` and `authkey`
while logging in console.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
(#73242)
**SECURITY** - CVE-2021-20180
Hide user sensitive information which is marked as ``secured``
while logging in console.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
| |
(#73492)
(cherry picked from commit 0cdc410dce6658e93c06fa27e0100ddbb11e7015)
|
|
|
|
|
|
|
|
|
| |
Change:
- Address missing no_log change from #73489.
Tickets:
- Refs #73489
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- A number of modules were missing no_log=True where they should have
had it.
Test Plan:
- Lots of grepping.
Tickets:
- Refs https://github.com/ansible-collections/community.general/pull/1725
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.8] Fix yum_repository tests for CentOS 8 (#64863)
Refactor tests to run the same tasks with CentOS and Fedora using different variables..
(cherry picked from commit 05a7ce798d364d43860e20ce70b56ca4f922b77a)
Co-authored-by: Sam Doran <sdoran@redhat.com>
* Make yum_repository test more reliable (#73467)
* Improve setup_rpm_repo
- add handlers to remove repos
- add variable to control whethere or not repos are created
* Use local repo for all distros
* Change repo creation script to module
(cherry picked from commit 997b2d2a1955ccb4e70f805c18dc3e227e86c678)
* Disable GPG check on install
|
|
|
|
|
| |
(cherry picked from commit fc590aeb2104c2c4e6a3aacba53852da1d7a26d9)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit 484e4af4d0b0f8ba88f73c20f592bb107eb9396a)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
* update the docs requirements versions (#73108)
(cherry picked from commit 093662390150491a81e8762d24d96a4258b0aa0d)
* remove antsibull
|
|
|
|
|
|
| |
(cherry picked from commit 0eb1e22cd9)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
The recent update of ptyprocess to 0.7.0 is incompatible with Python 2.6 and
is causing test failures.
* Add setup_pexpect role to expect test
(cherry picked from commit 003a9e890d)
Co-authored-by: Sam Doooran <sdoran@redhat.com>
|
|
|
|
|
|
|
|
| |
* Increase fetch depth to reduce the frequency of full test runs for out-of-date PRs.
* Update scripts to match those which will be used in collections.
(cherry picked from commit 3274e02fd87b93975d409ec47661b8011b1a7fbf)
Co-authored-by: Matt Clay <mclay@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(cherry picked from commit 711064a073d944b3ed440d47e7d7ef3af547ee39)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- `udev` is provided by `systemd-udev`, which our `state=present` check
doesn't match. For now, work around this so we don't end up trying to
upgrade all of systemd.
- In the future, we should discuss if the `yum` module does the right
thing here.
Test Plan:
- Locally in docker
- CI
Signed-off-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit 8eaa7423d45602822d599c8ef65b7d3dfb328d15)
|
|
|
|
|
|
| |
No changelog entry since this test is limited to the ansible/ansible repo.
Backport of https://github.com/ansible/ansible/pull/72842
|
|
|
|
|
|
| |
(cherry picked from commit 08842cd6bb0fd6ce3f53b2547993413a5eb6bf10)
Co-authored-by: Matt Clay <mclay@redhat.com>
|
| |
|
| |
|
| |
|
|
|
| |
(cherry picked from commit d567a553a9a8bc56a87ea073ecd3bcff17685350)
|
|
|
|
|
|
|
|
|
|
| |
Change:
- Use mirrorlist instead of baseurl here.
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
|
| |
|
|
|
|
|
|
|
| |
Change:
- Let the tests continue to run on EOL'd CentOS 6 and EOL'd EPEL 6.
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- Reference:
https://lists.centos.org/pipermail/centos-devel/2020-December/056208.html
- Bump centos6 container to 1.25.0
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pull image from Quay to avoid Dockerhub limits
CI tests are failing in certain situations due to the new Docker Hub limits on anonymous pulls. Switch
to pulling an equivalent image from Quay.io.
* Use images in Quay that we control for CI
* Use images from a single test repo on Quay with tags
* Use correct hello-world image
* More image cleanup
* Fix bad replacement
* A few more alpine images
* Adjust expected output to match what the playbook sets it to
|
|
|
|
|
|
|
|
|
| |
* Add RHEL 7.9 - ci_complete (#72558)
(cherry picked from commit d451433e5d96c9f2f8cbe30c316c128ff591edf1)
* Added changelog for RHEL 7.9 (#72572)
(cherry picked from commit bdd0c4883775d3d7b12d36f29ac7ebb49ed7134b)
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- The repo we were testing with no longer seems to exist. Point to one
that does.
Test Plan:
- local test in docker
- CI
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
| |
The recently released version of cffi fails to install on systems with an older version of gcc. In
our case, this in the CentOS 6 test image. There is a fix but it has not yet been released.
https://foss.heptapod.net/pypy/cffi/-/issues/480
|
|
|
| |
(cherry picked from commit 2eb97955437d33bd6b5f835a3233d88419518459)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in CI (#72604) (#72610)
* Fix super annoying Python 2.6 multiprocessing.Queue stack trace in CI
A bug exists in Python 2.6 that sometimes raises an exception during interpreter shutdown. We
encounter this frequently in our CI since we run tests on CentOS 6 as the control node, which
has Python 2.6.6 with this bug.
This PR adds a very minor sleep only on Python 2.6 which gets around this issue. I did lot of testing
using a standalon script I found that easily duplicated the issue to find the minimum sleep value
needed to avoid this issue.
CPython issue: https://bugs.python.org/issue4106
Fix in CPython: https://hg.python.org/cpython/rev/d316315a8781
* Use correct attribute
(cherry picked from commit bbef250c2b)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
| |
(cherry picked from commit 5a3a2d1a39a610a820ec0142b93b0200222c05f3)
|
|
|
|
|
|
| |
(cherry picked from commit f022dedd0a37ffa5fbe39b6e9e8aac52d799ca7b)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
| |
Effectively a backport of https://github.com/ansible/ansible/pull/66926
|
| |
|
| |
|
|
|
|
|
|
|
| |
(#72436) (#72440)
(cherry picked from commit 2ee5af5)
Co-authored-by: Matt Martz <matt@sivel.net>
|
| |
|
| |
|
|
|
|
|
|
| |
* GitHub is removing the underlying API used to implement the `login` command. Since the general consensus seems to be that relatively nobody currently uses this command (in favor of explicit token passing), support was simply removed for interactive login. If a future need arises, this command should be reimplemented via OAuth Device Auth Grants.
* login or role login commands now produce a fatal error with a descriptive message
(cherry picked from commit 83909bfa22573777e3db5688773bda59721962ad)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
user-defined docker networks. (#72256) (#72310)
* Fix ansible-test docker container detection.
* Attach test containers to the correct network.
* Do not assume `localhost` for accesing Docker.
* Look for containers on current network.
* Always map /var/run/docker.sock into containers.
This fixes issues when using a remote Docker host.
* Support container IP lookup from networks list.
* Fix container network attachment.
* Remove redundant container detection messages.
* Limit DOCKER_HOST parsing to TCP.
* Restore docker socket existence check.
The check is skipped if the docker hostname is not localhost.
* Correct changelog entry..
(cherry picked from commit 3c2e8b99be4c001c9955bcee7baa12fd46147b90)
Co-authored-by: Matt Clay <mclay@redhat.com>.
(cherry picked from commit 6362232c304ae3e4588a3e5e14d89560c31fdb3d)
Co-authored-by: Matt Clay <mclay@redhat.com>.
(cherry picked from commit 7c83f1f045e51930eeeb988b987c44351c8cacd0)
Co-authored-by: Matt Clay <mclay@redhat.com>
|
|
|
|
|
| |
* Avoid issues with user-defined docker networks.
* Increase CI timeout.
* Increase unit test timeout.
|
|
|
|
|
|
| |
(cherry picked from commit 2ef4b7e07e6a47785544d0b195fe6887b5c4595b)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
| |
PR #71535 broke, _build_exec_cmd API in kubectl connection
plugin.
Fixes: #72171
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|