Skip to content

test: wait for the boot-up after restore --reset - #17

Merged
boeboe merged 1 commit into
mainfrom
fix/reset-boot-race
Nov 4, 2026
Merged

boeboe merged 1 commit into
mainfrom
fix/reset-boot-race

Conversation

@boeboe

@boeboe boeboe commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Fixes the TestStoreRestore flake in CI run 41920045229 (exit 5, want 0: SDO timeout on 0x1011:02).

The test waited for the dictionary defaults, which return when the reset runs. The node fences its SDO server at the reset and opens it at boot-up, so the next restore request fell into that gap on a slow runner (race detector, Go 1.24).

The test now waits for Pre-operational, which nmt.Slave.bootUp enters after the boot-up handler opens the server. The interop restore scenario waits for an SDO answer before the next scenario, for the same reason.

Under local CPU load, the old test failed 3 of 40 runs and the fixed one 0 of 80. Test-only change; no release needed.

🤖 Generated with Claude Code

TestStoreRestore waited for the defaults, which return when the reset
runs; the node's SDO server stays fenced until its boot-up, so the next
SDO request timed out on a slow runner (CI run 41920045229, Race Go
1.24; 3 of 40 runs under local CPU load, 0 of 80 now). Wait for
Pre-operational, which the boot-up enters after opening the server. The
interop restore scenario waits for an SDO answer for the same reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@boeboe
boeboe merged commit e10c0aa into main Nov 4, 2026
35 checks passed
@boeboe
boeboe deleted the fix/reset-boot-race branch November 4, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant