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

WIP: Fix broken tests #1725

Closed
wants to merge 2 commits into from

Update localNupkgRepoUri

ff3d412
Select commit
Loading
Failed to load commit list.
Closed

WIP: Fix broken tests #1725

Update localNupkgRepoUri
ff3d412
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet failed Oct 10, 2024 in 18m 42s

Build #PowerShell.PSResourceGet-2410.10007 had test failures

Details

Tests

  • Failed: 9 (0.27%)
  • Passed: 3,231 (95.76%)
  • Other: 134 (3.97%)
  • Total: 3,374

Annotations

Check failure on line 40 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L40

Failed to install Microsoft.Security.CredScan.Client required for running analysis.

Check failure on line 41 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L41

Please contact guardianhelp@microsoft.com for support if the issue persists.

Check failure on line 42 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L42

Exception Details:

Check failure on line 43 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L43

System.Exception: Unexpected exit code 1 returned from tool nuget.exe

Check failure on line 1 in Test Install-PSResource for V3Server scenarios.Should not install resource given nonexistant name

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V3Server scenarios.Should not install resource given nonexistant name

Expected strings to be the same, but they were different.
Expected length: 82
Actual length:   77
Strings differ at index 0.
Expected: 'InstallPac...'
But was:  'ResourceNo...'
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1: line 67
67:         $err[0].FullyQualifiedErrorId | Should -BeExactly "InstallPackageFailure,Microsoft.PowerShell.PSResourceGet.Cmdlets.InstallPSResource"

Check failure on line 1 in Test Install-PSResource for V3Server scenarios.Should install resource given name and exact range inclusive [1.0.0, 5.0.0]

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V3Server scenarios.Should install resource given name and exact range inclusive [1.0.0, 5.0.0]

Expected '5.0.0', but got 1.0.0.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceADOV2Server.Tests.ps1: line 89
89:         $pkg.Version | Should -Be "5.0.0"

Check failure on line 1 in Test Install-PSResource for V3Server scenarios.Should not install resource given nonexistant name

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V3Server scenarios.Should not install resource given nonexistant name

Expected strings to be the same, but they were different.
Expected length: 82
Actual length:   77
Strings differ at index 0.
Expected: 'InstallPac...'
But was:  'ResourceNo...'
Raw output
at <ScriptBlock>, D:\a\1\s\test\InstallPSResourceTests\InstallPSResourceADOV2Server.Tests.ps1: line 67
67:         $err[0].FullyQualifiedErrorId | Should -BeExactly "InstallPackageFailure,Microsoft.PowerShell.PSResourceGet.Cmdlets.InstallPSResource"

Check failure on line 1 in Test Install-PSResource for local repositories.Install .nupkg that contains directories (specific package throws errors when accessed by ZipFile.OpenRead)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for local repositories.Install .nupkg that contains directories (specific package throws errors when accessed by ZipFile.OpenRead)

Expected 'Microsoft.Web.Webview2', but got $null.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1: line 295
295:         $pkg.Name | Should -Be $nupkgName