You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail to upload 'D:\a\_work\1\s\src\runtime\artifacts\tmp\Release\PDBsToPublish\Microsoft.Win32.SystemEvents\net9.0-windows\Microsoft.Win32.SystemEvents.pdb' due to 'Could not find a part of the path 'D:\a\_work\1\s\src\runtime\artifacts\tmp\Release\PDBsToPublish\Microsoft.Win32.SystemEvents\net9.0-windows\Microsoft.Win32.SystemEvents.pdb'.'.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\a\_work\1\s\src\runtime\artifacts\tmp\Release\PDBsToPublish\Microsoft.Win32.SystemEvents\net9.0-windows\Microsoft.Win32.SystemEvents.pdb'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
I think what is going on here is that when PushToLocalStorage is true, we copy most assets to the local artifacts directory. But the end of this target queues AzDO upload commands for any PDB artifacts. When we clean after building, this may mean that the uploads fail because the source files get deleted (the uploads are async).
I think what should be going on here is that PushToBuildStorage should take the input PDB artifacts and handle them the same way it handles assets or packages based on the PushToLocalStorage value. We also then need to ensure that the PDBArtifacts artifact gets properly created and populated at the end of a vertical.
The text was updated successfully, but these errors were encountered:
via failure:
https://dev.azure.com/dnceng-public/public/_build/results?buildId=926533&view=logs&j=9050e078-31bf-5111-d8ec-8b6fa95caf9c&t=4df1dbeb-294c-5d6e-97b8-581fe506c270&l=24130
arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/Publish.proj
Lines 280 to 310 in 2ac4034
I think what is going on here is that when PushToLocalStorage is true, we copy most assets to the local artifacts directory. But the end of this target queues AzDO upload commands for any PDB artifacts. When we clean after building, this may mean that the uploads fail because the source files get deleted (the uploads are async).
I think what should be going on here is that PushToBuildStorage should take the input PDB artifacts and handle them the same way it handles assets or packages based on the PushToLocalStorage value. We also then need to ensure that the PDBArtifacts artifact gets properly created and populated at the end of a vertical.
The text was updated successfully, but these errors were encountered: