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

Offen
#2,459 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
c
Bereich
testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
C
Sterne
3
Forks
7
Ø Merge
3 Std. 28 Min.
Gemergte PRs (30 T.)
270

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus InauguralSystems/EigenScript

Alle Issues in InauguralSystems/EigenScript

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.