# Docker issue in ansible unit tests in GitHub pr

**URL:** <https://forum.ansible.com/t/docker-issue-in-ansible-unit-tests-in-github-pr/7651>\
**Category:** Get Help\
**Tags:** collections, ansible-core\
**Created:** [August 6, 2024, 4:25am UTC](https://forum.ansible.com/t/docker-issue-in-ansible-unit-tests-in-github-pr/7651 "2024-08-06T04:25:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandanapatnala](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/chandanapatnala/32/2454_2.png) [@chandanapatnala](https://forum.ansible.com/u/chandanapatnala)\
**Post date:** [August 6, 2024, 4:25am UTC](https://forum.ansible.com/t/docker-issue-in-ansible-unit-tests-in-github-pr/7651/1 "2024-08-06T04:25:46Z")

</div>

Currently the ansible unit test is failing with -  
The ansible version used is 2.9.17

```auto
[DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of quay.io/ansible/default-test-container:1.10.1 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/

WARNING: Failed to pull docker image "quay.io/ansible/default-test-container:1.10.1". Waiting a few seconds before trying again.

ERROR: Failed to pull docker image "quay.io/ansible/default-test-container:1.10.1".

Error: Process completed with exit code 1.

```

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [August 6, 2024, 7:53am UTC](https://forum.ansible.com/t/docker-issue-in-ansible-unit-tests-in-github-pr/7651/2 "2024-08-06T07:53:26Z")

</div>

Ansible 2.9 is End of Life and no longer receives any updates, also not to fix breaking CI. (In this case it would help to re-push the images converted to a newer Docker image format.)

I had the same problem ~two months ago, since I have some collections that still support 2.9 and 2.10 (the 2.10 images have the same problem). I created a repository for updated forks of ansible/ansible that have been patched so that they “mostly” work in CI: [GitHub - ansible-community/eol-ansible: CI helpers for End of Life Ansible/ansible-base/ansible-core versions](https://github.com/ansible-community/eol-ansible/) The README explains ([GitHub - ansible-community/eol-ansible: CI helpers for End of Life Ansible/ansible-base/ansible-core versions](https://github.com/ansible-community/eol-ansible/?tab=readme-ov-file#using-this-repository)) how to adjust your GHA workflow to use this repository (assuming you’re using the ansible-test-gh-action; if not it shouldn’t be too hard either). At least sanity and unit tests work fine with this repository. Some integration test images no longer work, see the comments in [GitHub - ansible-community/eol-ansible: CI helpers for End of Life Ansible/ansible-base/ansible-core versions](https://github.com/ansible-community/eol-ansible/?tab=readme-ov-file#supported-eol-branches).

(BTW, you never wrote what exactly you are testing. I’m assuming you’re running unit tests for a collection. In that case, this discussion should be moved into the Collection Development category. Or are you working on a PR for Ansible 2.9 itself?)
