From Fedora Project Wiki

Revision as of 09:28, 18 May 2024 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |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`. |actions= # Configure `zstd:chunked` as the default format in `containers.conf`. # Build a container image using the `podman build` command. # Push the built image to a r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  1. Configure zstd:chunked as the default format in containers.conf.
  2. Build a container image using the podman build command.
  3. Push the built image to a registry.
  4. Run the image with an older version of Podman or Docker to verify compatibility.
  5. Update the container image with an additional package.
  6. Squash the image using podman build --squash-all.
  7. Push the updated image to the registry.
  8. Remove the image from local storage.
  9. Pull the image from the registry.

Expected Results

The following must be true to consider this a successful test run:

  1. zstd:chunked is correctly configured in containers.conf.
  2. Container image builds successfully and is pushed to the registry without errors.
  3. The image runs correctly with an older version of Podman or Docker.
  4. The container image is updated and squashed without errors.
  5. The squashed image is pushed to the registry successfully.
  6. The image is removed from local storage and re-pulled from the registry.
  7. 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.