Test socket-close-on-exec.phpt fails on RV64
Aperta
Nessuno ha ancora preso questa issue.
Bug
Status: Needs Triage
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.2k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
Description
Building RC of PHP 8.3.22 and 8.4.8 I got consistent failure https://github.com/php/php-src/issues/12077#issuecomment-2904487564 on RiscV64
Resulted in this output:
TEST 17326/17411 [sapi/fpm/tests/socket-close-on-exec.phpt]
========DIFF========
001- My sockets (expect to see 2 of them - one ESTABLISHED and one LISTEN):
002- %S 127.0.0.1:%d->127.0.0.1:%d (ESTABLISHED)
003- %S 127.0.0.1:%d (LISTEN)
001+ ERROR: Request failed; EXCEPTION: Reading from the stream failed
005- Sockets after exec(), expected to be empty:
006- string(0) ""
003+ LOGS:
004+ --------------------------------------------------------------------
005+ [21-May-2025 19:11:16] NOTICE: fpm is running, pid 32032
006+ [21-May-2025 19:11:16] NOTICE: ready to handle connections
007+ --------------------------------------------------------------------
008+
009+ >>> Response
010+ ----------------- OUT -----------------
011+
012+ ----------------- ERR -----------------
013+
014+ ---------------------------------------
015+
016+ ERROR: The response is invalid:
017+
018+ LOGS:
019+ --------------------------------------------------------------------
020+ [21-May-2025 19:11:16] NOTICE: fpm is running, pid 32032
021+ [21-May-2025 19:11:16] NOTICE: ready to handle connections
022+ --------------------------------------------------------------------
023+
024+
Done
========DONE========
FAIL FPM: Set CLOEXEC on the listen and connection socket [sapi/fpm/tests/socket-close-on-exec.phpt]
PHP Version
8.3.22RC1 and 8.4.8RC1
Operating System
Alpinelinux
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con sapi/fpm/tests/socket-close-on-exec.phpt e riproduci il fallimento su RISC-V64 usando la build PHP 8.3.22RC1 o 8.4.8RC1 su Alpine Linux. Confronta l’output atteso del socket con l’errore dello stream e i log di FPM; il lavoro è completato quando questo test passa sulla piattaforma interessata senza risposte non valide.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- c, php
- Ambito
- backend, testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100