retries broken on dotnet-install.sh
See original GitHub issue2021-01-07T23:30:53.9907369Z ##[section]Starting: Restore and Build Product
2021-01-07T23:30:53.9917230Z ==============================================================================
2021-01-07T23:30:53.9917870Z Task : Command line
2021-01-07T23:30:53.9918442Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2021-01-07T23:30:53.9918959Z Version : 2.178.0
2021-01-07T23:30:53.9919370Z Author : Microsoft Corporation
2021-01-07T23:30:53.9919930Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2021-01-07T23:30:53.9920574Z ==============================================================================
2021-01-07T23:30:54.3431532Z Generating script.
2021-01-07T23:30:54.3439495Z Script contents:
2021-01-07T23:30:54.3440578Z ./build.sh -subset libs+libs.tests -rc release -configuration Debug -ci -arch x64 -framework net6.0 -testscope innerloop /p:ArchiveTests=true
2021-01-07T23:30:54.3441325Z ========================== Starting Command Output ===========================
2021-01-07T23:30:54.3460121Z [command]/usr/bin/bash --noprofile --norc /__w/_temp/cf3903db-f5db-47ff-a732-8d1d2b5c7a2e.sh
2021-01-07T23:30:54.3789136Z __DistroRid: linux-x64
2021-01-07T23:30:54.4143073Z Downloading 'https://dot.net/v1/dotnet-install.sh'
2021-01-07T23:30:54.6257921Z curl: (35) Network file descriptor is not connected
2021-01-07T23:30:54.6265950Z Curl failed; dumping some information about dotnet.microsoft.com for later investigation
2021-01-07T23:30:54.6270188Z /__w/1/s/eng/common/tools.sh: line 277: openssl: command not found
2021-01-07T23:30:54.6327541Z ##[error]Bash exited with code '127'.
2021-01-07T23:30:54.6630932Z ##[section]Finishing: Restore and Build Product
this line needs to still go ahead and retry even if openssl isn’t installed
https://github.com/dotnet/arcade/blob/master/eng/common/tools.sh#L277
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Add retry logic to .sh script · Issue #95 · dotnet/install-scripts
Sh script invokes curl with retry option. However, the retry logic is only working while attempting to connect to the given url and...
Read more >dotnet-install.sh not adding dotnet command on Ubuntu
I am not a Linux user so this might be a easy fix but I have tried the following: first I install it...
Read more >How can I fix a "Segmentation fault" error running "dotnet" ...
I am trying to install the ".NET Core 3.0" runtime on my old Raspberry Pi B+ first gen but I am not able...
Read more >How to remove an installation created by the "dotnet- ...
I installed the 6.0 SDK on my laptop (running Fedora) via the dotnet-install script because at the time it wasn't available in the...
Read more >Adding Travis CI builds to a .NET Core app
In this post I describe how to build and test your ASP.NET Core or .NET Core app in a linux and Mac environment...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
we can argument that to simply ignore failures. e.g.
|| true
May be easier than the detection - and this should be temporarily anyway until we get root causeI would say let’s check if openssl exists and if it doesn’t just skip the step that dumps extra info and go right into retries.