Skip to content

test(e2e): remove host SSH unit tests - #9815

Merged
Artur Khantimirov (r2k1) merged 2 commits into
mainfrom
r2k1-build-failure-investigation-9db
Oct 18, 2026
Merged

Artur Khantimirov (r2k1) merged 2 commits into
mainfrom
r2k1-build-failure-investigation-9db

Conversation

@r2k1

@r2k1 Artur Khantimirov (r2k1) commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Remove unit tests that open host SSH connections or loopback Bastion listeners; leave connection coverage to E2E tests. Keep pure retry, error-classification, and mocked-transport tests. Runtime code is unchanged.

Validation: cd e2e && go test ./scenario -count=1 -timeout=120s — passed.

Which issue(s) this PR fixes:

N/A

Remove TestScriptUploadBytesAndUniqueFiles after its Windows case timed out in build 186406867. Keep the blocked-transfer deadline test and leave runtime upload behavior unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7ea77dab-f80c-4510-ac31-5c67efe52a7f
Copilot AI balanced review requested due to automatic review settings October 18, 2026 22:14
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   18 suites   1m 9s ⏱️
556 tests 556 ✅ 0 💤 0 ❌
559 runs  559 ✅ 0 💤 0 ❌

Results for commit f6764fd.

♻️ This comment has been updated with latest results.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The test-only deletion matches the stated scope and introduces no identified functional issues.

No open issues 🎉

What changed in this PR

Removes the SSH upload test that blocked the unit suite, without changing runtime upload behavior or its timeout.

Changes:

  • Deletes TestScriptUploadBytesAndUniqueFiles, including Linux and Windows cases.
  • Removes unused imports and retains TestScriptUploadDeadlineClosesBlockedTransfer.
File Description
e2e/​scenario/​ssh_upload_test.go Removes the byte-preservation and filename-uniqueness test while retaining deadline coverage.

Review effort: Balanced

Remove unit tests that open SSH connections or loopback Bastion listeners. Retain pure retry, error classification, and mocked transport tests. Leave runtime and E2E scenario behavior unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7ea77dab-f80c-4510-ac31-5c67efe52a7f
Copilot AI balanced review requested due to automatic review settings October 18, 2026 22:25
@r2k1 Artur Khantimirov (r2k1) changed the title test(e2e): remove script upload byte and filename test test(e2e): remove host SSH unit tests Oct 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
staging_cse_windows Package 1 65% ➖
debug 0% ❌
provisioningscripts 2% ❌
parts_windows Package 1 74% ➖
Summary 38% (1649 / 6831) ❌

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The test-only changes match the stated scope, preserve retained test behavior, and have no identified blocking issues.

No open issues 🎉

Review effort: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
github.com/Azure/agentbaker/aks-node-controller 72% ➖
github.com/Azure/agentbaker/aks-node-controller/common 100% ✔
github.com/Azure/agentbaker/aks-node-controller/helpers 68% ➖
github.com/Azure/agentbaker/aks-node-controller/parser 88% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/gpu 100% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/nodeconfigutils 88% ✔
github.com/Azure/agentbaker/aks-node-controller/utils 0% ❌
github.com/Azure/agentbaker/apiserver 24% ❌
github.com/Azure/agentbaker/cmd 0% ❌
github.com/Azure/agentbaker/cmd/starter 0% ❌
github.com/Azure/agentbaker/fuzz/api 0% ❌
github.com/Azure/agentbaker/hotfix/render-nodecustomdata 0% ❌
github.com/Azure/agentbaker/pkg/agent 76% ➖
github.com/Azure/agentbaker/pkg/agent/datamodel 76% ➖
github.com/Azure/agentbaker/pkg/agent/toggles 0% ❌
github.com/Azure/agentbaker/pkg/vhdbuilder/datamodel 87% ✔
Summary 74% (5621 / 7572) ➖

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
shellspec spec 25% ❌
Summary 25% (3865 / 15529) ❌

@r2k1
Artur Khantimirov (r2k1) merged commit 8b5adbc into main Oct 18, 2026
26 of 29 checks passed
@r2k1
Artur Khantimirov (r2k1) deleted the r2k1-build-failure-investigation-9db branch October 18, 2026 22:43
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