Use npm CLI flags to bypass stale agent .npmrc causing E401#7376
Merged
Azure Pipelines / extensions-ci
succeeded
Mar 9, 2026 in 57m 55s
Build #20260309.3 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 58,445 (92.20%)
- Other: 4,940 (7.79%)
- Total: 63,386
Annotations
Check failure on line 9 in Build log
azure-pipelines / extensions-ci
Build log #L9
Writing comment failed
azure-pipelines / extensions-ci
Microsoft.Extensions.AI.HostedFileClientExtensionsTests.DownloadToAsync_EmptyDestinationPath_UsesCurrentDirectory
System.IO.IOException : The process cannot access the file 'test_a5b03cdc-91a2-4bea-ad3f-56f3b8e290fb.json' because it is being used by another process.
Raw output
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at Microsoft.Extensions.AI.HostedFileClientExtensionsTests.DownloadToAsync_EmptyDestinationPath_UsesCurrentDirectory() in D:\a\_work\1\s\test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\Files\HostedFileClientExtensionsTests.cs:line 220
at Microsoft.Extensions.AI.HostedFileClientExtensionsTests.DownloadToAsync_EmptyDestinationPath_UsesCurrentDirectory()
--- End of stack trace from previous location ---
Loading