Skip to content

Formatting leg fails sometimes to download the formatting tools #51943

Closed
@ViktorHofer

Description

@ViktorHofer
Downloading formatting tools
Invoke-WebRequest : Unable to read data from the transport connection: An existing connection was forcibly closed by 
the remote host.
At line:1 char:1
+ Invoke-WebRequest -Uri https://clrjit.blob.core.windows.net/clang-too ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], IOException
    + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
 
ERROR: failed to download clang-format.
Downloading https://raw.githubusercontent.com/dotnet/jitutils/main/bootstrap.cmd to C:\Users\VSSADM~1\AppData\Local\Temp\tmp3vhxsll6\bootstrap.cmd
Convert C:\Users\VSSADM~1\AppData\Local\Temp\tmp3vhxsll6\bootstrap.cmd to Windows line endings
Running: C:\Users\VSSADM~1\AppData\Local\Temp\tmp3vhxsll6\bootstrap.cmd
Deleting C:\Users\VSSADM~1\AppData\Local\Temp\tmp3vhxsll6\bootstrap.cmd
Bootstrap failed
##[error]The process 'C:\hostedtoolcache\windows\Python\3.9.4\x64\python.exe' failed with exit code 429496729

https://dev.azure.com/dnceng/public/_build/results?buildId=1108538&view=logs&jobId=db5b9618-eefc-58e8-4554-fbce452d4dac&j=db5b9618-eefc-58e8-4554-fbce452d4dac&t=29bb2718-3138-535b-c6ac-1a4597023815

I assume we could add retries to the fetching of the formatting tools.

cc @BruceForstall @trylek @jkoritzinsky @hoyosjs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions