Skip to content

Probe SSH in openwrt healthcheck - #1981

Merged
olekoliinyk merged 2 commits into
mainfrom
olekoliinyk/probe-ssh-in-openwrt
Sep 11, 2026
Merged

Probe SSH in openwrt healthcheck#1981
olekoliinyk merged 2 commits into
mainfrom
olekoliinyk/probe-ssh-in-openwrt

Conversation

@olekoliinyk

@olekoliinyk olekoliinyk commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Problem

test_openwrt_simulate_network_down failed in openwrt-gw-03: the test could not open an SSH session to the router and timed out after 30s.
The container was reported as healthy, because the healthcheck only opened a TCP connection to port 22.

Solution

  • Make the healthcheck ask for the SSH greeting instead of just opening a socket (drop it as SSH is more complete check in this case)
  • Raise openwrt healthcheck timeouts to 30s, since the check can now wait up to 20s
  • Drop the QEMU guest agent block: no guest agent socket is ever created, and it queried the QMP socket instead, so it could never have worked

☑️ Definition of Done checklist

  • Commit history is clean (requirements)
  • README.md is updated
  • Functionality is covered by unit or integration tests

@olekoliinyk
olekoliinyk requested a review from a team as a code owner September 8, 2026 11:17
@asledzinskiy

Copy link
Copy Markdown
Contributor

+1

@matislovas matislovas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@olekoliinyk
olekoliinyk added this pull request to the merge queue Sep 11, 2026
Merged via the queue into main with commit 4b1febc Sep 11, 2026
68 of 69 checks passed
@olekoliinyk
olekoliinyk deleted the olekoliinyk/probe-ssh-in-openwrt branch September 11, 2026 11:21
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.

3 participants