Test php_cli_server_pdeathsig fails in Alpinelinux CI
Open
Nobody has claimed this yet.
Bug
Category: Tests
SAPI: cli_server
Status: Needs Triage
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
It fails only in Gitlab CI jobs and only for x86 and x86_64
TEST 17350/17550 [sapi/cli/tests/php_cli_server_pdeathsig.phpt]
TEST 17350/17550 [sapi/cli/tests/php_cli_server_pdeathsig.phpt]
========DIFF========
[1;31m001- Done[0m
[1;32m001+ Fatal error: Uncaught Exception: Workers were not properly terminated. Before: 336413, 336414, after: 336413, 336414 in /builds/bigalpaca/aports/community/php83/src/php-8.3.29/sapi/cli/tests/php_cli_server_pdeathsig.php:34[0m
[1;32m002+ Stack trace:[0m
[1;32m003+ #0 {main}[0m
[1;32m004+ thrown in /builds/bigalpaca/aports/community/php83/src/php-8.3.29/sapi/cli/tests/php_cli_server_pdeathsig.php on line 34[0m
========DONE========
[1;31mFAIL[0m Killing server should terminate all worker processes [sapi/cli/tests/php_cli_server_pdeathsig.phpt]
Looks like it started to happen consistently 2-3 releases ago
PHP Version
PHP 8.3-8.5
Operating System
Alpinelinux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sapi/cli/tests/php_cli_server_pdeathsig.phpt and its PHP test script, especially the worker termination check reported at line 34. Reproduce the failure in the Alpine Linux GitLab CI jobs on x86 or x86_64 and compare it with other platforms. Done means the test reports “Done” and all worker processes terminate after the server is killed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- ci-cd, cli, operating-systems, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100