Skip to content

acc: run ssh/connect-serverless-cpu locally#5941

Open
radakam wants to merge 2 commits into
mainfrom
acc-ssh-connect-serverless-cpu-local
Open

acc: run ssh/connect-serverless-cpu locally#5941
radakam wants to merge 2 commits into
mainfrom
acc-ssh-connect-serverless-cpu-local

Conversation

@radakam

@radakam radakam commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Flip to Local = true / Cloud = false. The bare ssh connect (serverless CPU) now runs against the in-process testserver, whose driver-proxy /ssh websocket is backed by a real sshd — so the test asserts both the submitted bootstrap job and a full handshake + remote exec over the tunnel.
  • Linux-only ([GOOS]), skipped when sshd is absent, matching the sibling SSH tests.
  • Add a Repls for databricks-cpu-<hash>: with no --name, the connection name is derived from a hash of the workspace host (a random localhost port locally), so it's normalized to keep the submitted job payload deterministic.
  • Keep the CLOUD_ENV branch so the real serverless-CPU path is preserved for when cloud ssh connect is re-enabled.

Why

Cloud = false reflects that cloud ssh connect is currently disabled (#4838); the real coverage now comes from the local run. Consistent with connect-serverless-gpu and connection.

radakam added 2 commits July 16, 2026 09:40
Mirror the connect-serverless-gpu local conversion for the bare
`ssh connect` (serverless CPU) invocation: run against the in-process
testserver, which backs the driver-proxy /ssh websocket with a real sshd,
so the run asserts both the submitted bootstrap job and a full handshake +
remote exec over the ws:// tunnel. Linux-only and skipped when sshd is
absent, matching the sibling ssh tests.

Unlike the GPU test, the CPU invocation passes no --name, so the CLI
derives the connection name from a hash of the workspace host. That host is
a random localhost port locally, so a Repls entry normalizes
databricks-cpu-<hash> to keep the submitted job payload deterministic.

The cloud branch (Connection successful over real serverless CPU) is
preserved for when cloud is re-enabled.
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: ca973b0

Run: 29489124113

Env 🟨​KNOWN 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 227 1105 4:48
💚​ aws windows 4 4 229 1103 6:47
💚​ aws-ucws linux 4 4 314 1022 7:07
💚​ aws-ucws windows 4 4 316 1020 7:28
💚​ azure linux 4 4 227 1104 4:56
💚​ azure windows 4 4 229 1102 6:52
🟨​ azure-ucws linux 1 1 4 316 1019 10:16
💚​ azure-ucws windows 4 4 318 1017 8:03
💚​ gcp linux 4 4 226 1106 4:55
💚​ gcp windows 4 4 228 1104 6:39
8 interesting tests: 4 SKIP, 3 RECOVERED, 1 KNOWN
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 🟨​K 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 10 slowest tests (at least 2 minutes):
duration env testname
6:39 azure-ucws windows TestAccept
6:27 azure windows TestAccept
6:22 aws windows TestAccept
6:16 gcp windows TestAccept
6:14 aws-ucws windows TestAccept
3:01 azure linux TestAccept
2:59 gcp linux TestAccept
2:55 aws linux TestAccept
2:53 azure-ucws linux TestAccept
2:48 aws-ucws linux TestAccept

@radakam
radakam marked this pull request as ready for review July 16, 2026 10:34
@radakam
radakam requested a review from anton-107 July 16, 2026 10:34
@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @anton-107 -- recent work in acceptance/ssh/connect-serverless-cpu/

Eligible reviewers: @andrewnester, @denik, @janniklasrose, @lennartkats-db, @pietern, @renaudhartert-db, @shreyas-goenka, @simonfaltum

Suggestions based on git history. See OWNERS for ownership rules.

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.

2 participants