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

Build failure in VMR Vertical Build Windows_x64: Downloading vswhere - Process cannot access sdk.txt because it is being used by another process #45809

Open
carlossanlop opened this issue Jan 9, 2025 · 0 comments
Labels

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jan 9, 2025

Turned on BuildRetry, seems like a reattempt could make it go away.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=911138
Build error leg or test failing: VMR Vertical Build - Windows_x64

Error Message

{
  "ErrorMessage" : ["Downloading vswhere", " The process cannot access the file", "sdk.txt", "because it is being used by another process."],
  "BuildRetry" : true,
  "ExcludeConsoleLog" : false
}
  Downloading vswhere
  The process cannot access the file 'C:\Users\cloudtest\AppData\Local\Microsoft\VisualStudio\17.0_f1273583\sdk.txt' because it is being used by another process.
  System.IO.IOException: The process cannot access the file 'C:\Users\cloudtest\AppData\Local\Microsoft\VisualStudio\17.0_f1273583\sdk.txt' because it is being used by another process.
     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
     at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
     at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
     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\vmr\src\fsharp\eng\build.ps1: line 517
  at <ScriptBlock>, D:\a\_work\1\vmr\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

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=911138
Error message validated: [Downloading vswhere The process cannot access the file sdk.txt because it is being used by another process.]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 1/9/2025 1:20:55 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant