bazelbuild / continuous-integration

Bazel's Continuous Integration Setup
https://buildkite.com
Apache License 2.0
253 stars 134 forks source link

[Bazel CI]rules_dotnet is failing with Bazel@HEAD #1961

Open sgowroji opened 1 month ago

sgowroji commented 1 month ago

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3890#018fc7ad-9ffc-4c02-95bd-216dbc07524b

Platform: Multiple

Logs:

2024-05-30 04:07:06 ERROR  Failed to download artifact: Error creating Google Cloud Storage client: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
2024-05-30 04:07:06 FATAL  Failed to download artifacts: There were errors with downloading some of the artifacts
Traceback (most recent call last):
  File "bazelci.py", line 4461, in <module>
    sys.exit(main())
  File "bazelci.py", line 4429, in main
    execute_commands(
  File "bazelci.py", line 1272, in execute_commands
    os.environ["USE_BAZEL_VERSION"] = download_bazel_binary(tmpdir, binary_platform)
  File "bazelci.py", line 1687, in download_bazel_binary
    return download_binary(dest_dir, platform, binary_name)
  File "bazelci.py", line 1676, in download_binary
    execute_command(
  File "bazelci.py", line 2709, in execute_command
    return subprocess.run(
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['buildkite-agent', 'artifact', 'download', 'bazel', '/tmp/tmpat91krs6', '--step', 'Build Bazel (:centos: CentOS 7)']' returned non-zero exit status 1.
🚨 Error: The command exited with status 1

Culprit:

Steps:

 git clone https://github.com/bazelbuild/rules_dotnet
git reset 626e28effb14f87de8375186ebb59911a16b71fb  --hard
export USE_BAZEL_VERSION=00a0837f86d6086bba4bbcfdb6ab354edb7f3b63 

CC Greenteam @comius