diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2020-06-18 01:37:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 10:37:32 +0200 |
commit | 2fd3ab3c9c93110e71018681f9759eb166a639c9 (patch) | |
tree | a2eceebf1b7ac557b923f75260ac9e2c24ec44ef /LICENSE-APACHE | |
parent | 1f85d6ecebd555ae219637cdc9e1ec475f962f48 (diff) | |
download | spack-2fd3ab3c9c93110e71018681f9759eb166a639c9.tar.gz spack-2fd3ab3c9c93110e71018681f9759eb166a639c9.tar.bz2 spack-2fd3ab3c9c93110e71018681f9759eb166a639c9.tar.xz spack-2fd3ab3c9c93110e71018681f9759eb166a639c9.zip |
Fetching from urls: Error Message (#16434)
* Fetching from urls: Error Message
Fix the error message when fetching from consecutive `urls` of a
package version. Each fail should show the currently failing URL,
not the first url.
Example multi-problem run that occured in real life:
```
==> 5821: Installing util-macros
curl: (28) Connection timed out after 10000 milliseconds
curl: (16) Error in the HTTP2 framing layer
curl: (22) The requested URL returned error: 403 Forbidden
==> Fetching https://www.x.org/archive/individual/util/util-macros-1.19.1.tar.bz2
==> Failed to fetch file from URL: https://www.x.org/archive/individual/util/util-macros-1.19.1.tar.bz2
Curl failed with error 28
==> Fetching https://mirrors.ircam.fr/pub/x.org/individual/util/util-macros-1.19.1.tar.bz2
==> Failed to fetch file from URL: https://www.x.org/archive/individual/util/util-macros-1.19.1.tar.bz2
Curl failed with error 16
==> Fetching http://xorg.mirrors.pair.com/individual/util/util-macros-1.19.1.tar.bz2
==> Failed to fetch file from URL: https://www.x.org/archive/individual/util/util-macros-1.19.1.tar.bz2
URL https://www.x.org/archive/individual/util/util-macros-1.19.1.tar.bz2 was not found!
==> Fetching from https://www.x.org/archive/individual/util/util-macros-1.19.1.tar.bz2 failed.
==> Error: FetchError: All fetchers failed for spack-stage-util-macros-1.19.1-se2a2e74oyusj2r4esgcb7pr3qhh45ef
```
- `urls[0]`: HTTP2 layer error
- `urls[1]`: timeout
- `urls[2]`: missing file on mirror
* x.org: two more mirrors
x.org mirrors are a bit tricky, since many are out-of-sync or off.
A good package to test with is `util-macros`, which had a "recent"
release.
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions