[BUG] Positive serial-progress host fixture expires before completion #53

Closed
opened 2026-09-15 23:54:58 +02:00 by erikinkinen · 1 comment
Owner

Summary

The positive serial-progress host fixture used real scheduling under a 250 ms stall deadline and intermittently returned 125 instead of zero. It stopped host checks before the VM catalog.

Reproduction

At 2a16b1a7ac5514a43582025e5b9ba0a2f2ce2a29, run python3 tests/progress_watchdog_test.py. The positive child writes an arming marker and five appends separated by 100 ms sleeps. CI 1633 reports the failure; its frequency and precise scheduling cause were not established.

Expected and actual behavior

test_post_arm_progress_refreshes_the_stall_deadline should preserve child status zero. The original eight-test group instead has one 125 != 0 failure. The correction uses a finite child/clock schedule around the actual watchdog loop and real serial files, keeping the original marker, deadline and status rules.

Environment and identity

  • Linux x86-64 host fixture; no guest VM.
  • Original limits: 250 ms stall, 20 ms polling and unchanged termination grace.
  • Correction: 01daadd3d775079a77dd3278f6b07ecbaebe3e84.
  • The production watchdog is unchanged by this fixture correction.

Evidence and prior checks

CI 1641 and CI 1642 pass the corrected 13-case group. CI 2870, source 6f20e691142054bfae65eaf52d0fa5c3788879f8, independently passes all 13 in 1.725 seconds. Its complete module output is retained; the test bytes match both the correction and current source.

Controls cover missing refresh, exact expiry, split markers, interruption, refusal and child status. The original failing observation remains part of this report; unrelated guest failures remain with their owning issues.

Tracking

  • Replace scheduling-dependent positive assertions with finite schedules and real file input.
  • Preserve original policy bounds and meaningful negative/status controls.
  • Pass the corrected host module in matching original CI.

Implementation: PR #12. The separate console fixture is #25.

## Summary The positive serial-progress host fixture used real scheduling under a 250 ms stall deadline and intermittently returned 125 instead of zero. It stopped host checks before the VM catalog. ## Reproduction At `2a16b1a7ac5514a43582025e5b9ba0a2f2ce2a29`, run `python3 tests/progress_watchdog_test.py`. The positive child writes an arming marker and five appends separated by 100 ms sleeps. [CI 1633](https://git.erikinkinen.fi/erix/integration/actions/runs/1633) reports the failure; its frequency and precise scheduling cause were not established. ## Expected and actual behavior `test_post_arm_progress_refreshes_the_stall_deadline` should preserve child status zero. The original eight-test group instead has one `125 != 0` failure. The correction uses a finite child/clock schedule around the actual watchdog loop and real serial files, keeping the original marker, deadline and status rules. ## Environment and identity - Linux x86-64 host fixture; no guest VM. - Original limits: 250 ms stall, 20 ms polling and unchanged termination grace. - Correction: `01daadd3d775079a77dd3278f6b07ecbaebe3e84`. - The production watchdog is unchanged by this fixture correction. ## Evidence and prior checks [CI 1641](https://git.erikinkinen.fi/erix/integration/actions/runs/1641) and [CI 1642](https://git.erikinkinen.fi/erix/integration/actions/runs/1642) pass the corrected 13-case group. [CI 2870](https://git.erikinkinen.fi/erix/integration/actions/runs/2870), source `6f20e691142054bfae65eaf52d0fa5c3788879f8`, independently passes all 13 in 1.725 seconds. Its complete module output is retained; the test bytes match both the correction and current source. Controls cover missing refresh, exact expiry, split markers, interruption, refusal and child status. The original failing observation remains part of this report; unrelated guest failures remain with their owning issues. ## Tracking - [x] Replace scheduling-dependent positive assertions with finite schedules and real file input. - [x] Preserve original policy bounds and meaningful negative/status controls. - [x] Pass the corrected host module in matching original CI. Implementation: [PR #12](https://git.erikinkinen.fi/erix/integration/pulls/12). The separate console fixture is [#25](https://git.erikinkinen.fi/erix/integration/issues/25).
Author
Owner

Closed after the original CI 2870 passes all 13 progress-watchdog host tests. The tested fixture is byte-identical to its original correction and the current source. This closes the fixture issue; the VM suite is still running.

Closed after the original [CI 2870](https://git.erikinkinen.fi/erix/integration/actions/runs/2870) passes all 13 progress-watchdog host tests. The tested fixture is byte-identical to its original correction and the current source. This closes the fixture issue; the VM suite is still running.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:39:25 +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#53
No description provided.