[CI] Add retry to cmake install (#42186) ### Description Last 3 runs of tests flaking with following error ``` -- Downloading from https://github.com/bufbuild/protoc-gen-validate/archive/refs/tags/v1.2.1.tar.gz, if failed, please try configuring again CMake Error at cmake/download_archive.cmake:25 (file): file DOWNLOAD HASH mismatch for file: [/b/f/w/bazel-out/k8-fastbuild/bin/tools/bazelify_tests/test/cpp_distribtest_cmake_pkgconfig_linux.runfiles/_main/grpc/cmake/build/http_archives/protoc-gen-validate-1.2.1.tar.gz] expected hash: [e4718352754df1393b8792b631338aa8562f390e8160783e365454bc11d96328] actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855] status: [22;"HTTP response code said error"] Call Stack (most recent call first): CMakeLists.txt:442 (download_archive) ``` ``` -- No package 'libsystemd' found -- Downloading from https://github.com/google/cel-spec/archive/refs/tags/v0.25.1.tar.gz, if failed, please try configuring again -- Downloading from https://github.com/envoyproxy/data-plane-api/archive/6ef568cf4a67362849911d1d2a546fd9f35db2ff.tar.gz, if failed, please try configuring again CMake Error at cmake/download_archive.cmake:25 (file): file DOWNLOAD HASH mismatch for file: [/b/f/w/bazel-out/k8-fastbuild/bin/tools/bazelify_tests/test/cpp_distribtest_cmake_linux.runfiles/_main/grpc/cmake/build/http_archives/data-plane-api-6ef568cf4a67362849911d1d2a546fd9f35db2ff.tar.gz] expected hash: [ed5e6c319f8ebcdf24a9491f866a599bb9a3c193b859a94ad13bd31f85b46855] actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855] status: [22;"HTTP response code said error"] ``` ``` -- Downloading from https://github.com/google/cel-spec/archive/refs/tags/v0.25.1.tar.gz, if failed, please try configuring again CMake Error at cmake/download_archive.cmake:25 (file): file DOWNLOAD HASH mismatch for file: [/b/f/w/bazel-out/k8-fastbuild/bin/tools/bazelify_tests/test/cpp_distribtest_cmake_pkgconfig_linux.runfiles/_main/grpc/cmake/build/http_archives/cel-spec-0.25.1.tar.gz] expected hash: [13583c5a312861648449845b709722676a3c9b43396b6b8e9cbe4538feb74ad2] actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855] status: [22;"HTTP response code said error"] ``` #### Note SHA256 of empty file is `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855` ```bash [20/04/26 6:09:23] ⚡️asheshvidyut@asheshvidyut-mac ~/grpc (pr-42171) » touch check 130 ↵ [20/04/26 6:09:26] ⚡️asheshvidyut@asheshvidyut-mac ~/grpc (pr-42171 %) » sha256 check SHA256 (check) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 [20/04/26 6:09:27] ⚡️asheshvidyut@asheshvidyut-mac ~/grpc (pr-42171 %) » ``` Proposal is to retry the install attempt. Closes #42186 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/42186 from asheshvidyut:fixit/fix-flake-bazel-non-bazel a3fd191fffea58dc771845c63ff6263aa5f4e966 PiperOrigin-RevId: 902615158
gRPC is a modern, open source, high-performance remote procedure call (RPC) framework that can run anywhere. gRPC enables client and server applications to communicate transparently, and simplifies the building of connected systems.
To maximize usability, gRPC supports the standard method for adding dependencies to a user‘s chosen language (if there is one). In most languages, the gRPC runtime comes as a package available in a user’s language package manager.
For instructions on how to use the language-specific gRPC runtime for a project, please refer to these documents
src/cpp directoryGrpc.Net.Client, Grpc.AspNetCore.Servergrpcgo get google.golang.org/grpcnpm install @grpc/grpc-jsgRPC-ProtoRPC dependency to podspecpecl install grpcpip install grpciogem install grpcPer-language quickstart guides and tutorials can be found in the documentation section on the grpc.io website. Code examples are available in the examples directory.
Precompiled bleeding-edge package builds of gRPC master branch's HEAD are uploaded daily to packages.grpc.io.
Contributions are welcome!
Please read How to contribute which will guide you through the entire workflow of how to build the source code, how to run the tests, and how to contribute changes to the gRPC codebase. The “How to contribute” document also contains info on how the contribution process works and contains best practices for creating contributions.
Sometimes things go wrong. Please check out the Troubleshooting guide if you are experiencing issues with gRPC.
See the Performance dashboard for performance numbers of master branch daily builds.
See gRPC Concepts
This repository contains source code for gRPC libraries implemented in multiple languages written on top of a shared C++ core library src/core.
Libraries in different languages may be in various states of development. We are seeking contributions for all of these libraries:
| Language | Source |
|---|---|
| Shared C++ [core library] | src/core |
| C++ | src/cpp |
| Ruby | src/ruby |
| Python | src/python |
| PHP | src/php |
| C# (core library based) | src/csharp |
| Objective-C | src/objective-c |
| Language | Source repo |
|---|---|
| Java | grpc-java |
| Kotlin | grpc-kotlin |
| Go | grpc-go |
| NodeJS | grpc-node |
| WebJS | grpc-web |
| Dart | grpc-dart |
| .NET (pure C# impl.) | grpc-dotnet |
| Swift | grpc-swift |