Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the AppVeyor CI configuration to start running the CTest suite again (previously disabled via SKIP_CTEST), so Windows CI jobs exercise runtime tests rather than only building.
Changes:
- Removed the global
SKIP_CTEST: 'yes'environment variable sotest_scriptcan executectestfor eligible jobs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| environment: | ||
| CMAKE_CONFIGURATION: 'Release' | ||
| CMAKE_VERSION: 3.18.4 | ||
| CMAKE_SHA256: a932bc0c8ee79f1003204466c525b38a840424d4ae29f9e5fb88959116f2407d | ||
| FIXTURE_XFER_COUNT: 35020 | ||
| SKIP_CTEST: 'yes' # Connection to test server has been failing consistently since 2024-08-29 | ||
|
|
There was a problem hiding this comment.
Removing the global SKIP_CTEST default enables ctest for all non-ARM64 matrix jobs, including ones explicitly labeled "Build-only" in job_name (e.g., VS2013 static-only / VS2010 non-unity). That makes the job name misleading and may unintentionally expand CI scope. Consider setting SKIP_CTEST: 'yes' only for the build-only matrix entries (or updating the test_script guard to skip when job_name contains "Build-only").
| CMAKE_CONFIGURATION: 'Release' | ||
| CMAKE_VERSION: 3.18.4 | ||
| CMAKE_SHA256: a932bc0c8ee79f1003204466c525b38a840424d4ae29f9e5fb88959116f2407d | ||
| FIXTURE_XFER_COUNT: 35020 |
There was a problem hiding this comment.
With SKIP_CTEST no longer defaulting to yes, the test_script will run and attempt Docker-based OpenSSH fixture setup. Currently, if the SSH tunnel/sshd handshake never becomes ready, the script logs "... failed." but still proceeds to run ctest without configuring DOCKER_HOST, which will make docker-dependent tests fail in a hard-to-diagnose way. Consider failing the job immediately when the tunnel isn't established, or explicitly disabling docker-dependent fixtures in that case (e.g., by setting OPENSSH_NO_DOCKER=1 / reintroducing SKIP_CTEST for that job).
| FIXTURE_XFER_COUNT: 35020 | |
| FIXTURE_XFER_COUNT: 35020 | |
| OPENSSH_NO_DOCKER: 1 |
- openssh_fixture: fix overly long retry delay on non-Windows, when acquiring docker machine IP. - test_ssh2: fix overly short retry delay on Windows, on connect. Follow-up to a459a25 libssh2#996 Follow-up to a88a727 Follow-up to 984d008 libssh2#490 Follow-up to cf80f2f Closes libssh2#1853
|
Tried switching back to RSA 2048, switching back to MS-DOS batch, |
|
Continued in #1857 |
- 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
No description provided.