Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: test failure

已关闭
#4,175 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
php
领域
testing-qa

调研方向

首先在报告的 PHP 8.4.25 环境中运行 tests/ext/ffe/system_test_data_evaluate.phpt、tests/ext/dogstatsd/health_metrics_over_uds.phpt 和 tests/ext/dogstatsd/metrics_over_uds.phpt。检查 ufc-config.json 缺失的原因、扩展被加载两次的原因,以及 Unix Domain Socket 指标为空的原因;当这些测试产生预期输出时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

🐛 bug
Bug report

========DIFF========
001- config_loaded=true
002- fixture_files=%d
003- cases=%d
004- failures=0
001+ Fatal error: Uncaught RuntimeException: missing fixture config: /builddir/build/BUILD/php-pecl-datadog-trace-1.25.1-build/php-pecl-datadog-trace-1.25.1/datadog_trace-1.25.1/tests/FeatureFlags/ffe-system-test-data/ufc-config.json in /builddir/build/BUILD/php-pecl-datadog-trace-1.25.1-build/php-pecl-datadog-trace-1.25.1/datadog_trace-1.25.1/tests/ext/ffe/system_test_data_evaluate.php:32
002+ Stack trace:
003+ #0 {main}
004+ thrown in /builddir/build/BUILD/php-pecl-datadog-trace-1.25.1-build/php-pecl-datadog-trace-1.25.1/datadog_trace-1.25.1/tests/ext/ffe/system_test_data_evaluate.php on line 32
========DONE========
FAIL FFE canonical system test data evaluates through the Datadog client [tests/ext/ffe/system_test_data_evaluate.phpt]

========DIFF========
001+ Warning: Module "curl" is already loaded in Unknown on line 0
002+
003+ Warning: Module "posix" is already loaded in Unknown on line 0
004+
005+ Warning: Module "ddtrace" is already loaded in Unknown on line 0
child done
heartbeat received
========DONE========
FAIL Health metrics (heartbeat) are delivered over a Unix Domain Socket [tests/ext/dogstatsd/health_metrics_over_uds.phpt]

========DIFF========
001- counter-simple:42|c|#env:test,service:test-app,version:1.12,foo:bar,bar:true
002- gogogadget:21.4|g|#env:test,service:test-app,version:1.12
003- my_disti:22.22|d|#env:test,service:test-app,version:1.12,distri:bution
004- my_histo:22.22|h|#env:test,service:test-app,version:1.12,histo:gram
005- set:7|s|#env:test,service:test-app,version:1.12,set:7
001+
========DONE========
FAIL Send DogStatsD metrics over an Unix Domain Socket [tests/ext/dogstatsd/metrics_over_uds.phpt]

PHP version

8.4.25

Tracer or profiler version

1.25.1

Installed extensions

No response

Output of phpinfo()

No response

Upgrading from

No response

主要语言
PHP
星标
558
派生
192
平均合并
2 天 3 小时
30 天内合并 PR
104

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DataDog/dd-trace-php 的其他 Issue

查看 DataDog/dd-trace-php 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。