bazel-contrib / bazel-contrib/rules_python

[Bazel CI] Test failure: Bazel Toolchain Resolution Error: Linux vs. Darwin Path Mismatch

Abierto
#3,613 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Starlark
Estrellas
688
Forks
721
Merge medio
15 h 7 min
PR fusionados (30 d)
76

Descripción

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5285#019c6eff-8761-4678-a00b-7649b613b390

Platform: MacOs

Logs:

```
(04:28:32) FAIL: //tests/toolchains/transitions:test_minor_versions (Exit 1) (see /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/c61fdf562e46a6fbb164048a7ed7694a/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/toolchains/transitions/test_minor_versions/test_attempts/attempt_1.log)
(04:28:32) [335 / 671] 207 / 543 tests, 1 failed; 28 actions running; last test: ...n_create_py_runtime_info_without_interpreter_version_info
Testing //examples/wheel:requirements_server.test; 9s local, remote-cache
Testing //tests/pypi/whl_installer:wheel_test; 3s remote-cache, linux-sandbox
Testing //tests/multiple_inputs:multiple_requirements_in.test; 3s local, remote-cache
Testing //tests/bootstrap_impls:external_binary_test; 2s remote-cache, linux-sandbox
Testing //tests/runfiles:runfiles_test; 1s remote-cache, linux-sandbox
Testing //tests/toolchains/multi_platform_resolution:test_3_15_0a1_x86_64_apple_darwin; 1s remote-cache, linux-sandbox
(04:28:32) FAIL: //tests/toolchains/transitions:test_minor_versions (Exit 1) (see /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/c61fdf562e46a6fbb164048a7ed7694a/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/toolchains/transitions/test_minor_versions/test_attempts/attempt_2.log)
(04:28:34) FAIL: //tests/toolchains/transitions:test_minor_versions (Exit 1) (see /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/c61fdf562e46a6fbb164048a7ed7694a/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/toolchains/transitions/test_minor_versions/test.log)
 
FAILED: //tests/toolchains/transitions:test_minor_versions (Summary)
```

Culprit:

Steps:

git clone -v https://github.com/bazel-contrib/rules_python.git
git reset d31ec0d92d3c45d8898be5228b88f3c29f6a6eee --hard
export USE_BAZEL_VERSION=24ec866bc2c0761a7ceba400ad07f484841ff9a2
bazel build -- ... @rules_python//examples/wheel/...

CC Greenteam @pcloudy

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Reproduce the failure with the provided repository reset, USE_BAZEL_VERSION, and bazel build command. Start with tests/toolchains/transitions:test_minor_versions and its referenced test logs, then compare the Linux and Darwin paths involved in toolchain resolution. Done means the test passes on macOS without the reported path mismatch.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
build-system, ci-cd, testing
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.