Bugzilla – Bug 1218023
[Build 44.1] openQA test fails in rootless_podman
Last modified: 2024-01-15 13:43:31 UTC
## Observation openQA test in scenario sle-15-SP6-Online-x86_64-podman_cgroup_v1_tests@64bit fails in [rootless_podman](https://openqa.suse.de/tests/13060038/modules/rootless_podman/steps/110) ## Test suite description The base test suite is used for job templates defined in YAML documents. It has no settings of its own. ## Reproducible Fails since (at least) Build [44.1](https://openqa.suse.de/tests/13048896) ## Expected result Last good: (unknown) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=podman_cgroup_v1_tests&version=15-SP6) In rootless podman I cannot obtain the logs from a container as normal user: ``` > podman create --name testing registry.opensuse.org/opensuse/tumbleweed:latest /bin/sh -c '/bin/uname -r; /bin/echo Heartbeat' > podman container start testing > podman wait testing > podman container logs testing (empty) ``` However it works as root: ``` # podman create --name testing registry.opensuse.org/opensuse/tumbleweed:latest /bin/sh -c '/bin/uname -r; /bin/echo Heartbeat' # podman container start testing # podman wait testing # podman container logs testing 6.4.0-150600.4-default Heartbeat ```
This is caused by the unprivileged user not having privileges to read journald. You can either add the user to the systemd-journal group: usermod -a -G systemd-journal bernhard or follow this guide: https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-journalctl.html#sec-journalctl-persistent