Skip to content

rawhide, pasta: new test issue with connections to local registry container #24804

@Luap99

Description

@Luap99

With the latest image update in #24759 many podman login and logout started to fail on rawhide.
The issue seems to come down to the local registry container running with pasta and somehow the connections from podman login/push/pull are no longer handled correctly resulting in different erro messages such as

authenticating creds for "localhost:5435": Get "https://localhost:5435/v2/": read tcp 127.0.0.1:35068->127.0.0.1:5435: read: connection reset by peer
setting up to read manifest and configuration from "docker://localhost:5748/citest:latest": pinging container registry localhost:5748: Get "http://localhost:5748/v2/": dial tcp [::1]:5748: connect: connection refused
trying to reuse blob sha256:03901b4a2ea88eeaad62dbe59b072b28b6efa00491962b8741081c5df50c65e0 at destination: pinging container registry localhost:5650: Get "https://localhost:5650/v2/": dial tcp [::1]:5650: connect: connection refused

Even on a local non CI rawhide VM the issue can be reproduced with make localintegration FOCUS="Podman login and logout", it is some kind of race as the errors are always slightly different and not always the same tests fails.

The CI update brought us to:
passt 0^20241127.gc0fbc7e-1.fc42-x86_64
kernel 6.13.0-0.rc1.20241203gitcdd30ebb1b9f.16.fc42.x86_64

However I already tried to downgrade both pasta and the kernel and neither made difference and the same pasta version works fine on f41/40 in our VMs so it does not look like pasta issue. And given we also confirmed it fails on older kernels it does not seem to be triggered by the kernel either. So something else must have changed on rawhide that triggers it.

Example CI failure log:
https://api.cirrus-ci.com/v1/artifact/task/5908289420001280/html/int-podman-rawhide-rootless-host-sqlite.log.html#t--Podman-login-and-logout-podman-login-and-logout-with-cert-dir--1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.networkNetworking related issue or featurepastapasta(1) bugs or featuresregression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions