Skip to content

Use npm CLI flags to bypass stale agent .npmrc causing E401#7376

Merged
ilonatommy merged 1 commit into
mainfrom
fix-npm-e401-cli-flags
Mar 9, 2026
Merged

Use npm CLI flags to bypass stale agent .npmrc causing E401#7376
ilonatommy merged 1 commit into
mainfrom
fix-npm-e401-cli-flags

Use env vars in build.ps1 to bypass stale agent npm config

deec9b1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / extensions-ci succeeded Mar 9, 2026 in 57m 55s

Build #20260309.3 had test failures

Details

Tests

  • 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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / extensions-ci

Build log #L9

Writing comment failed

Check failure on line 1 in Microsoft.Extensions.AI.HostedFileClientExtensionsTests.DownloadToAsync_EmptyDestinationPath_UsesCurrentDirectory

See this annotation in the file changed.

@azure-pipelines 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 ---