wai dev's test: the stand-in room service listens without a reverse lookup #661

Closed
dcharlot wants to merge 1 commit from fix/fake-stack-no-reverse-lookup into main

2026-11-05

Transaction Science
wai dev's test: the stand-in room service listens without a reverse lookup
Some checks failed
wai-ledger service / service · macos (pull_request) Successful in 1m12s
wai-pack / wai-pack · macos (pull_request) Successful in 3m50s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (pull_request) Successful in 9m31s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 10m27s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 11m46s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 4m25s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 14m48s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 15m45s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 7m21s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Failing after 4m27s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 10m13s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 20m21s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Successful in 1m7s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 3m31s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 19s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 16m44s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 5m51s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 12s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 28s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 1m38s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 11m28s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 5m24s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 1m44s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 27m21s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 1m2s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 54s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 6m56s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 34m30s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 6m0s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h16m47s
The macOS job of cargo-class corpora failed in tests/cli_studio.rs with "the
room service's clock on the relay: not within 30 s". The whole test took
30.58 s, so the stand-in relay and everything before it took under 0.6 s, and
only the stand-in room service stalled.

The two run the same script. What differs is that the room service starts an
HTTPServer, whose server_bind calls socket.getfqdn before the server listens.
That reverse lookup waits on the system's resolver. Nothing here reads the
name, so the fixture no longer asks for it.

A socket.getfqdn planted to stall for 40 s reproduces the failure, with the
same message and at 30.18 s, and with this change the same plant passes in
0.30 s. A lookup on that host took 1 to 10 ms when measured afterwards, so this
is the one difference between the two processes rather than an observed stall.

Changelog: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 15:47:23 -05:00