Skip to content

Conversation

@Isteb4k
Copy link
Contributor

@Isteb4k Isteb4k commented Apr 1, 2025

Description

We had tests failing because the command ssh reboot -f was not executing completely. More precisely, the reboot request was sent, and the virtual machine rebooted successfully, but the SSH session remained active throughout the reboot process and eventually disconnected with a timeout error:

Error: websocket: close 1006 (abnormal closure): unexpected EOF

This caused the test to fail. The -f flag was causing this behavior. Without it, everything worked fine. I resolved it by rebooting with nohup reboot -f.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: vm
type: chore
summary: reboot using nohup
impact_level: low

@Isteb4k Isteb4k modified the milestones: v0.18.0, v0.17.0 Apr 1, 2025
@Isteb4k Isteb4k force-pushed the test/vm/force-reboot branch from d2a347e to ff9c6cd Compare April 1, 2025 18:13
@Isteb4k Isteb4k requested review from fl64, hardcoretime and yaroslavborbat and removed request for hardcoretime April 1, 2025 18:20
@Isteb4k Isteb4k marked this pull request as ready for review April 1, 2025 18:28
@Isteb4k Isteb4k merged commit 497d17b into main Apr 1, 2025
18 checks passed
@Isteb4k Isteb4k deleted the test/vm/force-reboot branch April 1, 2025 18:34
yachmenevas pushed a commit that referenced this pull request Oct 15, 2025
We had tests failing because the command ssh `reboot -f` was not executing completely. More precisely, the reboot request was sent, and the virtual machine rebooted successfully, but the SSH session remained active throughout the reboot process and eventually disconnected with a timeout error:

> Error: websocket: close 1006 (abnormal closure): unexpected EOF

This caused the test to fail. The `-f` flag was causing this behavior. Without it, everything worked fine. I resolved it by rebooting with `nohup reboot -f`.

Signed-off-by: Isteb4k <[email protected]>
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.

4 participants