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

DownloadFile failing repeatedly on Darwin_Build_Release_x64 despite the file being there #17588

Closed
lewing opened this issue Oct 19, 2023 · 14 comments

Comments

@lewing
Copy link
Member

lewing commented Oct 19, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=444484
Build error leg or test failing: Build / Darwin_Build_Release_x64 / Build
Pull request: #17482

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "error : Download from all targets failed. List of attempted targets: https://dotnetcli.blob.core.windows.net/dotnet/",
  "ErrorPattern": "",
  "BuildRetry": true,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎
Result validation: ⚠️ Provided build not found. Provide a valid build in the "Build: 🔎" line.
Validation performed at: 11/9/2023 12:50:56 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@lewing
Copy link
Member Author

lewing commented Oct 19, 2023

cc @dotnet/domestic-cat

@lewing lewing changed the title Download file failing repeatedly on Darwin_Build_Release_x64 despite the file being there DownloadFile failing repeatedly on Darwin_Build_Release_x64 despite the file being there Oct 19, 2023
@lewing
Copy link
Member Author

lewing commented Oct 20, 2023

Looking at the binlog:

Retrying download of 'https://dotnetbuilds.blob.core.windows.net/public/Runtime/9.0.0-alpha.1.23512.2/dotnet-runtime-9.0.0-alpha.1.23512.2-osx-x64.tar.gz' to '/Users/runner/work/1/s/artifacts/obj/redist/Release/downloads/dotnet-runtime-9.0.0-alpha.1.23512.2-osx-x64.tar.gz' due to failure: 'The SSL connection could not be established, see inner exception.' (3/3)

It attempts 4 times with that error each time

@lewing
Copy link
Member Author

lewing commented Oct 20, 2023

Looks a lot like dotnet/runtime#1979 cc @wfurt

@lewing
Copy link
Member Author

lewing commented Oct 20, 2023

@wfurt
Copy link
Member

wfurt commented Oct 20, 2023

Why do you think TLS 1.3 would matter @lewing ? AFAIK it is not strictly enforced by our infrastructure and TLS 1.2 should still work fine. Did you look what is the inner exception?

@lewing
Copy link
Member Author

lewing commented Oct 20, 2023

Why do you think TLS 1.3 would matter @lewing ? AFAIK it is not strictly enforced by our infrastructure and TLS 1.2 should still work fine. Did you look what is the inner exception?

Honestly I just need someone on the networking side to look into it and was searching issues. It started happening recently on the macs and is breaking a considerably number of builds. We can't easily get more information into the binlog without changing arcade and flowing the change here. cc @mmitche

@wfurt
Copy link
Member

wfurt commented Oct 20, 2023

Note that on Windows TLS 1.3 is supported on on Windows 11 & Server 2022. So if 1.3 is culprit it would also fail on all older Windows.

And according to https://www.ssllabs.com/ssltest/analyze.html?d=dotnetbuilds.blob.core.windows.net
the server even does not support TLS 1.3 (only 1.0, 1.1 & 1.2)

@lewing
Copy link
Member Author

lewing commented Oct 20, 2023

This appears to be a mac specific problem and that queue is quite overloaded, are there timeouts in the handshake that we might be hitting?

@wfurt
Copy link
Member

wfurt commented Oct 20, 2023

Seems like infrastructure problem to me. We should get at least some info about the inner exception. It is going to be very difficult to speculate otherwise. For example, it may be just wrong time

@lewing
Copy link
Member Author

lewing commented Oct 20, 2023

Just the message or more details on the inner exception?

@wfurt
Copy link
Member

wfurt commented Oct 20, 2023

whole thing may be best IMHO as it would also show any possible error codes -> I'm not sure if we capture that in the message text.

@lewing
Copy link
Member Author

lewing commented Nov 8, 2023

Could this have been as simple as a redirect?

@wfurt
Copy link
Member

wfurt commented Nov 9, 2023

I'm not sure why it would impact only MacOS. We should be able to follow redirects and there is limit how many we would process.

@lewing
Copy link
Member Author

lewing commented Feb 9, 2024

calling this closed

@lewing lewing closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants