Skip to content

remote: permission denied flake during authfile parsing #27455

@Luap99

Description

@Luap99
not ok 122 |065| podman cp (-a=true) file from host to container and check ownership in 902ms
         # tags: ci:parallel
         # (from function `bail-now' in file test/system/[helpers.bash, line 230](https://github.com/containers/podman/blob/47ab0f1e94965c72eea213281a24fae74004851a/test/system/helpers.bash#L230),
         #  from function `die' in file test/system/[helpers.bash, line 994](https://github.com/containers/podman/blob/47ab0f1e94965c72eea213281a24fae74004851a/test/system/helpers.bash#L994),
         #  from function `run_podman' in file test/system/[helpers.bash, line 605](https://github.com/containers/podman/blob/47ab0f1e94965c72eea213281a24fae74004851a/test/system/helpers.bash#L605),
         #  in test file test/system/[065-cp.bats, line 131](https://github.com/containers/podman/blob/47ab0f1e94965c72eea213281a24fae74004851a/test/system/065-cp.bats#L131))
         #   `run_podman run --user=$userid ${keepid} -d --name $destrunning $IMAGE sleep infinity' failed
         #
<+     > # # podman-remote --url=unix:///tmp/CI_9lX2/bats-run-OfmgYN/suite/remotesystem.podman.3LCF4q.sock
         #
         # run --user=0 -d --name c-destrun-t122-9wq80tom quay.io/libpod/testimage:20241011 sleep infinity
<+075ms> # Error: failed to parse "X-Registry-Auth" header for /v6.0.0/libpod/images/pull?alltags=false&arch=&authfile=&os=&policy=missing&quiet=false&reference=quay.io%2Flibpod%2Ftestimage%3A20241011&variant=: open /tmp/CI_9lX2/auth.json.4292917733: permission denied
<+010ms> # [ rc=125 (** EXPECTED 0 **) ]
         # #/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
         # #| FAIL: exit code is 125; expected 0
         # #\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         # # [teardown]

https://api.cirrus-ci.com/v1/artifact/task/5960539500707840/html/sys-remote-fedora-41-root-host.log.html

Seen it only once so far but that one seem really odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flakesFlakes from Continuous Integrationkind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions