Closed sgowroji closed 11 months ago
The first breakage happened from Wednesday to Thursday 7th Sep 2023: https://buildkite.com/bazel/bazel-skylib/builds?branch=main
It looks it was caused by a change in Bazel. Autosheriff didn't bisect the problem (possibly because skylib includes Bazel@HEAD test). cc @meteorcloudy
The problem looks related to Python rules (or java rules). Do you know of any relevant changes? cc @rickeylev @hvadehra
We can use https://github.com/bazelbuild/bazelisk#--bisect to debug this.
Bisect Results: https://github.com/bazelbuild/bazel/commit/b27ca73617c5319d4b15a9e5ba499cf476679a95
bazelisk --bisect=e8f5082a266ad71693aa436ef56280e6c457353b..HEAD test -- //... @bazel_skylib_gazelle_plugin//...
Interesting, looks like it's my fault, I'll take a look soon!
In https://github.com/bazelbuild/bazel/commit/b27ca73617c5319d4b15a9e5ba499cf476679a95, I did update the rules_python version introduced by the WORKSPACE suffix.
Maybe we need to fix the test setup here: https://github.com/bazelbuild/bazel-skylib/blob/main/tests/analysis_test_test.sh#L82
Can anyone review https://github.com/bazelbuild/bazel-skylib/pull/462?
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3293#018a728b-ccef-4f35-a36a-43b6b74145a0
Platform : Ubuntu, MacOS, Windows
Logs:
Steps:
CC Greenteam @fweikert