test_cpf_cache: stage exited 1 once after check found the form (in-image sweep)

Đang mở
#263 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, python
Lĩnh vực
testing

Hướng nghiên cứu

Start from tests/test_cpf_cache.py and the stage entry point the failing test exercises, then read the open items in containers/images/judge-agent-amd/README.md to see what the sweep already ruled out. Reproduce by looping the file under pytest -n 16 --dist loadgroup; use the stderr assert_staged prints since aa06dfae3 to name the miss. Done means the non---cache input — env var, working directory, shared lock or xdist race — is identified and made deterministic.

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

Mô tả

tests/test_cpf_cache.py::test_check_and_stage_strip_the_kernel_names_the_render_and_verify_commands_strip failed once in the AMD image test sweep of job 758901 (pytest -n 16, --dist loadgroup): check found the gemm form, and stage exited 1 right after. It did not recur in rounds 16 and 17, and it passes in CI.

The test uses its own tmp_path, so the cause is something stage reads outside --cache, such as an environment variable, the working directory, a shared lock or cache directory, or a race with another xdist worker.

Since aa06dfae3, assert_staged prints what stage wrote to stderr, so the next failure names the miss. Documented under "open items" in containers/images/judge-agent-amd/README.md.

🤖 Generated with Claude Code

Ngôn ngữ chính
Python
Star
9
Fork
9
Merge trung bình
3 giờ 5 phút
Pull request đã merge (30 ngày)
123

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của spcl/HPCAgent-Bench

Tất cả issue của spcl/HPCAgent-Bench

Issue tương tự

Thêm issue về Python

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.