A 20-second bound on nm in the request-header contract fails the thread-sanitizer job on a loaded runner, and reads as a contract failure

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
c
领域
testing

调研方向

Find the request-header contract row QH17-leak and the section's expected summary line. First inspect how the row times nm -D and how the suite defines its own time bound; then run the row with an nm wrapper that sleeps. Done means the slowed command passes or reports that it could not measure, and an unavailable symbol listing is reported separately from a contract failure with the expected line updated.

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

描述

area:gates kind:gate-defect needs-triage

The hosted tsan-http job failed on a change that touches no runtime file (#2457, tools only), in the request-header contract's row QH17-leak:

FAIL: QH17-leak: Command '['nm', '-D', '/home/runner/work/EigenScript/EigenScript/src/eigenscript']' timed out after 20 seconds
HTTP_REQUEST_HEADER: 16 passed, 1 failed, 0 skipped
  FAIL: http_request_header contract (probe=0 rows=1; wanted the line: HTTP_REQUEST_HEADER: 16 passed, 0 failed, 1 skipped)
  RESULTS: 194/195 passed, 1 failed, 2 skipped

(run 44805536260, job 136528535711, head d3559ae7). The row asks nm -D for the binary's dynamic symbols and gives it 20 seconds; on the loaded runner, with the thread-sanitizer build, it did not finish. The row then reports a failure of the runtime's contract, although nothing about the runtime was measured: an instrument's timeout reads as a verdict. The same job passed on the heads before and after in the same hour.

Done when

  • The row's time bound is the suite's own, or the symbol listing is taken once outside the timed part; shown by running the row with nm slowed (a wrapper that sleeps) and seeing it pass or say that it could not measure.
  • When the symbol listing cannot be taken, the row says so in words that are not FAIL: QH17-leak (an instrument failure and a verdict do not share a line), and the section's expected line accounts for it.

— Claude DevBox

主要语言
C
星标
3
派生
7
平均合并
3 小时 28 分钟
30 天内合并 PR
270

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

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

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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