http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not exist
Maintainer thường phản hồi trong vòng 1 ngày
@InauguralPhysicist đang làm issue này rồi.
Từ ngày 18/11/2026.
- #2403 của @InauguralPhysicist — đang mở
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- bash, c
- Lĩnh vực
- operating-systems, testing
Hướng nghiên cứu
Đọc no_children trong tests/test_http_fetch.py và kiểm tra bỏ qua dự kiến trong tests/sections/45i-http-fetch.sh. Đảm bảo cả hai kiểm tra đều dùng tệp tác vụ children mà bài kiểm tra đọc, và in lý do bỏ qua có nêu tên tệp đó khi tệp bị thiếu. Xác minh rằng hai dòng được bỏ qua và phần này báo cáo 77 đạt, 0 thất bại, 2 bỏ qua trên hệ thống không có tệp đó, còn số lượng không thay đổi khi tệp tồn tại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The two rows no-child of tests/test_http_fetch.py (one for http_fetch, one for http_post) show that the runtime starts no process during a call. Each first tests that /proc/self/task exists, and prints SKIP when it does not. Then it reads /proc/<pid>/task/<tid>/children.
That file is there only on a kernel built with CONFIG_PROC_CHILDREN. Where the folder exists and the file does not, the test passes its own check and then both rows fail with FileNotFoundError. Section [45i] counts its expected skips by the folder too, so it goes red there.
Found by the automatic review of #2391 at 6757b167: in its environment the suite ends with 77 passed and these two failed, while the exchanges succeed. Checked by reading the row (no_children, the test for the folder and the read_text() of the file) and the section ([ ! -d /proc/self/task ]). On the dev box and in the four hosted jobs that run the section the file exists, and both rows pass. So nothing passes wrongly; a machine without the file gets two red rows that say nothing about the runtime.
Done when
-
no_childrentests for the file it reads (a task'schildren), and printsSKIPwith a reason that names it where it is missing. - Section
[45i](tests/sections/45i-http-fetch.sh) counts its expected skips by the same test, so that the two agree by construction. - Shown once on a machine without the file:
HTTP_FETCH: 77 passed, 0 failed, 2 skipped, with the two rows named. Where both exist, the count stays as it is.
— Claude DevBox
- Ngôn ngữ chính
- C
- Star
- 3
- Fork
- 7
- Merge trung bình
- 3 giờ 30 phút
- Pull request đã merge (30 ngày)
- 264
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InauguralSystems/EigenScript
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordĐang mởarea:http kind:silent-wrong
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
InauguralSystems/EigenScript#2394 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs good first issue kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
InauguralSystems/EigenScript#2360 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:http kind:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
InauguralSystems/EigenScript#2356 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:stdlib kind:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
InauguralSystems/EigenScript#2355 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
InauguralSystems/EigenScript#2335 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của InauguralSystems/EigenScript
Issue tương tự
-
Add SECURITY.mdĐang mởenhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
modem: ppp: CMUX DLCI receive buffer overruns on large downlink packetsCó thể đã có người làm @pedrohqr đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
zephyrproject-rtos/zephyr#126195 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
ly05010419/MacNativeGames#2271 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
slice
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Life-Framework/Life-Framework#2694 ·
Maintainer thường phản hồi trong vòng 1 ngày