From Fedora Project Wiki

Podman 5.2

Date 2024-07-29 to 2024-07-31
Time all day

Website QA/Test Days
Matrix #test-day:fedoraproject.org
Mailing list test


Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

What to test?[edit]

This Fedora Test Day will focus on testing

  1. Add Karmas to F41:https://bodhi.fedoraproject.org/updates/FEDORA-2024-7eb94815d9
  2. Add Karmas to F40:https://bodhi.fedoraproject.org/updates/FEDORA-2024-0d4b460c4f
  3. Any regression noted in the new version

Who's available[edit]

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion. Use #podman or #fedora-test-day channels on libera chat. Alternatively, write on podman room In case of problem related to test day organization/wiki/whatever, please reach out to sumantrom.

Prerequisite for Test Day[edit]

  • A system (real or virtual) you can install Fedora 41, and not mind if it breaks
  • A simple way to get podman 5.2 would be "sudo dnf install podman --enablerepo=updates-testing".
  • Ensure running " rpm -qa podman" gives "podman-5.2.0~rc1-1.fc41.x86_64"

How to test?[edit]

Install Fedora[edit]

Testing Podman from a live environment is difficult and will likely wind up with the system exhausting available RAM and failing in strange ways, so we recommend you install Fedora 41 for this TestDay, or Fedora 41 container using Podman 5.2

Update your machine[edit]

Run the tests[edit]

Visit the result page and click on the column title links to see the tests that need to be run: most column titles are links to a specific test case. Follow the instructions there, then enter your results by clicking the Enter result button for the test.

Reporting bugs[edit]

If you have problems with any of the tests, report a bug to Bugzilla usually for the component podman. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you.

Known issues[edit]

Test Results[edit]

Podman 5.2[edit]

User Profile System Shutdown Virtiofs References
alciregi F40 on Oracle Cloud VM.Standard.A1.Flex
Pass pass
alciregi Fedora Rawhide x86_64 bare metal
Pass pass
Pass pass
bmenant
Pass pass
Pass pass
derekenz F41 Rawhide VM. AMD 5600g
Pass pass
Pass pass
geraldosimiao F41 KDE on KVM-Qemu-Virtmanager
Pass pass
Pass pass
jeffiscow 359301
Pass pass
jeffiscow F41 Rawhide KDE, bare metal, i5-12400F, RX 7900 GRE
Pass pass
nathan95
Fail fail
[1]
  1. RHBZ #2300285 unknow flag: --stop
orimanabu Apple Silicon M2, Fedora Asahi Remix release 41 (Rawhide), 6.9.12-400.asahi.fc41.aarch64+16k
Pass pass
Pass pass
rebtoor
Pass pass
[1]
Pass pass
  1. rawhide vm podman-5.2.0~rc2-1.fc41.x86_64

Basic Test[edit]

User Profile Image Pull Container List Container Remove Container Inspect Save and Load Images References
alciregi F40 on Oracle Cloud VM.Standard.A1.Flex
Pass pass
Pass pass
Pass pass
Pass pass
alciregi Fedora Rawhide x86_64 bare metal
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
bmenant
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
derekenz F41 Rawhide VM. AMD 5600g
Pass pass
[1]
Pass pass
Pass pass
Pass pass
Pass pass
  1. The pull seemed to work fine. Just no message saying successfully pulled.
ersen Virtual Fedora 40
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
jeffiscow F41 Rawhide KDE, bare metal, i5-12400F, RX 7900 GRE
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
orimanabu Apple Silicon M2, Fedora Asahi Remix release 41 (Rawhide), 6.9.12-400.asahi.fc41.aarch64+16k
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
rebtoor
Pass pass
[1]
Pass pass
Pass pass
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
  1. Fedora release 41 (Rawhide), fedora-release-cloud-41-0.16.noarch, podman-5.2.0~rc2-1.fc41.x86_64 pulled images: fedora:latest, quay.io/centos/centos:stream9, k8s.gcr.io/pause:latest
  2. tested podman rm $container, podman rm -a, podman rm -af
  3. $ podman inspect admiring_noether | jq '.[]|.Name' "admiring_noether" $ podman inspect admiring_noether | jq '.[]|.Image' "b20dcbb06f5ca0a55bd3158b4459c402ffdd3f357644a555140656920d6d6342" $ podman inspect admiring_noether | jq '.[]|.State' { "OciVersion": "1.2.0", "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 2752, "ConmonPid": 2750, "ExitCode": 0, "Error": "", "StartedAt": "2024-07-30T09:10:56.203780543Z", "FinishedAt": "0001-01-01T00:00:00Z", "CgroupPath": "/user.slice/user-1001.slice/user@1001.service/user.slice/libpod-6b9a77626a74cb28c10671dafab1d272b80ffdaff01c2c5f34a5037dfbf99502.scope", "CheckpointedAt": "0001-01-01T00:00:00Z", "RestoredAt": "0001-01-01T00:00:00Z" }
  4. Image saved on F40 host with podman-5.1.2-1.fc40.x86_64 $ podman load -i pause.tar Getting image source signatures Copying blob 5f70bf18a086 done | Copying blob 5f70bf18a086 done | Copying blob e16a89738269 done | Copying config 350b164e7a done | Writing manifest to image destination Loaded image: k8s.gcr.io/pause:latest $ podman images REPOSITORY TAG IMAGE ID CREATED SIZE k8s.gcr.io/pause latest 350b164e7ae1 10 years ago 247 kB $ podman run -d --name test-pause-51 k8s.gcr.io/pause:latest e050f0f08e9f6a6fd07ccc2e95fb3897bbdb0733cde281e75fdfe478b2137aee
sumenon
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
Pass pass
[5]
Pass pass
[6]
Pass pass
[7]
  1. Fedora release 41 (Rawhide) --> podman-5.2.0~rc2-1.fc41.x86_64 [testuser@fedora ~]$ podman pull fedora:latest d18fe7feba963448a9264c02c3fdb.. [testuser@fedora ~]$ podman pull docker.io/httpd:latest ✔ docker.io/library/httpd:latest 19c71fbb71404e0673.. [testuser@fedora ~]$ podman pull quay.io/fedora/httpd-24 44eab3a6f92d4af898cf9.. [testuser@fedora ~]$ podman pull ghcr.io/github/safe-settings:2.1.10
    1. podman images lists all the images.
  2. Also covered the scenarios in https://docs.podman.io/en/latest/markdown/podman-run.1.html
  3. #podman run --rm -it fedora:latest /bin/bash [root@cf2efc8bd0e6 /]# id uid=0(root) gid=0(root) groups=0(root) [root@cf2efc8bd0e6 /]# exit
    1. podman run -it --read-only -- # dnf install emacs Config error: [Errno 30] Read-only file system: '/var/log/dnf.log': '/var/log/dnf.log'
    2. podman run --name web1 -p 8080:80 -it quay.io/fedora/httpd-24 -- It works
    3. podman run -v /tmp/data:/data1 -it fedora --> /data1 contains file form host, chcon -Rt svirt_sandbox_file_t /tmp/data, able to add/modify.
  4. [testuser@fedora ~]$ podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2e1a2e4f1344 registry.fedoraproject.org/fedora:latest /bin/bash -d 4 hours ago Exited (2) 4 hours ago distracted_beaver 8b653adde697 registry./fedora:latest bash About a minute ago Up About a minute pod1 8b653adde697 registry./fedora:latest bash 2 minutes ago Paused pod1
  5. [testuser@fedora ~]$ podman rm pod1 Error: cannot remove container 8b653adde6974f50b739b1bb9df17f8bffb3debc0bb5ea749838e73af4c18e5a as it is running - running or paused containers cannot be removed without force: container state improper [testuser@fedora ~]$ podman stop pod1 [testuser@fedora ~]$ podman rm pod1 8b653adde697 registry.fedoraproject.org/fedora:latest bash 3 minutes ago Exited (127) 5 seconds ago pod1
  6. "State": { "OciVersion": "1.2.0", "Status": "exited", "State": { "OciVersion": "1.2.0", "Status": "running", "State": { "OciVersion": "1.2.0", "Status": "paused",
  7. 1. Saved image on podman-5.1.1-1.fc40.x86_64 sudhir@fedora:~$ podman save -o fedora.tar d18fe7feba96 2. Loaded image on podman-5.2 [testuser@fedora ~]$ podman load -i fedora.tar Getting image source signatures Copying blob 60850aaed39e done | Copying config d18fe7feba done | Writing manifest to image destination Loaded image: sha256:d18fe7feba963448a9264c02c3fdbde68734f622d4dfb03784815afb938c1df4 Image is listed podman lists the image with missing tag/repository, container created.

Advanced[edit]

User Profile zstd Composefs References
alciregi Fedora Rawhide x86_64 bare metal
Pass pass
orimanabu Apple Silicon M2, Fedora Asahi Remix release 41 (Rawhide), 6.9.12-400.asahi.fc41.aarch64+16k
Pass pass
Pass pass
rebtoor
Pass pass
[1]
Pass pass
[2]
  1. It was tested on vm rather than baremetal as requested in the test scenario. Copied containers.conf from /usr/share/containers into ~/.config/containers/. compression_format = "zstd:chunked" was already uncommented. Used quay.io instead of dockerhub.
  2. [root@localhost ~]# podman info|grep -i composefs overlay.use_composefs: "true" [root@localhost ~]# podman system reset WARNING! This will remove: - all containers - all pods - all images - all networks - all build cache - all machines - all volumes - the graphRoot directory: "/var/lib/containers/storage" - the runRoot directory: "/run/containers/storage" Are you sure you want to continue? [y/N] y [root@localhost ~]# podman run --rm --name test -d fedora:latest /usr/bin/sleep 30000 Resolved "fedora" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf) Trying to pull registry.fedoraproject.org/fedora:latest... Getting image source signatures Copying blob 8ac570c7eec1 done | Copying config b20dcbb06f done | Writing manifest to image destination d7d2cd340221cdcde0374a26c15a19a8623ac62d4fb8a1593b001fcfe21e446a [root@localhost ~]# podman run --rm --name test2 -d fedora:latest /usr/bin/sleep 30000 2c9eb72e9f25652ae6667dd216dbf69c298c226f06b623e12ad55d31f3e4c706 [root@localhost ~]# podman run --rm --name test3 -d fedora:latest /usr/bin/sleep 30000 1242911ab1a2c0633cb9a1d2d8072a6ef45fb9acfa66195ffb8ec419d731b3c5 [root@localhost ~]# podman run --rm --name test4 -d fedora:latest /usr/bin/sleep 30000 d5f074c93f3a0f614554675daee275ed27a73c822958f2faeb414f8afc7e1f57 [root@localhost ~]# podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d7d2cd340221 registry.fedoraproject.org/fedora:latest /usr/bin/sleep 30... 17 seconds ago Up 17 seconds test 2c9eb72e9f25 registry.fedoraproject.org/fedora:latest /usr/bin/sleep 30... 9 seconds ago Up 9 seconds test2 1242911ab1a2 registry.fedoraproject.org/fedora:latest /usr/bin/sleep 30... 5 seconds ago Up 5 seconds test3 d5f074c93f3a registry.fedoraproject.org/fedora:latest /usr/bin/sleep 30... 1 second ago Up 2 seconds test4