Skip to content

Fsharp non-deterministically fails to download vswhere #18432

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

Open
ViktorHofer opened this issue Apr 1, 2025 · 3 comments
Open

Fsharp non-deterministically fails to download vswhere #18432

ViktorHofer opened this issue Apr 1, 2025 · 3 comments
Labels
Engineering Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone

Comments

@ViktorHofer
Copy link
Member

I saw this failure couple times in the past. The recent VMR build failed because of it.

Downloading vswhere
  Stream was not readable.
  System.ArgumentException: Stream was not readable.
     at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
     at System.IO.StreamReader..ctor(Stream stream, Encoding encoding)
     at Microsoft.PowerShell.Commands.FileSystemContentReaderWriter.CreateStreams(String filePath, String streamName, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, Encoding fileEncoding)
     at Microsoft.PowerShell.Commands.FileSystemProvider.GetContentWriter(String path)
  at EnablePreviewSdks, D:\a\_work\1\s\src\fsharp\eng\build.ps1: line 517
  at <ScriptBlock>, D:\a\_work\1\s\src\fsharp\eng\build.ps1: line 544
  at <ScriptBlock>, <No file>: line 1
  at <ScriptBlock>, <No file>: line 1
##[error](NETCORE_ENGINEERING_TELEMETRY=Build) Failure preparing build

https://dev.azure.com/dnceng/internal/_build/results?buildId=2676220&view=logs&j=89eea50f-59b5-5921-c3ce-ce40b36fa819&t=483e1309-93e4-5a7a-74de-93b8d658274f

@ViktorHofer
Copy link
Member Author

@majocha
Copy link
Contributor

majocha commented Apr 2, 2025

Locked output file?

@vzarytovskii
Copy link
Member

It should be using arcade script, I think? Wonder what could be different from everything else.

@T-Gro T-Gro added Engineering Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. and removed Needs-Triage labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code.
Projects
Status: New
Development

No branches or pull requests

4 participants