-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Flaky tests/unit/sftp_test.py::test_put
#351
Comments
While discussing #645 with @Jakuje I've noticed this GitHub issue. As I need I am running
|
Huh, maybe this is because I didn't |
Same code with EDIT: Ah, SCP doesn't have |
SUMMARY
This feels similar to #57 but probably has a different root cause.
I think what's happening is
sshd
not starting fast enough. Thewait_for_svc_ready_state
helper is supposed to reraise the last connection error but maybe it doesn't, or the healthcheck it implements is not enough, I'm not sure.ISSUE TYPE
PYLISSH and LIBSSH VERSION
devel
OS / ENVIRONMENT
CI: https://github.com/ansible/pylibssh/runs/7570950100?check_suite_focus=true#step:13:221
STEPS TO REPRODUCE
See the log. Just run the testing on a slow machine with sshd not starting fast enough.
EXPECTED RESULTS
The test should be stable.
ACTUAL RESULTS
I've pasted the meaningful part of the log below, for history.
[CLICK HERE] Excerpt from the CI log linked above
The text was updated successfully, but these errors were encountered: