Skip to content

Artifactory registry integration test fails with 401 Unauthorized #490

Closed

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/30652940698
Job: https://github.com/astral-sh/uv/actions/runs/30652940698/job/91231536839

The CI workflow's test-integration / registries job failed on Ubuntu during attempt 1 of the environment-variable authentication backend:

artifactory: FAIL
DEBUG Indexes search failed because of status code failure: 401 Unauthorized
hint: An index URL could not be queried due to a lack of valid authentication credentials (401 Unauthorized)
Results: 6/7 tests passed, 0 skipped

This was a push to main. AWS, Azure, Cloudsmith, GCP, Gemfury, and GitLab passed in the same invocation, isolating the failure to the repository-managed Artifactory integration. The text-store backend was skipped only because the preceding step failed.

The log establishes that Artifactory rejected the configured credentials, but it does not establish whether the secret expired, was rotated, or the account changed. The credential/account configuration should be repaired, or the workflow should mitigate this external integration failure.

Closely related history: astral-sh#14276 temporarily disabled this test for an Artifactory subscription problem, and astral-sh#14408 re-enabled it after that account issue was resolved. astral-sh#17485 is not the same failure; it concerns intermittent concurrent-request 401s against a separate Artifactory deployment.

Activity

  1. added
    internal:ci-flake
    on Jul 31, 2026
  2. astral-automations-bot commented on Jul 31, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/30653726118

    Another attempt-1 main-branch sample of the Artifactory environment-variable backend returning 401 while the other six registries passed. The same run independently hit #363 in the pypi-token publish path.

  3. astral-automations-bot commented on Jul 31, 2026

    @astral-automations-bot
    Author
  4. astral-automations-bot commented on Jul 31, 2026

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Aug 1, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/30675962892

    Another occurrence in https://github.com/astral-sh/uv/actions/runs/30675962892: this sample is from astral-sh#20874, but the failure remains isolated to the Artifactory environment-variable backend while the other six registries pass, further indicating it is unrelated to the setup-python v7 change.

  6. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  10. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  11. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  12. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  13. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  14. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  15. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  16. 65 remaining items

  17. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  18. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  19. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  20. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  21. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  22. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  23. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  24. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  25. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  26. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/31428448762

    This attempt-1 main-branch occurrence also independently timed out the Azure registry after 30 seconds; that provider variation matches the no-retry timeout behavior tracked by #390.

  27. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  28. astral-automations-bot commented on Aug 11, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/31496781919

    This astral-sh#20884 sample confirms AWS passed with the v6.2.3 action pin while Artifactory alone returned 401. The same run independently reproduced #506 during a single-workflow-file review after about 9½ minutes, rather than during a lockfile scan.

  29. astral-automations-bot commented on Aug 11, 2026

    @astral-automations-bot
    Author
  30. ewdurbin commented on Sep 1, 2026

    @ewdurbin
    Collaborator

    This was resolved by updating credentials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal:ci-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions