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 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
270

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。