[Bazel CI] Test Failure: The test //tests/exec_toolchain_matching:test_exec_matches_target_python_version fails due to exec/target version mismatch
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- build-system
Direzione di ricerca
Riproducete il fallimento utilizzando i comandi git reset, USE_BAZEL_VERSION e bazel build elencati. Iniziate da //tests/exec_toolchain_matching:test_exec_matches_target_python_version e dal relativo test.log per determinare la mancata corrispondenza delle versioni tra exec e target. Il lavoro è completato quando il test non fallisce più e la build dell’esempio di wheel elencato termina correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Platform: Ubuntu
Logs:
(04:14:44) FAIL: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Exit 1) (see /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/5dbf842aae7b505a6f2030bfc609fac1/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/exec_toolchain_matching/test_exec_matches_target_python_version/test_attempts/attempt_1.log)
--
(04:14:44) [305 / 676] 163 / 539 tests; 30 actions, 24 running; last test: //tests/base_rules/py_test:test_explicit_main_cannot_be_ambiguous
Testing //tests/py_runtime_info:test_can_create_py_runtime_info_without_interpreter_version_info; 6s remote-cache, linux-sandbox
Testing //tests/multiple_inputs:multiple_requirements_in.test; 6s local, remote-cache
Testing //tests/pypi/requirements_files_by_platform:test_simple; 5s remote-cache, linux-sandbox
Testing //tests/base_rules/py_binary:test_tags_can_be_tuple; 2s remote-cache, linux-sandbox
Testing //tests/version:test_normalization; 2s remote-cache, linux-sandbox
(04:14:45) FAIL: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Exit 1) (see /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/5dbf842aae7b505a6f2030bfc609fac1/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/exec_toolchain_matching/test_exec_matches_target_python_version/test_attempts/attempt_2.log)
(04:14:45) [311 / 676] 169 / 539 tests; 30 actions, 25 running; last test: //sphinxdocs/tests/sphinx_stardoc:bzl_providers_build_test
Testing //tests/py_runtime_info:test_can_create_py_runtime_info_without_interpreter_version_info; 7s remote-cache, linux-sandbox
(04:14:45) FAIL: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Exit 1) (see /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/5dbf842aae7b505a6f2030bfc609fac1/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/exec_toolchain_matching/test_exec_matches_target_python_version/test.log)
FAILED: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Summary)
/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/5dbf842aae7b505a6f2030bfc609fac1/execroot/_main/bazel-out/k8-fastbuild/testlogs/tests/exec_toolchain_matching/test_exec_matches_target_python_version/test.log
Culprit:
Steps:
git clone -v https://github.com/bazel-contrib/rules_python.git
git reset 39e9a3f2d7844128c7e78ad42f1e373ba8fa0a7a --hard
export USE_BAZEL_VERSION=0327100c98a126b9fc83223ba41303fe8b37d331
bazel build --keep_going --verbose_failures --build_tag_filters=-integration-test --lockfile_mode=off @rules_python//examples/wheel/...
CC Greenteam @kotlaja
- Lingua principale
- Starlark
- Stelle
- 690
- Fork
- 722
- Merge medio
- 1g 55m
- PR unite (30g)
- 38
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bazel-contrib/rules_python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
bazel-contrib/rules_python#4179 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bazel-contrib/rules_python#4164 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bazel-contrib/rules_python#3821 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
bazel-contrib/rules_python#4181 ·
I maintainer di solito rispondono entro 1 giorno
-
Release 2.4.0Apertatype: release
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
bazel-contrib/rules_python#4175 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bazel-contrib/rules_python
Issue simili
-
package-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 7 giorni
-
bug p:1-highest pydanty:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pydantic/pydantic-ai#8841 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/vllm-metal#841 ·
I maintainer di solito rispondono entro 1 giorno
-
ida-free: file dialog aborts ("Settings schema 'org.gtk.Settings.FileChooser' is not installed")Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
NixOS/nixpkgs#567236 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno