Skip to content

bazel download flake #2337

@jpsim

Description

@jpsim

E.g. https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true

INFO: Repository build_bazel_rules_nodejs instantiated at:
  /Users/runner/work/envoy-mobile/envoy-mobile/WORKSPACE:37:25: in <toplevel>
  /private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/envoy/bazel/repositories_extra.bzl:12:15: in envoy_dependencies_extra
  /private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/emsdk/deps.bzl:7:21: in deps
Repository rule http_archive defined at:
  /private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in <toplevel>
WARNING: Download from https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.1/rules_nodejs-4.4.1.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.ContentLengthMismatchException Bytes read 589200 but wanted [11](https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true#step:4:12)26905
ERROR: An error occurred during the fetch of repository 'build_bazel_rules_nodejs':
   Traceback (most recent call last):
	File "/private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
		download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.1/rules_nodejs-4.4.1.tar.gz] to /private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/build_bazel_rules_nodejs/temp2920097791607199634/rules_nodejs-4.4.1.tar.gz: Bytes read 589200 but wanted 1[12](https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true#step:4:13)6905
ERROR: /Users/runner/work/envoy-mobile/envoy-mobile/WORKSPACE:37:25: fetching http_archive rule //external:build_bazel_rules_nodejs: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/bazel_tools/tools/build_defs/repo/http.bzl", line 100, column 45, in _http_archive_impl
		download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.1/rules_nodejs-4.4.1.tar.gz] to /private/var/tmp/_bazel_runner/b225883c33850f3f191a570e7b70ec29/external/build_bazel_rules_nodejs/temp292009779[16](https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true#step:4:17)07199634/rules_nodejs-4.4.1.tar.gz: Bytes read 589200 but wanted 1126905
INFO: Reading rc options for 'build' from /Users/runner/work/envoy-mobile/envoy-mobile/envoy/.bazelrc:
  'build' options: --color=yes --workspace_status_command=bash bazel/get_workspace_status --incompatible_strict_action_env --host_force_python=PY3 --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 --platform_mappings=bazel/platform_mappings --copt=-DABSL_MIN_LOG_LEVEL=4 --action_env=CC --host_action_env=CC --action_env=CXX --host_action_env=CXX --action_env=LLVM_CONFIG --host_action_env=LLVM_CONFIG --action_env=PATH --host_action_env=PATH --enable_platform_specific_config --define absl=1 --@com_googlesource_googleurl//build_config:system_icu=0 --test_env=HEAPCHECK=normal --test_env=PPROF_PATH
WARNING: Option 'auth_enabled' is deprecated: Use --google_default_credentials instead
WARNING: option '--google_default_credentials' was expanded to from both option '--config=remote-ci-macos' (source command line options) and option '--config=remote-ci-macos' (source command line options)
INFO: Invocation ID: 0cbbda0a-2c1f-4428-adfa-33a062a6242e
INFO: Streaming build results to: https://envoy.cluster.engflow.com/invocation/0cbbda0a-2c1f-4428-adfa-33a062a6242e
ERROR: @com_googlesource_googleurl//build_config:system_icu :: Error loading option @com_googlesource_googleurl//build_config:system_icu: no such package '@build_bazel_rules_nodejs//': java.io.IOException: Error downloading [https://github.com/bazelbuild/rules_nodejs/releases/download/4.4.1/rules_nodejs-4.4.1.tar.gz] to /private/var/tmp/_bazel_runner/b225883c33850f3f[19](https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true#step:4:20)1a570e7b70ec29/external/build_bazel_rules_nodejs/temp29[20](https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true#step:4:21)097791607199634/rules_nodejs-4.4.1.tar.gz: Bytes read 589200 but wanted 1126905
INFO: Streaming build results to: https://envoy.cluster.engflow.com/invocation/0cbbda0a-2c1f-4428-adfa-33a062a6[24](https://github.com/envoyproxy/envoy-mobile/runs/6728606246?check_suite_focus=true#step:4:25)2e

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions