bazel-contrib / bazel-contrib/rules_python

[Bazel CI] Test Failure: Python Toolchain Regression - Windows Runtime Bootstrap Failures (Exit 2)

Đang mở
#3,581 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Starlark
Star
688
Fork
721
Merge trung bình
15 giờ 7 phút
Pull request đã merge (30 ngày)
76

Mô tả

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5268#019c45ba-8186-4bd8-adda-218d5f0a1bdf

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện lỗi từ commit 0f4ff60a1727300e1bace6233e566076736e9f15 với USE_BAZEL_VERSION=f1be9ccfa5e5144f28e59686a03fd4a2df23f623 và bazel build //.... Bắt đầu với các log của tests/runtime_env_toolchain:bootstrap_script_test, tests/runtime_env_toolchain:toolchain_runs_test và tests/exec_toolchain_matching:test_exec_matches_target_python_version; hoàn tất khi các kiểm tra Windows này vượt qua mà không gặp hồi quy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
build-system, ci-cd
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.