Skip to content

Infra - intermittent failure during vcpkg bootstrap on MacOS with operation timeout #5534

Open
@ahsonkhan

Description

@ahsonkhan

Job: CMakeGenerate Mac
Step: cmake generate for azure-core-amqp
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3697516&view=logs&j=5b93c52f-e230-56a0-4101-bbe6cb6c4dfb&t=ae87a839-4582-575c-61ff-d44f25932f8d

2024-04-15T18:16:29.7569280Z Vcpkg integrate step - DONE.
2024-04-15T18:16:29.7643960Z -- Bootstrapping vcpkg before install
2024-04-15T18:16:48.0484480Z -- Bootstrapping vcpkg before install - failed
2024-04-15T18:16:48.0490220Z CMake Error at build/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:899 (message):
2024-04-15T18:16:48.0581220Z   vcpkg install failed.  See logs for more information:
2024-04-15T18:16:48.0598710Z   /Users/runner/work/1/s/sdk/core/azure-core-amqp/build/vcpkg-bootstrap.log
2024-04-15T18:16:48.0600670Z Call Stack (most recent call first):
2024-04-15T18:16:48.0608270Z   /usr/local/Cellar/cmake/3.28.1/share/cmake/Modules/CMakeDetermineSystem.cmake:170 (include)
2024-04-15T18:16:48.0610790Z   CMakeLists.txt:10 (project)
2024-04-15T18:16:48.0612920Z 
2024-04-15T18:16:48.0621440Z 
2024-04-15T18:16:48.0623880Z CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
2024-04-15T18:16:48.0626010Z CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
2024-04-15T18:16:48.0628580Z -- Configuring incomplete, errors occurred!
2024-04-15T18:16:48.0634240Z 
2024-04-15T18:16:48.0651330Z ##[error]Bash exited with code '1'.
2024-04-15T18:16:48.0672750Z ##[section]Finishing: cmake generate for azure-core-amqp

The vcpkg-bootstrap.log says the following:

Log file: /Users/runner/work/1/s/sdk/core/azure-core-amqp/build/vcpkg-bootstrap.log
==============================================================================================================================
Downloading vcpkg-macos...
curl: (35) Recv failure: Operation timed out

@BillyONeal what should we try to do here to improve our build reliability? Can vcpkg do something here in terms of retries?

Metadata

Metadata

Assignees

Labels

Central-EngSysThis issue is owned by the Engineering System team.

Type

No type

Projects

Status

🤔 Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions