Skip to content

No repository visible as '@python_3_11_x86_64-apple-darwin' from repository '@@_main~dev~rules_testing_dev_toolchains' error with Bazel@HEAD #76

@sgowroji

Description

@sgowroji

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3461#018bd123-ec1e-43cb-aad6-7c8b6c6c2203

Platform : Bzlmod on :darwin: (OpenJDK 11, Xcode)), (Bzlmod on :windows: (OpenJDK 11, VS2022))

Logs:

ERROR: no such package '@@[unknown repo 'python_3_11_x86_64-apple-darwin' requested from @@_main~dev~rules_testing_dev_toolchains]//': The repository '@@[unknown repo 'python_3_11_x86_64-apple-darwin' requested from @@_main~dev~rules_testing_dev_toolchains]' could not be resolved: No repository visible as '@python_3_11_x86_64-apple-darwin' from repository '@@_main~dev~rules_testing_dev_toolchains'
(05:04:00) ERROR: /private/var/tmp/_bazel_buildkite/9fc99e1aa7f3f63f7564fddf677bd6a4/external/bazel_tools/tools/jdk/BUILD:133:10: Target '@@bazel_tools//tools/jdk:proguard_whitelister' depends on toolchain '@@[unknown repo 'python_3_11_x86_64-apple-darwin' requested from @@_main~dev~rules_testing_dev_toolchains]//:python_runtimes', which cannot be found: no such package '@@[unknown repo 'python_3_11_x86_64-apple-darwin' requested from @@_main~dev~rules_testing_dev_toolchains]//': The repository '@@[unknown repo 'python_3_11_x86_64-apple-darwin' requested from @@_main~dev~rules_testing_dev_toolchains]' could not be resolved: No repository visible as '@python_3_11_x86_64-apple-darwin' from repository '@@_main~dev~rules_testing_dev_toolchains''

Steps:

git clone https://github.com/bazelbuild/rules_testing.git
git reset b88ee3c9d456f9d812ab6748aaaa709e8eb369c4 --hard
export USE_BAZEL_VERSION=51fd503c634d868dadbdc5b532da9d979119afb2
bazel test  --enable_bzlmod --test_tag_filters=-skip-bzlmod,-docs  --lockfile_mode=off --build_tag_filters=-no_bazel_downstream --test_tag_filters=-no_bazel_downstream -- ...

Note: Not able to figure out the bisect culprit.

CC Greenteam @SalmaSamy @Wyverald

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions