Skip to content

make test-integration failed with exec: "registry": executable file not found in $PATH #2701

@bitoku

Description

@bitoku

When I tried to run test-integration, it failed with exec: "registry": executable file not found in $PATH.

The command uses quay.io/libpod/skopeo_cidev:c20250721t181111z-f42f41d13 image, and it doesn't have registry binary in $PATH.

❯ podman run --rm -it quay.io/libpod/skopeo_cidev:c20250721t181111z-f42f41d13 /bin/sh
sh-5.2# echo $PATH
/usr/local/bin:/usr/bin
sh-5.2# ls -l /usr/local/bin | grep reg
-rwxr-xr-x 1 root root  49795775 Jul 21 18:36 dockerregistry
-rwxr-xr-x 1 root root  17683642 Jul 21 18:31 registry-v2-schema1
sh-5.2# ls -l /usr/bin | grep reg
sh-5.2# 

After I installed docker-distribution in the image, the test worked.

These changes could be the cause, but not sure. Did I miss something?
#2661
containers/automation_images#410

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions