Closed
Description
I don't know if there's any solution to this, but I didn't want the issue to just get lost in build noise.
We seem to have recurring failures building the docker image on Centos because yum fails to retrieve the mirror list.
05:06:48 Cannot find a valid baseurl for repo: base/7/x86_64
05:06:48 �[0mCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
05:06:48 12: Timeout on http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
05:06:49
05:06:49 The command '/bin/sh -c yum install -y unzip which' returned a non-zero code: 1
05:06:49
Feb 11 https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+periodic/30/console
11:12:05 Cannot find a valid baseurl for repo: base/7/x86_64
11:12:05 �[0mCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
11:12:05 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"
11:12:05 The command '/bin/sh -c yum install -y unzip which' returned a non-zero code: 1
11:12:05
11:12:05
05:07:21 Cannot find a valid baseurl for repo: base/7/x86_64
05:07:21 �[0mCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
05:07:21 12: Timeout on http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
05:07:21 The command '/bin/sh -c yum update -y && yum install -y nc unzip wget which && yum clean all' returned a non-zero code: 1
05:07:21
05:07:21 > Task
```