Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bazel CI] Error creating google cloud storage client: google could not find default credentials. #1948

Open
sgowroji opened this issue May 2, 2024 · 2 comments
Labels

Comments

@sgowroji
Copy link
Member

sgowroji commented May 2, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3826#018f3254-f257-41a2-8c5e-350b2a74de4f

Platform: Ubuntu

Logs:

2024-05-01 04:43:26 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-01 04:43:26 FATAL  Failed to download artifacts: There were errors with downloading some of the artifacts
Traceback (most recent call last):
  File "bazelci.py", line 4434, in <module>
    sys.exit(main())
  File "bazelci.py", line 4402, 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/tmpaoaeb44k', '--step', 'Build Bazel (:centos: CentOS 7)']' returned non-zero exit status 1.
🚨 Error: The command exited with status 1

CC Greenteam @SalmaSamy

@Wyverald
Copy link
Member

Wyverald commented May 2, 2024

@fweikert This seems to happen on Windows arm64 and Linux arm64 only. Not sure what's happening there

@meteorcloudy
Copy link
Member

We don't have GCP access on those platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants