From Fedora Project Wiki

Revision as of 04:09, 24 July 2024 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case ensures that system shutdown does not wait for containers that do not respect SIGTERM. |setup=Install the pre-release version of Fedora with Podman 5.2 on a bare metal system. |actions= # Create a container that does not respect SIGTERM: podman run --stop-signal SIGKILL -d fedora sleep +inf # Restart the system. # Observe the system shutdown process. |results= The following must be true to consider this a successful test run:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case ensures that system shutdown does not wait for containers that do not respect SIGTERM.

Setup

Install the pre-release version of Fedora with Podman 5.2 on a bare metal system.

How to test

  1. Create a container that does not respect SIGTERM:
 podman run --stop-signal SIGKILL -d fedora sleep +inf
  1. Restart the system.
  2. Observe the system shutdown process.

Expected Results

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

  1. The container is created and runs in the background.
  2. The system restarts without waiting for the container to timeout during shutdown.
  3. There is no delay in the system shutdown process due to the container.

Optional

Optionally, test with multiple containers that do not respect SIGTERM to ensure consistent behavior.