[Bazel CI] Bazel: buildtool and metrics tests time out on Windows with Bazel@HEAD

Open
#33,009 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java

Research direction

Start with the linked Buildkite run and reproduce the timeout on Windows using the four named test targets and the ci-windows configuration at commit 24c5dcfbbad098703e26dfb75085ed852e007b7d. Read the failing test logs to identify where each target stalls; the issue does not name an implementation file. Done means the tests complete without timing out on Windows.

Written by the indexing model from the issue text.

Description

platform: windows team-Core team-Local-Exec type: bug

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5927#01a22aa0-cf65-45c2-b71c-ae45ed5e86bf

Platform: windows

Logs:

TIMEOUT: //src/test/java/com/google/devtools/build/lib/metrics:MetricsCollectorTest (Summary)
TIMEOUT: //src/test/java/com/google/devtools/build/lib/buildtool:GenQueryIntegrationTest (Summary)
TIMEOUT: //src/test/java/com/google/devtools/build/lib/buildtool:EnvironmentRestrictedBuildTest (Summary)
TIMEOUT: //src/test/java/com/google/devtools/build/lib/buildtool:BuildResultListenerIntegrationTest (Summary)
# Received cancellation signal, interrupting
Bazel Ctrl+C handler; shutting down.
🚨 Error: The command exited with status 3221225786

Steps:
git clone https://github.com/bazelbuild/bazel.git
git reset 24c5dcfbbad098703e26dfb75085ed852e007b7d --hard
export USE_BAZEL_VERSION=24c5dcfbbad098703e26dfb75085ed852e007b7d
bazel test --config=ci-windows -- //src/test/java/com/google/devtools/build/lib/metrics:MetricsCollectorTest //src/test/java/com/google/devtools/build/lib/buildtool:GenQueryIntegrationTest //src/test/java/com/google/devtools/build/lib/buildtool:EnvironmentRestrictedBuildTest //src/test/java/com/google/devtools/build/lib/buildtool:BuildResultListenerIntegrationTest # on Windows

CC Greenteam @kotlaja

Dominant language
Java
Stars
26.2k
Forks
4.7k
Avg merge
3d 11h
Merged PRs (30d)
125

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/bazel

All issues in bazelbuild/bazel

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.