Skip to content

Github runner now pick bazel 9.0.0, instead of expected version 8.5.0 #13564

@marcalff

Description

@marcalff

Description

Image: ubuntu-24.04
Version: 20260111.209.1

According to:
https://github.com/actions/runner-images/blob/ubuntu24/20260111.209/images/ubuntu/Ubuntu2404-Readme.md

the version of bazel used should be:

Bazel 8.5.0
Bazelisk 1.26.0

Now, in the runner, invoking bazel downloads bazel 9.0.0 instead, and runs it.

2026/01/20 20:06:06 Downloading https://releases.bazel.build/9.0.0/release/bazel-9.0.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server (9.0.0) and connecting to it...

Note that:

Work around:

export USE_BAZEL_VERSION="8.5.0"

to force the bazelisk script to use the proper version.

This is a breaking change, and blocking (the build with bazel 9.0.0 is broken)

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26 Arm64
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

https://github.com/open-telemetry/opentelemetry-cpp/actions/runs/21184948231/job/60936855673

Is it regression?

Regression, caused by release of bazel 9.0.0, now downloaded by default

Expected behavior

Use bazel 8.5.0 as advertised.

Actual behavior

Bazel 9.0.0 is used.

Repro steps

Run CI using bazel after the bazel 9.0.0 release.
See repo opentelemetry-cpp

Metadata

Metadata

Assignees

Labels

OS: Ubuntubug reportinvestigateCollect additional information, like space on disk, other tool incompatibilities etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions