Skip to content

Test registry_client::tests::test_redirect_to_server_with_credentials is flaky on ppc64le, s390x #16447

@musicinmybrain

Description

@musicinmybrain

Summary

In ten “scratch builds” of Fedora’s uv package, the test registry_client::tests::test_redirect_to_server_with_credentials failed once on ppc64le:

failures:
---- registry_client::tests::test_redirect_to_server_with_credentials stdout ----
thread 'registry_client::tests::test_redirect_to_server_with_credentials' panicked at crates/uv-client/src/registry_client.rs:1425:9:
assertion `left == right` failed: Requests should fail if credentials are missing
  left: 200
 right: 401
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This seems to be a relatively new issue in the 0.9.x series. I have seen it a couple of times, always on ppc64le. I don’t know if the problem is arch-specific, or if there is just a race condition that happens to be easier to hit on that architecture. I am temporarily without access to a computer with enough RAM to easily build uv locally, so I didn’t try to investigate this further. I’m just skipping the test for now.

Platform

Fedora Rawhide, ppc64le

Version

uv 0.9.5

Python version

Python 3.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingci-flakeRelated to internal CI flakes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions