Skip to content

FLAKE in windows build prepare step: chocolatey installation of NASM occasionally fails #25545

@jtattermusch

Description

@jtattermusch

https://source.cloud.google.com/results/invocations/fae6257c-f5d0-4884-a50f-fe306e5625e6/log

the installation error

nasm v2.14.02 [Approved]

nasm package files install completed. Performing other installation steps.

Attempt to get headers for https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe'. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

Downloading nasm 64 bit

  from 'https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe'

ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-installer-x64.exe'. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.

The install of nasm was NOT successful.

Error while running 'C:\ProgramData\chocolatey\lib\nasm\tools\chocolateyInstall.ps1'.

 See log for details.



Chocolatey installed 0/1 packages. 1 packages failed.

 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

The build afterward fails with
https://source.cloud.google.com/results/invocations/fae6257c-f5d0-4884-a50f-fe306e5625e6/targets/github%2Fgrpc/tests

-- The ASM_NASM compiler identification is unknown
-- Didn't find assembler
CMake Error at third_party/boringssl-with-bazel/CMakeLists.txt:120 (enable_language):
  No CMAKE_ASM_NASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM_NASM" or the CMake cache entry CMAKE_ASM_NASM_COMPILER to the
  full path to the compiler, or to the compiler name if it is in the PATH.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions