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

feat(sh): adds progress bars for downloads #432

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

feat(sh): adds progress bars for downloads

e50d675
Select commit
Loading
Failed to load commit list.
Open

feat(sh): adds progress bars for downloads #432

feat(sh): adds progress bars for downloads
e50d675
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet.install-scripts failed Jan 27, 2024 in 41m 16s

Build #20240126.1 had test failures

Details

Tests

  • Failed: 19 (1.83%)
  • Passed: 1,022 (98.17%)
  • Other: 0 (0.00%)
  • Total: 1,041

Annotations

Check failure on line 1016 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.install-scripts

Build log #L1016

Error: The process '/Users/runner/hostedtoolcache/dotnet/dotnet' failed with exit code 1

Check failure on line 1021 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.install-scripts

Build log #L1021

Dotnet command failed with non-zero exit code on the following projects : [ '' ]

Check failure on line 1 in Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingTheSdk(channel: "2.1", quality: null, versionRegex: "2\\.1\\..*")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.install-scripts

Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingTheSdk(channel: "2.1", quality: null, versionRegex: "2\\.1\\..*")

The command output did not contain expected result: Installation finished

File Name: /Users/runner/work/1/s/src/dotnet-install.sh
Arguments: -Channel 2.1 -InstallDir /var/folders/kx/gw6dssyn19d9qjs9mvh4hkz80000gn/T/InstallScript-Tests/xomsuee3.0qb
Exit Code: 1
StdOut:

StdErr:
/Users/runner/work/1/s/src/dotnet-install.sh: line 1329: link_types[$link_index]: unbound variable

Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdOutContaining(String pattern) in /Users/runner/work/1/s/tests/Install-Scripts.Test/Utils/CommandResultAssertions.cs:line 58
   at Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingTheSdk(String channel, String quality, String versionRegex) in /Users/runner/work/1/s/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs:line 211
   at InvokeStub_GivenThatIWantToInstallDotnetFromAScript.WhenInstallingTheSdk(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(channel: "2.1", quality: null, versionRegex: "2\\.1\\..*")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.install-scripts

Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(channel: "2.1", quality: null, versionRegex: "2\\.1\\..*")

The command output did not contain expected result: Installation finished

File Name: /Users/runner/work/1/s/src/dotnet-install.sh
Arguments: -Channel 2.1 -InstallDir /var/folders/kx/gw6dssyn19d9qjs9mvh4hkz80000gn/T/InstallScript-Tests/lpye0sbw.j3j -Runtime dotnet
Exit Code: 1
StdOut:

StdErr:
/Users/runner/work/1/s/src/dotnet-install.sh: line 1329: link_types[$link_index]: unbound variable

Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdOutContaining(String pattern) in /Users/runner/work/1/s/tests/Install-Scripts.Test/Utils/CommandResultAssertions.cs:line 58
   at Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(String channel, String quality, String versionRegex) in /Users/runner/work/1/s/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs:line 245
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingAspNetCoreRuntime(channel: "3.1", quality: null, versionRegex: "3\\.1\\..*")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.install-scripts

Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingAspNetCoreRuntime(channel: "3.1", quality: null, versionRegex: "3\\.1\\..*")

The command output did not contain expected result: Installation finished

File Name: /Users/runner/work/1/s/src/dotnet-install.sh
Arguments: -Channel 3.1 -InstallDir /var/folders/kx/gw6dssyn19d9qjs9mvh4hkz80000gn/T/InstallScript-Tests/5zss5tjh.2fk -Runtime aspnetcore
Exit Code: 1
StdOut:

StdErr:
/Users/runner/work/1/s/src/dotnet-install.sh: line 1329: link_types[$link_index]: unbound variable

Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdOutContaining(String pattern) in /Users/runner/work/1/s/tests/Install-Scripts.Test/Utils/CommandResultAssertions.cs:line 58
   at Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingAspNetCoreRuntime(String channel, String quality, String versionRegex) in /Users/runner/work/1/s/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs:line 286
   at InvokeStub_GivenThatIWantToInstallDotnetFromAScript.WhenInstallingAspNetCoreRuntime(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(channel: "3.1", quality: null, versionRegex: "3\\.1\\..*")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.install-scripts

Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(channel: "3.1", quality: null, versionRegex: "3\\.1\\..*")

The command output did not contain expected result: Installation finished

File Name: /Users/runner/work/1/s/src/dotnet-install.sh
Arguments: -Channel 3.1 -InstallDir /var/folders/kx/gw6dssyn19d9qjs9mvh4hkz80000gn/T/InstallScript-Tests/auidwirs.2tn -Runtime dotnet
Exit Code: 1
StdOut:

StdErr:
/Users/runner/work/1/s/src/dotnet-install.sh: line 1329: link_types[$link_index]: unbound variable

Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdOutContaining(String pattern) in /Users/runner/work/1/s/tests/Install-Scripts.Test/Utils/CommandResultAssertions.cs:line 58
   at Microsoft.DotNet.InstallationScript.Tests.GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(String channel, String quality, String versionRegex) in /Users/runner/work/1/s/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs:line 245
   at InvokeStub_GivenThatIWantToInstallDotnetFromAScript.WhenInstallingDotnetRuntime(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)