Repository navigation
Conversation
To avoid the large mass of logs of repeated failure. This libssh2 build or libssh2 or something else around it broken due to auth failure.
vszakats
added a commit
that referenced
this pull request
Mar 17, 2025
On suspect of strain on the runtime env/pipes, disable this test, which is flaky due to `runtests` detecting a 2009 result code from curl, while curl is returning the expected 56: ``` test 0498...[Reject too large HTTP response headers on endless redirects] curl returned 2009, when expecting 56 498: exit FAILED == Contents of files in the log/5/ dir after test 498 [...] 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 curl: (56) Too large response headers: 6144086 > 6144000 ``` In such cases the number of log lines for this single test is 4800. In comparison the total number of log lines for a clear test run is 3800. Seen with mingw, dl-mingw, msvc CI jobs. Follow-up to 4911e7a #16735 Ref: #14854 (comment) Closes #16748
vszakats
added a commit
that referenced
this pull request
Mar 23, 2025
SFTP/SCP tests were failing in CI with WinCNG libssh2 since we first added such job. With `curl: (67) Authentication failure`. The reason is that the default `ssh-keygen` RSA private key format changed to OpenSSH (RFC4716) in 2018. libssh2 does not support this format with some of its crypto backends. Fix it by generating keys explicitly in PEM format as necessary via the `-m` option. This format is universally recognized for RSA keys. 2018-08-24: https://www.openssh.com/txt/release-7.8: OpenSSH format becomes default 2010-08-23: https://www.openssh.com/txt/release-5.6: `-m` option first supported This fixed the auth issue, just to reveal a known flakiness issue in libssh2 + WinCNG, causing: ``` curl: (2) Failure establishing ssh session: -8, Unable to exchange encryption keys ``` Ref: https://github.com/curl/curl/actions/runs/14000494428/job/39205633258?pr=16781#step:15:1796 Tracked here: libssh2/libssh2#804 Mitigated in libssh2 tests by retrying them. Due to this, keep ignoring these test results. Also: - add an env to customize key format: `CURL_TEST_SSH_KEY_FORMAT` - display the generated format in the log. - GHA/linux: document the wolfSSH error code causing it to fail tests: ``` curl: (79) wolfssh SFTP connect error -1051 / WS_MATCH_KEY_ALGO_E / cannot match key algo with peer ``` Follow-up to 4911e7a #16735 Follow-up to 0ec72c1 #16672 Follow-up to e53523f #14859 Follow-up to e26cbe2 #13979 Closes #16781
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Skipping these tests saves time and reduces test logs from 11500 lines to 3800. Tests are permanently broken due to `curl: (67) Authentication failure`. This libssh2 is built with WinCNG. Builds using libcrypto from OpenSSL work fine. Closes curl#16735
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
On suspect of strain on the runtime env/pipes, disable this test, which is flaky due to `runtests` detecting a 2009 result code from curl, while curl is returning the expected 56: ``` test 0498...[Reject too large HTTP response headers on endless redirects] curl returned 2009, when expecting 56 498: exit FAILED == Contents of files in the log/5/ dir after test 498 [...] 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 curl: (56) Too large response headers: 6144086 > 6144000 ``` In such cases the number of log lines for this single test is 4800. In comparison the total number of log lines for a clear test run is 3800. Seen with mingw, dl-mingw, msvc CI jobs. Follow-up to 4911e7a curl#16735 Ref: curl#14854 (comment) Closes curl#16748
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
SFTP/SCP tests were failing in CI with WinCNG libssh2 since we first added such job. With `curl: (67) Authentication failure`. The reason is that the default `ssh-keygen` RSA private key format changed to OpenSSH (RFC4716) in 2018. libssh2 does not support this format with some of its crypto backends. Fix it by generating keys explicitly in PEM format as necessary via the `-m` option. This format is universally recognized for RSA keys. 2018-08-24: https://www.openssh.com/txt/release-7.8: OpenSSH format becomes default 2010-08-23: https://www.openssh.com/txt/release-5.6: `-m` option first supported This fixed the auth issue, just to reveal a known flakiness issue in libssh2 + WinCNG, causing: ``` curl: (2) Failure establishing ssh session: -8, Unable to exchange encryption keys ``` Ref: https://github.com/curl/curl/actions/runs/14000494428/job/39205633258?pr=16781#step:15:1796 Tracked here: libssh2/libssh2#804 Mitigated in libssh2 tests by retrying them. Due to this, keep ignoring these test results. Also: - add an env to customize key format: `CURL_TEST_SSH_KEY_FORMAT` - display the generated format in the log. - GHA/linux: document the wolfSSH error code causing it to fail tests: ``` curl: (79) wolfssh SFTP connect error -1051 / WS_MATCH_KEY_ALGO_E / cannot match key algo with peer ``` Follow-up to 4911e7a curl#16735 Follow-up to 0ec72c1 curl#16672 Follow-up to e53523f curl#14859 Follow-up to e26cbe2 curl#13979 Closes curl#16781
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Skipping these tests saves time and reduces test logs from 11500 lines
to 3800.
Tests are permanently broken due to
curl: (67) Authentication failure.This libssh2 is built with WinCNG. Builds using libcrypto from OpenSSL
work fine.
Windows CI/GHA, jobs failing #14854 (comment) [→ NEXT TIME] → GHA/windows: skip flaky test 498 #16748