[Bazel CI] Test Failure: Python Toolchain Regression - Windows Runtime Bootstrap Failures (Exit 2)
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- build-system, ci-cd
调研方向
使用 USE_BAZEL_VERSION=f1be9ccfa5e5144f28e59686a03fd4a2df23f623 和 bazel build //... 重现 commit 0f4ff60a1727300e1bace6233e566076736e9f15 引入的失败。先查看 tests/runtime_env_toolchain:bootstrap_script_test、tests/runtime_env_toolchain:toolchain_runs_test 和 tests/exec_toolchain_matching:test_exec_matches_target_python_version 的日志;当这些 Windows 检查在没有回归的情况下通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Platform: Default (Windows)
Logs:
(04:16:58) [297 / 612] 164 / 540 tests, 1 failed; 30 actions, 19 running; last test: //tests/bootstrap_impls:run_binary_zip_no_test
--
Testing //tests/bootstrap_impls:run_binary_zip_no_test; 17s local, remote-cache
(04:17:25) FAIL: //tests/runtime_env_toolchain:bootstrap_script_test (Exit 2) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-fastbuild-ST-1b13a798666d/testlogs/tests/runtime_env_toolchain/bootstrap_script_test/test_attempts/attempt_1.log)
(04:17:25) [458 / 677] 272 / 540 tests, 1 failed; 30 actions, 21 running; last test: //tests/pypi/parse_requirements:test_multi_os
(04:17:27) FAIL: //tests/runtime_env_toolchain:bootstrap_script_test (Exit 2) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-fastbuild-ST-1b13a798666d/testlogs/tests/runtime_env_toolchain/bootstrap_script_test/test_attempts/attempt_2.log)
(04:17:33) FAIL: //tests/runtime_env_toolchain:bootstrap_script_test (Exit 2) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-fastbuild-ST-1b13a798666d/testlogs/tests/runtime_env_toolchain/bootstrap_script_test/test.log)
FAILED: //tests/runtime_env_toolchain:bootstrap_script_test (Summary)
(04:17:42) FAIL: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Exit 1) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/tests/exec_toolchain_matching/test_exec_matches_target_python_version/test_attempts/attempt_1.log)
(04:17:42) [563 / 732] 342 / 540 tests, 2 failed; 29 actions, 19 running; last test: //tests/toolchains:python_3.14.2_test
Testing //tests/pypi/config_settings:test_legacy_with_constraint_values; 0s local, remote-cache
(04:17:43) FAIL: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Exit 1) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-fastbuild/testlogs/tests/exec_toolchain_matching/test_exec_matches_target_python_version/test_attempts/attempt_2.log)
(04:17:43) FAIL: //tests/runtime_env_toolchain:toolchain_runs_test (Exit 2) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-fastbuild-ST-a20f7ca3e2cb/testlogs/tests/runtime_env_toolchain/toolchain_runs_test/test_attempts/attempt_1.log)
(04:17:43) [577 / 732] 356 / 540 tests, 2 failed; 30 actions, 25 running; last test: //tests/pypi/select_whl:test_pytags_all_possible
Testing //tests/repl:repl_without_dep_test; 43s local, remote-cache
(04:17:43) FAIL: //tests/exec_toolchain_matching:test_exec_matches_target_python_version (Exit 1) (see C:/b/xe3bomgm/execroot/_main/bazel-out/x64_windows-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)
(04:17:43) [583 / 732] 363 / 540 tests, 3 failed; 30 actions, 24 running; last test: ...hain_matching:test_exec_matches_target_python_version
Culprit:
Steps:
git clone https://github.com/bazel-contrib/rules_python.git
git reset 0f4ff60a1727300e1bace6233e566076736e9f15 --hard
export USE_BAZEL_VERSION=f1be9ccfa5e5144f28e59686a03fd4a2df23f623
bazel build //...
CC Greenteam @salmasamy
- 主要语言
- Starlark
- 星标
- 690
- 派生
- 722
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 42
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bazel-contrib/rules_python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
bazel-contrib/rules_python#4164 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
bazel-contrib/rules_python#3821 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
bazel-contrib/rules_python#4181 ·
维护者通常 2 天内回复
-
Release 2.4.0未关闭type: release
难度 4/5 3-5 天 新手友好度 25/100
bazel-contrib/rules_python#4175 · 10 条评论 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 70/100
bazel-contrib/rules_python#4171 ·
维护者通常 2 天内回复
查看 bazel-contrib/rules_python 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
yegor256/copyrights-action#216 ·
-
update-request
难度 2/5 1-3 小时 新手友好度 75/100
msys2/MINGW-packages#32008 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
cytomining/copairs#145 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bot-found bug priority: P3
难度 2/5 1-3 小时 新手友好度 84/100
madenvel/KalinkaPlayer#179 ·