Skip to content

ci/appveyor: try fixing windows tests [WITHOUT SUCCESS] - #1857

Closed
vszakats wants to merge 9 commits into
libssh2:masterfrom
vszakats:wtest2
Closed

vszakats wants to merge 9 commits into
libssh2:masterfrom
vszakats:wtest2

Conversation

@vszakats

Copy link
Copy Markdown
Member

No description provided.

@vszakats
vszakats marked this pull request as draft April 13, 2026 09:31
vszakats added a commit that referenced this pull request Apr 14, 2026
Unused with the current configuration.

Cherry-picked from #1857
@vszakats

vszakats commented Apr 15, 2026 •

Copy link
Copy Markdown
Member Author

There was one more successful SSH connection from AppVeyor CI.
It seems to be unrelated to these changes, and rather related to timing
or other external factors.

Maybe Windows CI tests should be reworked to use a local,
non-dockerized sshd server.

Or, perhaps consider dropping the WinCNG backend, because
without any tests it's a blind run. Predating that, WinCNG is also
unstable, so e.g. SCP/SFTP tests need to be kept disabled in curl,
because they randomly fail. It was reproducible in libssh2 CI too,
and worked around by retrying failing tests, which isn't really
a solution.

@vszakats vszakats changed the title ci/appveyor: try fixing windows tests ci/appveyor: try fixing windows tests [WITHOUT SUCCESS] Apr 15, 2026
@vszakats vszakats closed this Apr 15, 2026
@vszakats
vszakats deleted the wtest2 branch April 15, 2026 12:01
vszakats added a commit that referenced this pull request Apr 26, 2026
- wait for sshd before the build, to ease testing.
- restore the RSA 2048 hostkey generator line, commented, to ease tests.
- keep per-job `SKIP_CTEST` settings, commented, to ease tests.
- drop automatism to disable tests for ARM64, for simplicity.

Note: This has been tested with tests enabled, but they remain
a hit-or-miss (mostly a miss) due to failed sshd connection, and this
patch does not re-enable them.

FTR:
- a CI run when tests worked without issues (2023-12-04):
  https://ci.appveyor.com/project/libssh2org/libssh2/builds/48673013/job/79lywpm3pfvq7hn5
- a fresh CI run when the first job successfully waited for sshd:
  https://ci.appveyor.com/project/libssh2org/libssh2/builds/53941135/job/yu9jf5hvp3grse0g

Ref: #1856 #1857
Follow-up to c71ff14 #1894
Follow-up to c321b32 #1768
Follow-up to b5e68bd #1461
Follow-up to f36edf9 #997

Closes #1892
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.

1 participant