Test php_cli_server_pdeathsig fails in Alpinelinux CI
未关闭
还没有人认领这个 Issue。
Bug
Category: Tests
SAPI: cli_server
Status: Needs Triage
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 sapi/cli/tests/php_cli_server_pdeathsig.phpt 及其 PHP 测试脚本开始,尤其关注第 34 行报告的 worker 终止检查。在 x86 或 x86_64 上的 Alpine Linux GitLab CI 作业中复现该失败,并与其他平台进行比较。当测试报告 “Done” 且服务器被终止后所有 worker 进程都结束时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- ci-cd, cli, operating-systems, testing
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100