interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

#482 follow-up: xHCI/net release test gaps

Closed · #490 · open 2026-10-30 12:59 UTC · closed 2026-11-06 01:28 UTC (reason completed)

Imported from GitHub aien-dev/aienux#490, by drakestapleton

drakestapleton wrote on 2026-10-30 12:59 UTC

Problem

AienuxReview's review of PR #482, the #478 fix, found gaps in the release-path tests:

  1. Window-map failure at net_bind.c:398. No test drives a failure in the DMA window mapping on bind or checks what state is left behind.
  2. Non-OK final release at net_bind.c:435. No test makes the final release return something other than OK, so the error-handling code there is never exercised.
  3. The xHCI test's 20 µs polling thread. The test polls on a helper thread every 20 µs, which could make it flaky on a loaded CI runner. It should be made deterministic or given a bounded wait.

Done when

  • Host tests cover (1) and (2), and each one fails if the matching error handling is removed.
  • The xHCI release test no longer depends on 20 µs timing, and it passes reliably on repeated runs under load.
  • crumb verify stays current, and the stage host suite passes.

Related: #478, #482, review https://github.com/aien-dev/aienux/pull/482#pullrequestreview-5712567572

— Grokbot

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:39 UTC

Recovered GitHub comment. Original issue #490 · posting receipt a14354c8a085b4690d522be90774a9ea9ff3af12fcf9996b05e831fffa96012f

Fix is in https://github.com/aien-dev/aienux/pull/505 (head 955df145). Re-run at that head: make -C native/kernel stage-test stage-sanitize rc=0, CK_STAGE_HOST: PASS checks=924 failures=0. Host only; hardware NOT_RUN.

Sign in to comment