[Bazel CI] Timeout Error: buildtool integration tests timing out on Windows CI (ConvenienceSymlinkTest, SkymeldBuildIntegrationTest, GenQueryIntegrationTest)
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 75
Description
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5723#01a05604-56c5-4179-af67-f70989fd0765
Platform: Windows
Logs:
```
TIMEOUT: //src/test/java/com/google/devtools/build/lib/buildtool:ConvenienceSymlinkTest (Summary)
--
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/ConvenienceSymlinkTest/test.log
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/ConvenienceSymlinkTest/test_attempts/attempt_1.log
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/ConvenienceSymlinkTest/test_attempts/attempt_2.log
| (05:54:36) [17,116 / 17,163] 665 / 702 tests, 1 failed; 30 actions, 12 running; last test: .../build/lib/buildtool:ConvenienceSymlinkTest
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:ConvenienceSymlinkTest; 1243s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:SkymeldBuildIntegrationTest; 1221s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:GenQueryIntegrationTest; 1166s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:OutputArtifactConflictTest (shard 1 of 3); 859s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:OutputArtifactConflictTest (shard 2 of 3); 856s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:OutputArtifactConflictTest (shard 3 of 3); 853s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/analysis:AspectAutoExecGroupsTest; 14s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/analysis/starlark:ArgsParamFileTest; 5s remote-cache, local ...
| buildkite-agent artifact upload --content-type text/plain;charset=utf-8 src\test\java\com\google\devtools\build\lib\buildtool\ConvenienceSymlinkTest\test.log
|
| TIMEOUT: //src/test/java/com/google/devtools/build/lib/buildtool:SkymeldBuildIntegrationTest (Summary)
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/SkymeldBuildIntegrationTest/test.log
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/SkymeldBuildIntegrationTest/test_attempts/attempt_1.log
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/SkymeldBuildIntegrationTest/test_attempts/attempt_2.log
| (05:54:39) [17,118 / 17,163] 667 / 702 tests, 2 failed; 30 actions, 12 running; last test: .../lib/buildtool:SkymeldBuildIntegrationTest
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:SkymeldBuildIntegrationTest; 1224s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:GenQueryIntegrationTest; 1170s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:OutputArtifactConflictTest (shard 1 of 3); 862s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:OutputArtifactConflictTest (shard 2 of 3); 859s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/buildtool:OutputArtifactConflictTest (shard 3 of 3); 856s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/analysis:AspectAutoExecGroupsTest; 17s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/starlark:StarlarkAspectsPropagationPredicateTest; 7s remote-cache, local
| Testing //src/test/java/com/google/devtools/build/lib/analysis:DormantDependencyTest; 6s remote-cache, local ...
| buildkite-agent artifact upload --content-type text/plain;charset=utf-8 src\test\java\com\google\devtools\build\lib\buildtool\SkymeldBuildIntegrationTest\test.log
|
| TIMEOUT: //src/test/java/com/google/devtools/build/lib/buildtool:GenQueryIntegrationTest (Summary)
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/GenQueryIntegrationTest/test.log
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/GenQueryIntegrationTest/test_attempts/attempt_1.log
| C:/b/3ezhxhhm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/src/test/java/com/google/devtools/build/lib/buildtool/GenQueryIntegrationTest/test_attempts/attempt_2.log
| (05:58:27) [17,159 / 17,163] 701 / 702 tests, 3 failed; 4 actions running; last test: .../build/lib/buildtool:GenQueryIntegrationTest
```
Culprit:
Steps:
git clone https://github.com/bazelbuild/bazel.git
git reset bf49a0edc2c5aa879511846ef5285f709cd27e76 --hard
export USE_BAZEL_VERSION=bf49a0edc2c5aa879511846ef5285f709cd27e76
bazel test --config=ci-windows //...
CC Greenteam @Wyverald
Contributor guide
Research direction
Start by reproducing the issue with `bazel test --config=ci-windows //...` at commit `bf49a0edc2c5aa879511846ef5285f709cd27e76`. Read the logs for ConvenienceSymlinkTest, SkymeldBuildIntegrationTest, and GenQueryIntegrationTest under src/test/java/com/google/devtools/build/lib/buildtool, then identify the timeout cause. Done means the affected Windows CI tests complete without timing out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, ci-cd, operating-systems, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100