Skip to content
Success

Changes

Summary

  1. fix(pingcap/tidb): fix bazel error (#3312) (commit: 5572a41) (details)
Commit 5572a41a2d5253ebba71957ccf25d7c8a30e4d04 by noreply
fix(pingcap/tidb): fix bazel error (#3312)

An error will be encountered when executing make bazel_prepare.
```shell
make bazel_prepare
./tools/check/check-bazel-prepare.sh
make[1]: Entering directory `/home/jenkins/agent/workspace/pingcap/tidb/release-6.5/ghpr_check/tidb'
bazel run //:gazelle
FATAL: corrupt installation: file '/home/jenkins/.cache/bazel/_bazel_jenkins/install/a09dbb90c658248f08f9aa0eba11997d/A-server.jar' is missing or modified.  Please remove '/home/jenkins/.cache/bazel/_bazel_jenkins/install/a09dbb90c658248f08f9aa0eba11997d' and try again.
make[1]: *** [bazel_prepare] Error 36
```
To fix the error, we need to delete this directory first.

Related issue  https://github.com/bazelbuild/bazel/issues/14355

Signed-off-by: purelind <purelind@gmail.com>
(commit: 5572a41)
The file was modifiedpipelines/pingcap/tidb/release-6.5-with-kv-timeout-feature/ghpr_check.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/release-6.5/ghpr_check.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/release-6.5-fips/ghpr_check.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/release-6.5-20241101-v6.5.7/ghpr_check.groovy (diff)