Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: Prototype setting image ID = manifest digest #24484

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

DO NOT MERGE: Prototype setting image ID = manifest digest

46f059a
Select commit
Loading
Failed to load commit list.
Draft

DO NOT MERGE: Prototype setting image ID = manifest digest #24484

DO NOT MERGE: Prototype setting image ID = manifest digest
46f059a
Select commit
Loading
Failed to load commit list.
Cirrus CI / Docker-py Compat. failed Nov 6, 2024 in 1m 28s

Task Summary

Instruction main failed in 00:52

Details

✅ 00:06 clone
✅ 00:26 setup
❌ 00:52 main

containers-common-0.60.4-1.fc40-noarch
container-selinux-2.233.0-1.fc40-noarch
criu-4.0-1.fc40-x86_64
crun-1.17-1.fc40-x86_64
golang-1.22.7-1.fc40-x86_64
libseccomp-2.5.5-1.fc40-x86_64
netavark-1.12.2-1.fc40-x86_64
passt-0^20240906.g6b38f07-1.fc40-x86_64
podman-5.2.4-1.fc40-x86_64
skopeo-1.16.1-1.fc40-x86_64
slirp4netns-1.2.2-2.fc40-x86_64
************************************************************
+ _run_docker-py  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:507 in main()
+ make run-docker-py-tests  # /var/tmp/go/src/github.com/containers/podman/./contrib/cirrus/runner.sh:107 in _run_docker-py()
touch test/__init__.py
env CONTAINERS_CONF=/var/tmp/go/src/github.com/containers/podman/test/apiv2/containers.conf pytest --disable-warnings test/python/docker/
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.1.2, pluggy-1.5.0
python client -- DockerClient
rootdir: /var/tmp/go/src/github.com/containers/podman
configfile: pyproject.toml
plugins: requests-mock-1.12.1
collected 37 items

test/python/docker/compat/test_containers.py .....s...............       [ 56%]
test/python/docker/compat/test_images.py ......F......                   [ 91%]
test/python/docker/compat/test_system.py ...                             [100%]

=================================== FAILURES ===================================
__________________________ TestImages.test_load_image __________________________

self = <test.python.docker.compat.test_images.TestImages testMethod=test_load_image>

    def test_load_image(self):
        """Import|Load Image"""
        self.assertEqual(len(self.docker.images.list()), 1)
    
        image = self.docker.images.pull(constant.BB)
        file = os.path.join(TestImages.podman.image_cache, "busybox.tar")
        with open(file, mode="wb") as tarball:
            for frame in image.save():
                tarball.write(frame)
    
        with open(file, mode="rb") as saved:
            self.docker.images.load(saved)
    
>       self.assertEqual(len(self.docker.images.list()), 2)
E       AssertionError: 3 != 2

test/python/docker/compat/test_images.py:107: AssertionError
=========================== short test summary info ============================
FAILED test/python/docker/compat/test_images.py::TestImages::test_load_image - AssertionError: 3 != 2
=================== 1 failed, 35 passed, 1 skipped in 49.88s ===================
make: *** [Makefile:645: run-docker-py-tests] Error 1

Exit status: 2