Skip to content

GHA/windows: replace OpenSSH-Windows-Prelease job with standard openssh - #16704

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:gha-windows-openssh
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:gha-windows-openssh

Conversation

@vszakats

@vszakats vszakats commented Mar 13, 2025 •

Copy link
Copy Markdown
Member

After restricting OpenSSH-Windows to a single job, and bumping it to
the pre-release version, that job started hanging then timing out with
reasonable consistency.

Since we saw similar hangs before with OpenSSH-Windows stable, in all
jobs, drop OpenSSH-Windows from CI, and replace it with MSYS openssh.

After this patch, all Windows jobs use MSYS2 or Cygwin openssh.

Follow-up to 0ec72c1 #16672

It seems to be causing consistent hangs in the job it was used in, then
timing out.

Since we saw similar hangs before, with OpenSSH-Windows stable, in all
jobs, drop OpenSSH-Windows from CI, and use openssh from MSYS2 or Cygwin
in all Windows jobs.

Follow-up to 0ec72c1 curl#16672
@vszakats vszakats added SCP/SFTP Windows Windows-specific CI Continuous Integration labels Mar 13, 2025
@testclutch

This comment was marked as outdated.

@vszakats vszakats closed this in 67a7775 Mar 13, 2025
@vszakats
vszakats deleted the gha-windows-openssh branch March 13, 2025 15:48
vszakats added a commit that referenced this pull request Mar 24, 2025
To have the current latest version, and to avoid the stale, misleading
versions installed by Chocolatey. It also installs transparently, faster,
and making the source of the binaries clear. Install on drive `D:` for
best performance.

After much detective work it turns out that the OpenSSH Windows versions
installed by Chocolatey aren't what they seem:

- The latest pre-release named 9.5.0-beta20240403:
  https://community.chocolatey.org/packages/openssh/9.5.0-beta20240403
  is in reality 8.6.0.0p1-Beta from 2021-05-27:
  https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win64.zip

- The latest "stable" version 8.0.0.1 is in reality:
  https://community.chocolatey.org/packages/openssh/8.0.0.1
  is in reality 8.0.0.0p1-Beta:
  https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.0.0.0p1-Beta/OpenSSH-Win64.zip

Ref: #16803 (comment)
Follow-up to 67a7775 #16704
Follow-up to 0ec72c1 #16672

Closes #16811
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
After restricting OpenSSH-Windows to a single job, and bumping it to
the pre-release version, that job started hanging then timing out with
reasonable consistency.

Since we saw similar hangs before with OpenSSH-Windows stable, in all
jobs, drop OpenSSH-Windows from CI, and replace it with MSYS openssh.

After this patch, all Windows jobs use MSYS2 or Cygwin openssh.

Follow-up to 0ec72c1 curl#16672
Closes curl#16704
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
To have the current latest version, and to avoid the stale, misleading
versions installed by Chocolatey. It also installs transparently, faster,
and making the source of the binaries clear. Install on drive `D:` for
best performance.

After much detective work it turns out that the OpenSSH Windows versions
installed by Chocolatey aren't what they seem:

- The latest pre-release named 9.5.0-beta20240403:
  https://community.chocolatey.org/packages/openssh/9.5.0-beta20240403
  is in reality 8.6.0.0p1-Beta from 2021-05-27:
  https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win64.zip

- The latest "stable" version 8.0.0.1 is in reality:
  https://community.chocolatey.org/packages/openssh/8.0.0.1
  is in reality 8.0.0.0p1-Beta:
  https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.0.0.0p1-Beta/OpenSSH-Win64.zip

Ref: curl#16803 (comment)
Follow-up to 67a7775 curl#16704
Follow-up to 0ec72c1 curl#16672

Closes curl#16811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration SCP/SFTP Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

2 participants