Commit Graph

45356 Commits (2d2ea756a61deabf80f63da82fb83c647afeb91c)
 

Author SHA1 Message Date
Sam Doooran 2d2ea756a6 [stable-2.8] Constrain pexpect and ptyprocess (#73109)
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>
5 years ago
Matt Clay cb848c927e [stable-2.8] Update Azure Pipelines scripts and config. (#72986)
* 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 3274e02fd8)

Co-authored-by: Matt Clay <mclay@redhat.com>
5 years ago
Rick Elrod ecfe290a6a Update Ansible release version to v2.8.18.post0. 5 years ago
Rick Elrod 9c83cbccf3 New release v2.8.18 5 years ago
Rick Elrod 6691dd5200 Update Ansible release version to v2.8.18rc1.post0. 5 years ago
Rick Elrod 77ad6c4574 New release v2.8.18rc1 5 years ago
Jordan Borean 0f1bd4de10
Disable win_rds* tests in CI (#72889) 5 years ago
Matt Clay be57020315
[stable-2.8] Remove shippable.yml. (#72884)
(cherry picked from commit 711064a073)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Rick Elrod 41f1209186
[2.8] [cloud_init_data_facts tests] fix for centos8 (#72886) (#72888)
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 8eaa7423d4)
5 years ago
Matt Clay 35409b732d [stable-2.8] Use AZP config for integration-aliases test.
No changelog entry since this test is limited to the ansible/ansible repo.

Backport of https://github.com/ansible/ansible/pull/72842
5 years ago
Matt Clay 94df5ab8e2 [stable-2.8] Fix Azure Pipelines change detection. (#72824)
(cherry picked from commit 08842cd6bb)

Co-authored-by: Matt Clay <mclay@redhat.com>
5 years ago
Matt Clay b279a05efa Fix resource name. 5 years ago
Matt Clay 83ee185f84 [stable-2.8] Fix CI schedule. 5 years ago
Matt Clay a7fad72319 Fix resource name length. 5 years ago
Matt Davis 1ff0ae1f6b
update build badge for AZP (#72807) (#72812)
(cherry picked from commit d567a553a9)
5 years ago
Rick Elrod 14bde6cb84 [iso_extract tests] Fix another bad EPEL hardcode
Change:
- Use mirrorlist instead of baseurl here.

Test Plan:
- ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Clay 6f771ebe2f [stable-2.8] Azure Pipelines config. 5 years ago
Rick Elrod 7666b7f035 [yum_repository tests] account for EOL'd EPEL
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>
5 years ago
Rick Elrod 8192ed4454 [centos6] update container for EOL
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>
5 years ago
Sam Doran a9ac2a02c1
[stable-2.8] Pull images from Quay to avoid Docker Hub limits (#72700)
* 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
5 years ago
Jordan Borean 773ae7c3b2
Add RHEL 7.9 (#72558) - 2.8 (#72566)
* Add RHEL 7.9 - ci_complete (#72558)

(cherry picked from commit d451433e5d)

* Added changelog for RHEL 7.9 (#72572)

(cherry picked from commit bdd0c48837)
5 years ago
Rick Elrod dc7f8badd5
[zypper_repository test] Use repo that doesn't 404 (#72779)
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>
5 years ago
Sam Doran 9d1047f326 [stable-2.8] - ansible-test - add cryptography constraint for cffi (#72761)
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
5 years ago
David Shrewsbury 643c118cbd
Test pip fix (#72766)
(cherry picked from commit 2eb9795543)
5 years ago
Sam Doran 103ae173c7
[stable-2.8] Fix super annoying Python 2.6 multiprocessing.Queue stack trace 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>
5 years ago
Sandra McCann c0be689295
replace porting guides with stub pages - issue 71687 (#71988) (#72600)
(cherry picked from commit 5a3a2d1a39)
5 years ago
Matt Clay 0ea82ba711 [stable-2.8] Fix container discovery for the acme test plugin.
(cherry picked from commit f022dedd0a)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Matt Clay 2529281ed8 Fix ansible-test tar format handling.
Effectively a backport of https://github.com/ansible/ansible/pull/66926
5 years ago
Rick Elrod 6606e79220 Update Ansible release version to v2.8.17.post0. 5 years ago
Rick Elrod a6da75b908 New release v2.8.17 5 years ago
Matt Martz 92128720bf
[stable-2.8] Update pip tests to omit install dev extras to avoid dep issues (#72436) (#72440)
(cherry picked from commit 2ee5af5)

Co-authored-by: Matt Martz <matt@sivel.net>
5 years ago
Rick Elrod a4935c5780 Update Ansible release version to v2.8.17rc1.post0. 5 years ago
Rick Elrod a345add182 New release v2.8.17rc1 5 years ago
Matt Davis 75ef18dae1
Remove ansible-galaxy login (#72288) (#72330)
* 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 83909bfa22)
5 years ago
Matt Clay 73b2199fa2
[stable-2.8] [stable-2.9] [stable-2.10] Fix ansible-test handling of 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 3c2e8b99be)

Co-authored-by: Matt Clay <mclay@redhat.com>.
(cherry picked from commit 6362232c30)

Co-authored-by: Matt Clay <mclay@redhat.com>.
(cherry picked from commit 7c83f1f045)

Co-authored-by: Matt Clay <mclay@redhat.com>
5 years ago
Matt Clay d86d4285e1
CI stability updates. (#72307)
* Avoid issues with user-defined docker networks.
* Increase CI timeout.
* Increase unit test timeout.
5 years ago
Matt Clay 785fa40dc5 [stable-2.8] Fix ansible-test Azure Pipelines container auth.
(cherry picked from commit 2ef4b7e07e)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Abhijeet Kasurde 2faf48f5f9
[2.8] kubectl: Follow up fix in connection plugin (#72131)
PR #71535 broke, _build_exec_cmd API in kubectl connection
plugin.

Fixes: #72171

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago
Rick Elrod 527dfa368a Update Ansible release version to v2.8.16.post0. 5 years ago
Rick Elrod 4b9308bd29 New release v2.8.16 5 years ago
Rick Elrod f66f05f4bb
[tests] Try re-enabling hcloud (#72034)
Change:
- See if they have fixed their issues yet.

Test Plan:
- CI

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod b926f73309
[tests] --no-use-pep517 in kubevirt_conformance (#72016)
Change:
- This enables the inventory_kubevirt_conformance test to pass again on
  freebsd.
- This was due to a google-auth version bump. The dep chain looks like
  this: openshift -> kubernetes -> google-auth -> aiohttp -> multidict

Test Plan:
- ansible-test integration inventory_kubevirt_conformance --remote
  freebsd/12.0

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Clay aac6ed13e6 [stable-2.8] Disabled inconsistent pylint checks..
(cherry picked from commit 8152d8bc1a)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Rick Elrod 1781285ceb Update Ansible release version to v2.8.16rc1.post0. 5 years ago
Rick Elrod d2f85078b1 New release v2.8.16rc1 5 years ago
Rick Elrod ed4db892d3
add CVE ref to kubectl changelog fragment (#71985)
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Clay b8f6c2d4b9
[stable-2.8] CI provider fixes for ansible-test. (#71929) (#71934)
* Make Azure Pipelines resource_prefix lowercase.

* Make classification of CI files consistent.

* Update package-data sanity test for AZP..
(cherry picked from commit 92b66e3e31)

Co-authored-by: Matt Clay <mclay@redhat.com>
5 years ago
Rick Elrod 15fe8c0239
[2.9] kubectl: redacted token and password from console log (#71971)
** SECURITY_FIX ** for CVE-2020-1753

kubectl connection plugin now redact kubectl_token and
kubectl_password from console log.

Fixes: ansible-collections/community.kubernetes#65

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago
Rick Elrod f3d3c43c00 [tests] disable hcloud for now
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod 97c4064b87 [2.8] [tests] uninstall docker stuff for podman
Change:
- This isn't a direct backport of #71949 because in stable-2.8,
  setup_docker doesn't use handlers like more modern branches to clean
  up after itself.
- Instead, here we just make sure the docker packages are gone before
  the podman test runs.

Test Plan:
- CI
- ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago