From Fedora Project Wiki
Description
This test verifies that conmon-v3 captures standard output and standard error and preserves logs after the container exits.
How to test
- Run a container using file logging:
podman run --name conmon-logs --log-driver=k8s-file registry.fedoraproject.org/fedora:latest sh -c 'echo STDOUT_OK; echo STDERR_OK >&2'
- Read its logs after it exits:
podman logs conmon-logs
- Clean up:
podman rm conmon-logs
Expected Results
- The container prints
STDOUT_OKandSTDERR_OK. - Both messages are present in
podman logsafter the container exits. - No particular ordering between the two messages is required.
