http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not exist

Open Beginner friendly
#2,397 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@InauguralPhysicist is already working on this.

Since Nov 18, 2026.

  • #2403 by @InauguralPhysicist — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bash, c

Research direction

Read no_children in tests/test_http_fetch.py and the expected-skip check in tests/sections/45i-http-fetch.sh. Make both checks use the task children file that the test reads, and print a skip reason naming that file when it is missing. Verify the two rows skip and the section reports 77 passed, 0 failed, 2 skipped on a system without that file, while counts stay unchanged when it exists.

Written by the indexing model from the issue text.

Description

area:http kind:gate-defect

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_children tests for the file it reads (a task's children), and prints SKIP with 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

Dominant language
C
Stars
3
Forks
7
Avg merge
3h 30m
Merged PRs (30d)
264

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InauguralSystems/EigenScript

All issues in InauguralSystems/EigenScript

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.