feat(sh): adds progress bars for downloads #432
Build #20240126.1 had test failures
Details
- 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
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
azure-pipelines / dotnet.install-scripts
Build log #L1021
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
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)
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)
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)
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)