-
Notifications
You must be signed in to change notification settings - Fork 111
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
fix(ci): Increase the Google Cloud instance sshd connection limit #5365
Conversation
Finally got this working:
|
One test had a bug, but I think it is caused by the
Previously, this broken pipe error was handled using a |
Superseded by #5367 |
Ah, I see you covered that in the new PR |
Motivation
SSH connections to Google Cloud test instances are failing with:
https://github.com/ZcashFoundation/zebra/actions/runs/3203311358/jobs/5234000346#step:6:106
Closes #5362
Reference
https://serverfault.com/questions/1015547/what-causes-ssh-error-kex-exchange-identification-connection-closed-by-remote/1015554#1015554
https://stackoverflow.com/questions/67000681/kex-exchange-identification-connection-closed-by-remote-host/73292521#73292521
https://man7.org/linux/man-pages/man5/sshd_config.5.html
Solution
Allow up to 500 unauthenticated connections to Google Cloud instances.
This tolerates a larger number of port scanning bots.
Review
These errors are blocking most other PR merges.
Reviewer Checklist
Follow Up Work
If this change works, we should:
ssh-compute
action in PRs ci(ssh): connect usingssh-compute
action by Google #5330, fix(ci): Show logs after each Google Cloud test job #5358, and fix(ci): Increase the Google Cloud instance sshd connection limit #5365, because they make test logging much worse