Description
This test case ensures that the zstd:chunked compression is properly configured and functions correctly in Podman 5.1.
Setup
Install the pre-release version of Fedora with Podman 5.1 on a bare metal system. Configure zstd:chunked
as the default format in containers.conf
.
How to test
- Configure
zstd:chunked
as the default format incontainers.conf
. - Build a container image using the
podman build
command. - Push the built image to a registry.
- Run the image with an older version of Podman or Docker to verify compatibility.
- Update the container image with an additional package.
- Squash the image using
podman build --squash-all
. - Push the updated image to the registry.
- Remove the image from local storage.
- Pull the image from the registry.
Expected Results
The following must be true to consider this a successful test run:
zstd:chunked
is correctly configured incontainers.conf
.- Container image builds successfully and is pushed to the registry without errors.
- The image runs correctly with an older version of Podman or Docker.
- The container image is updated and squashed without errors.
- The squashed image is pushed to the registry successfully.
- The image is removed from local storage and re-pulled from the registry.
- Significant savings on pull size are observed due to zstd:chunked compression.
Optional
Optionally, test the performance impact of zstd:chunked
compression during various stages (build, push, pull) and compare it to other compression formats.