http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not exist
Mantenedores costumam responder em até 1 dia
@InauguralPhysicist já está trabalhando nisso.
Desde 18/11/2026.
- #2403 de @InauguralPhysicist — aberto
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 82/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- bash, c
- Domínio
- operating-systems, testing
Direção de pesquisa
Leia no_children em tests/test_http_fetch.py e a verificação de ignorados esperados em tests/sections/45i-http-fetch.sh. Faça as duas verificações usarem o arquivo da tarefa children lido pelo teste e imprima um motivo para ignorar que mencione esse arquivo quando ele estiver ausente. Verifique que as duas linhas sejam ignoradas e que a seção informe 77 aprovadas, 0 falhas e 2 ignoradas em um sistema sem esse arquivo, enquanto as contagens permaneçam inalteradas quando ele existir.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- C
- Estrelas
- 3
- Forks
- 7
- Merge médio
- 3h 30min
- PRs com merge (30d)
- 264
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de InauguralSystems/EigenScript
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordAbertaarea:http kind:silent-wrong
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
InauguralSystems/EigenScript#2394 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area:docs good first issue kind:docs-drift
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
InauguralSystems/EigenScript#2360 ·
Mantenedores costumam responder em até 1 dia
-
area:http kind:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
InauguralSystems/EigenScript#2356 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
area:stdlib kind:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
InauguralSystems/EigenScript#2355 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
InauguralSystems/EigenScript#2335 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de InauguralSystems/EigenScript
Issues semelhantes
-
on_ctrl_redirect(): iterator never advances — infinite loop stalls the event loop at 100% CPUAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
openziti/ziti-sdk-c#1254 ·
Mantenedores costumam responder em até 1 dia
-
Add SECURITY.mdAbertaenhancement
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
-
modem: ppp: CMUX DLCI receive buffer overruns on large downlink packetsTalvez já em andamento @pedrohqr assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
zephyrproject-rtos/zephyr#126195 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
ly05010419/MacNativeGames#2271 ·
Mantenedores costumam responder em até 1 dia