microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.34k stars 6.45k forks source link

Binary caching with NuGet provider on macOS hangs on authentication to Azure Artifacts in Azure Pipelines #38871

Open stemann opened 6 months ago

stemann commented 6 months ago

Describe the bug Since 2023.08.09, vcpkg on macOS is unable to restore/push binary caching artifacts to Azure Artifacts NuGet feeds from Azure Pipelines, using Microsoft-hosted macOS agents.

Environment

To Reproduce Steps to reproduce the behavior:

  1. Checkout any tag after 2023.08.09 (e.g. 2023.10.19 or 2024.04.26):
  2. Set VCPKG_BINARY_SOURCES='clear;nuget,FEED_URL,readwrite
  3. Use a simple manifest (e.g. containing a boost port):
    { "dependencies": ["boost-algorithm"] }
  4. ./vcpkg install

Expected behavior vcpkg restores/pushes ports to NuGet binary provider.

Failure logs -(please attached failure logs)

Additional context Relates to #14840

JonLiu1993 commented 5 months ago

@stemann, thanks for posting this issue, let's track this in #14840.

stemann commented 5 months ago

I opened a new issue, since my issue was not related to issues after interactive authentication.

stemann commented 1 month ago

This still seems unresolved using the latest vcpkg tag (2024.09.30): vcpkg package management program version 2024-09-30-ab8988503c7cffabfd440b243a383c0a352a023d (using NuGet version 6.10.0).