python / python/cpython

test_dtrace leaks temporary files on "PPC64LE CentOS9 LTO + PGO 3.x" buildbot

未关闭
#156,701 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

tests type-bug
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

PPC64LE CentOS9 LTO + PGO 3.x: https://buildbot.python.org/#/builders/885/builds/8098

0:06:23 load avg: 7.34 mem: 67.4 MiB Run 1 test in parallel using 1 worker process (timeout: 40 min, worker timeout: 45 min)
0:06:43 load avg: 7.17 mem: 67.6 MiB [1/1/1] test_dtrace failed (env changed)
Re-running test_dtrace in verbose mode
setUpClass (test.test_dtrace.BPFTraceNormalTests) ... skipped "bpftrace not available: [Errno 2] No such file or directory: 'bpftrace'"
setUpClass (test.test_dtrace.BPFTraceOptimizedTests) ... skipped "bpftrace not available: [Errno 2] No such file or directory: 'bpftrace'"
test_filter_probe_rows_ignores_warnings (test.test_dtrace.BPFTraceOutputTests.test_filter_probe_rows_ignores_warnings) ... ok
test_check_probes (test.test_dtrace.CheckDtraceProbes.test_check_probes) ... ok
test_missing_probes (test.test_dtrace.CheckDtraceProbes.test_missing_probes) ... expected failure
skipped 'dtrace(1) failed: /usr/bin/dtrace invalid option -q\nUsage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]'
setUpClass (test.test_dtrace.DTraceOptimizedTests) ... skipped 'dtrace(1) failed: /usr/bin/dtrace invalid option -q\nUsage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]'
setUpClass (test.test_dtrace.SystemTapNormalTests) ... skipped 'stap timed out during usability check'
setUpClass (test.test_dtrace.SystemTapOptimizedTests) ... skipped 'stap timed out during usability check'

----------------------------------------------------------------------
Ran 3 tests in 20.343s

OK (skipped=6, expected failures=1)

Warning -- test_dtrace leaked temporary files (2): stap8jlQ00, stapNGGnvV
Linked PRs
  • gh-156720

贡献指南

打开贡献指南

从这里开始

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

调研方向

从 test.test_dtrace 和关联的 PR gh-156720 开始,使用 PPC64LE CentOS9 buildbot 的输出了解两个泄漏的临时文件。在可比环境中运行 test_dtrace,并确认在跳过或超时的 SystemTap 检查之后,其临时文件会被清理。

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

评估

技术栈
python
领域
testing-qa
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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