[BUG] Multi-PTY input can submit an incomplete probe command #166

Closed
opened 2026-10-18 07:21:45 +02:00 by erikinkinen · 2 comments
Owner

Summary

The multi-PTY input test can submit an incomplete command and then wait for a
marker the guest never received. CI 2846 echoes true MULTTY and another prompt
where the injector expects true MULTIPTY.

Reproduction

Run the tty-multi-pty physical QMP input profile. The original CI 2846 stalls
after that incomplete command and its 45-second no-progress watchdog expires.
The frequency is unknown; no unchanged VM rerun was used to reproduce it.

Expected and actual behavior

Wait for each fresh character echo before sending the next probe key or Enter.
The profile currently uses time pacing and QMP acknowledgement, which proves
controller acceptance but cannot establish guest delivery. The observed line
lacks I and P; the underlying cause of that loss is still unknown.

Environment and identity

Original Integration CI 2846, QEMU physical-input route, tty-multi-pty profile.
The retained serial banner names 3be7eb07c323f1860ff0ba89a88f8eb608a67970.
The injector receives explicit QMP and serial-log paths.

Evidence and prior checks

Original failed run.
The complete log shows the incomplete echo followed by a prompt. The existing
profile fixture preloads the expected marker, so it cannot detect lost input.

Tracking

  • Require each fresh matching echo before the next probe key, without retries or longer deadlines.
  • Cover delayed, missing, stale, wrong and duplicate echo with real local QMP peers.
  • Pass the original multi-PTY guest scenario with the corrected injector.

Related: Phase 6,
POSIX compatibility PR.
The pre-input cleanup failure in #125 remains separate.

## Summary The multi-PTY input test can submit an incomplete command and then wait for a marker the guest never received. CI 2846 echoes `true MULTTY` and another prompt where the injector expects `true MULTIPTY`. ## Reproduction Run the `tty-multi-pty` physical QMP input profile. The original CI 2846 stalls after that incomplete command and its 45-second no-progress watchdog expires. The frequency is unknown; no unchanged VM rerun was used to reproduce it. ## Expected and actual behavior Wait for each fresh character echo before sending the next probe key or Enter. The profile currently uses time pacing and QMP acknowledgement, which proves controller acceptance but cannot establish guest delivery. The observed line lacks I and P; the underlying cause of that loss is still unknown. ## Environment and identity Original Integration CI 2846, QEMU physical-input route, `tty-multi-pty` profile. The retained serial banner names `3be7eb07c323f1860ff0ba89a88f8eb608a67970`. The injector receives explicit QMP and serial-log paths. ## Evidence and prior checks [Original failed run](https://git.erikinkinen.fi/erix/integration/actions/runs/2846). The complete log shows the incomplete echo followed by a prompt. The existing profile fixture preloads the expected marker, so it cannot detect lost input. ## Tracking - [x] Require each fresh matching echo before the next probe key, without retries or longer deadlines. - [x] Cover delayed, missing, stale, wrong and duplicate echo with real local QMP peers. - [x] Pass the original multi-PTY guest scenario with the corrected injector. Related: [Phase 6](https://git.erikinkinen.fi/erix/integration/issues/65), [POSIX compatibility PR](https://git.erikinkinen.fi/erix/integration/pulls/12). The pre-input cleanup failure in #125 remains separate.
Author
Owner

26a016b8 now requires each fresh probe-character echo before sending the next key. All 57 host controls pass, including delayed, missing, stale, wrong and duplicate echo. The original guest scenario remains open.

[26a016b8](https://git.erikinkinen.fi/erix/integration/commit/26a016b8895dba2d2f3737686ce594cdb595d04a) now requires each fresh probe-character echo before sending the next key. All 57 host controls pass, including delayed, missing, stale, wrong and duplicate echo. The original guest scenario remains open.
Author
Owner

CI2867 passed the original appliance-disk-image-tty-multi-pty-positive guest scenario at 44a5bc5b, which includes the corrected injector. This completes the remaining criterion; the run's other VM failures are being investigated separately.

[CI2867](https://git.erikinkinen.fi/erix/integration/actions/runs/2867/jobs/1/attempt/1) passed the original `appliance-disk-image-tty-multi-pty-positive` guest scenario at [44a5bc5b](https://git.erikinkinen.fi/erix/integration/commit/44a5bc5b6c52225d12aa9cff50bd95a8c5c3a533), which includes the corrected injector. This completes the remaining criterion; the run's other VM failures are being investigated separately.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:20 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/integration#166
No description provided.