Skip to content
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

Try and force Windows Server 2016 for AppVeyor builds. #761

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

tobz
Copy link
Member

@tobz tobz commented Nov 19, 2018

Motivation

Occasionally, tokio-tls tests on AppVeyor (CI platform for running on Windows) fail with a The buffers supplied to a function was too small error. Searching points to a bug deep within the Windows SChannel framework itself (which tokio-tls uses due to being based on native-tls which prefers OS-native SSL/TLS libraries) that was only fixed in Windows 10/Windows Server 2016:

https://github.com/dotnet/corefx/issues/31611#issuecomment-410792235
https://github.com/dotnet/corefx/issues/7812#issuecomment-305848835

Solution

I believe we should able to avoid to avoid these spurious failures by running all Windows builds on Server 2016. Unfortunately, due to the spurious nature of the bug, we can't really test this easily.. but we can ensure that we're at least running on Server 2016 which should theoretically resolve the issue.

Signed-off-by: Toby Lawrence [email protected]

Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for digging into this 👍

@tobz tobz merged commit bb6cca8 into tokio-rs:master Nov 20, 2018
@tobz tobz mentioned this pull request Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants