Skip to content

Restore failing intermittently on build #36255

@jaredpar

Description

@jaredpar

Restore is failing intermittently

F:\workspace\_work\1\s\.dotnet\sdk\5.0.100-preview.5.20251.2\NuGet.targets(128,5): error : Cannot create a file when that file already exists. [F:\workspace\_work\1\s\src\libraries\restore\binplacePackages\binplacePackages.depproj] 
##[error].dotnet\sdk\5.0.100-preview.5.20251.2\NuGet.targets(128,5): error : (NETCORE_ENGINEERING_TELEMETRY=Restore) Cannot create a file when that file already exists. 

Looks like a race that is hitting the "Libraries Build Windows_NT allConfigurations x64 Debug" the most often.

Note: if you are looking into this bug make sure to look at all attempts of this leg. About 1/2 of the PRs here retried this failure and it succeeded on retry. Hence looking at the final state of the build will not display this error.

Build Kind Job Name
640103 PR 36242 Libraries Build Windows_NT allConfigurations x64 Debug
637444 PR 36150 Libraries Build Windows_NT allConfigurations x64 Debug
637444 PR 36150 Libraries Build Windows_NT allConfigurations x64 Debug
637444 PR 36150 Libraries Build Windows_NT allConfigurations x64 Debug
638863 PR 36098 Libraries Build Windows_NT allConfigurations x64 Debug
638863 PR 36098 Libraries Build Windows_NT allConfigurations x64 Debug
638849 PR 36175 Libraries Build Windows_NT allConfigurations x64 Debug
638786 Rolling Libraries Build Windows_NT net472 x64 Release
638313 PR 36098 Libraries Build Windows_NT allConfigurations x64 Debug
638357 PR 35366 Libraries Build Windows_NT allConfigurations x64 Debug
638198 Rolling Libraries Build Windows_NT allConfigurations x64 Release

Metadata

Metadata

Assignees

Labels

area-Infrastructureblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions