Repository navigation
Conversation
309b636 to
4b58441
Compare
`CONFIGURATION` was never passed to the cmake command, so it had never enabled logging when set to `Debug`. Also `CONFIGURATION` is ambiguous depending on the "generator" used by CMake. In case of Visual Studio, this is a build/ctest-time setting, not a cmake-config parameter. So set this permanently to `Release` and enable logging via our dedicated CMake option `ENABLE_DEBUG_LOGGING`. Tested in #979
Works like the `FIXTURE_TRACE_ALL` envvar, but enables full trace for the connection phase only. Also fix a possible NULL deref with `FIXTURE_TRACE_ALL` and a failed `libssh2_session_init_ex()`. Tested in #979
|
|
|
In this test (no. 24): https://ci.appveyor.com/project/libssh2org/libssh2/builds/46833132/job/8d8jm0893ntwnvk8 called from |
e1ee1f8 to
19af6d7
Compare
|
@mback2k: According to the logs, I force bumped this value to 1 in Do you think |
|
Putting this aside. Might merge the kex error message patch in a separate commit. |
WinCNG builds have been flaky for a while. It breaks most CI tests. Ref: libssh2#804 Ref: libssh2#979 Closes #xxxx
WinCNG builds have been flaky for a while. It breaks most CI tests. Ref: libssh2#804 Ref: libssh2#979 Closes #xxxx
Twice. This tests are flaky and we haven't figured out why. In the meantime use this workaround to test and log these issues, but also ensure that CI run aren't flagged red because of it. Also: - kex: add debug message when hostkey `sig_verify` fails, to help tracking WinCNG KEX failures. - test_ssh2: also add retry logic. I'm not quite sure this is correct. Please let me know. - session_fixture: bump up `src_path` slots to fit retries and show message when hitting the limit. - session_fixture: clear `kbd_password` static variable after use. - session_fixture: close and deinit socket after use. - session_fixture: deinit libssh2 after use. Ref: #804 #846 #979 #1012 #1015 Cherry-picked from #1017 Closes #1023
`CONFIGURATION` was never passed to the cmake command, so it had never enabled logging when set to `Debug`. Also `CONFIGURATION` is ambiguous depending on the "generator" used by CMake. In case of Visual Studio, this is a build/ctest-time setting, not a cmake-config parameter. So set this permanently to `Release` and enable logging via our dedicated CMake option `ENABLE_DEBUG_LOGGING`. Tested in libssh2#979
Works like the `FIXTURE_TRACE_ALL` envvar, but enables full trace for the connection phase only. Also fix a possible NULL deref with `FIXTURE_TRACE_ALL` and a failed `libssh2_session_init_ex()`. Tested in libssh2#979
To hopefully help finding the WinCNG hostkey verification intermittent failure libssh2#804. Tested in libssh2#979
They have been disabled since d9b4222 Tested in libssh2#979
Twice. This tests are flaky and we haven't figured out why. In the meantime use this workaround to test and log these issues, but also ensure that CI run aren't flagged red because of it. Also: - kex: add debug message when hostkey `sig_verify` fails, to help tracking WinCNG KEX failures. - test_ssh2: also add retry logic. I'm not quite sure this is correct. Please let me know. - session_fixture: bump up `src_path` slots to fit retries and show message when hitting the limit. - session_fixture: clear `kbd_password` static variable after use. - session_fixture: close and deinit socket after use. - session_fixture: deinit libssh2 after use. Ref: libssh2#804 libssh2#846 libssh2#979 libssh2#1012 libssh2#1015 Cherry-picked from libssh2#1017 Closes libssh2#1023
No description provided.