ci: Windows build fails intermittently when downloading (Failed to download from mirror set) #23107

issue MarcoFalke opened this issue on September 27, 2021
  1. MarcoFalke commented at 1:22 PM on September 27, 2021: member

    It seems that sometimes a download will fail, but succeeds on the retry, however the full build will still be marked as failed:

    https://cirrus-ci.com/task/4800755426131968?logs=build#L31

      A suitable version of powershell-core was not found (required v7.1.0). Downloading portable powershell-core v7.1.0...
      Downloading powershell-core...
        https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/PowerShell-7.1.0-win-x86.zip -> C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\downloads\PowerShell-7.1.0-win-x86.zip
      Failed to download from mirror set:
      https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/PowerShell-7.1.0-win-x86.zip: WinHttpReceiveResponse() failed: 12030
      
    C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets(94,5): error MSB3073: The command ""C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\scripts\buildsystems\msbuild\..\..\..\vcpkg.exe" install  --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\scripts\buildsystems\msbuild\..\..\..\\" "--x-manifest-root=C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc\\" "--x-install-root=C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc\vcpkg_installed\\" " exited with code 1. [C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc\libbitcoinconsensus\libbitcoinconsensus.vcxproj]
      Waiting to take filesystem lock on C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\.vcpkg-root...
      C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc
      Installing vcpkg dependencies to C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc\vcpkg_installed\
      "C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\scripts\buildsystems\msbuild\..\..\..\vcpkg.exe" install  --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\scripts\buildsystems\msbuild\..\..\..\\" "--x-manifest-root=C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc\\" "--x-install-root=C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\build_msvc\vcpkg_installed\\" 
      Detecting compiler hash for triplet x64-windows-static...
      A suitable version of powershell-core was not found (required v7.1.0). Downloading portable powershell-core v7.1.0...
      Downloading powershell-core...
        https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/PowerShell-7.1.0-win-x86.zip -> C:\Users\ContainerAdministrator\AppData\Local\Temp\vcpkg\downloads\PowerShell-7.1.0-win-x86.zip
      Extracting powershell-core...
    
  2. MarcoFalke added the label Bug on Sep 27, 2021
  3. hebasto commented at 1:30 PM on September 27, 2021: member

    Is it a vcpkg issue?

  4. MarcoFalke added the label Tests on Oct 7, 2021
  5. MarcoFalke added the label Windows on Oct 7, 2021
  6. MarcoFalke commented at 6:47 AM on October 7, 2021: member

    Maybe just run the command a second time if the first one fails?

  7. hebasto commented at 10:13 AM on October 7, 2021: member

    Addressed in #23215.

  8. fanquake closed this on Oct 23, 2021

  9. DrahtBot locked this on Oct 30, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me