Skip to content

Conversation

vszakats
Copy link
Member

No description provided.

@mback2k
Copy link
Member

mback2k commented Apr 28, 2023

Not a fan as I would rather like to find the root cause, but I am out of ideas at this point.

@vszakats
Copy link
Member Author

Not a good solution for sure, but having almost everything red is also confusing. For every run one needs to inspect what happened, instead of trusting the red/green mark.

Maybe automatically re-running failed WinCNG tests could work also? But that would make AppVeyor CI runs slower.
Another workaround is to let the tests run, but ignore the result.

@vszakats
Copy link
Member Author

Testing the retry approach here: #1017

@vszakats
Copy link
Member Author

Closing this in favour of #1017.

@vszakats vszakats closed this Apr 29, 2023
@vszakats vszakats deleted the ci-temp-disable-wincng-tests branch April 29, 2023 16:11
vszakats added a commit that referenced this pull request May 3, 2023
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
agreppin pushed a commit to agreppin/libssh2 that referenced this pull request Jul 14, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants