Stream: wasmtime

Topic: CI broken due to CentOS 6 EOL?


view this post on Zulip Chris Fallin (Dec 02 2020 at 17:48):

It seems that our CI runs are now failing because a CentOS 6 repo disappeared:

Status: Downloaded newer image for centos:6
dc404c3f71e249ccce98ddd5dbf9c7a7ad976beef9e13b5dd3d7cd61eec1e441
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
child_process.js:660
    throw err;
    ^

Error: Command failed: docker exec centos yum install -y centos-release-scl cmake xz epel-release

("Cannot retrieve repository metadata" seems to be the key bit.)

It seems that CentOS 6's EOL was last month (Nov 2020): https://phoenixnap.com/kb/centos-6-eol. I imagine that someone just pushed the button to delete the repo.

Should we move to CentOS 7 for CI builds?

CentOS 6 EOL is coming up on November 2020. This Linux distribution will no longer be supported with updates and patches, so make sure you upgrade or mitigate your systems on time.

view this post on Zulip Till Schneidereit (Dec 02 2020 at 17:58):

ah, interesting! We're using that old version to ensure compatibility with old versions of Linux more generally, so I guess the question is whether we want to change how far back we go with that. @Alex Crichton, wdyt is the best way forward here?

view this post on Zulip Alex Crichton (Dec 02 2020 at 17:58):

oh dear

view this post on Zulip Alex Crichton (Dec 02 2020 at 17:59):

We should probably bump to centos 7 and only worry about fixing centos 6 if someone files an issue

view this post on Zulip Chris Fallin (Dec 02 2020 at 17:59):

I'm about to create a PR to pull us to CentOS 7

view this post on Zulip Chris Fallin (Dec 02 2020 at 17:59):

seems to be just minor tweaks

view this post on Zulip Alex Crichton (Dec 02 2020 at 17:59):

I think we can get 6 working but it would be a pain

view this post on Zulip Chris Fallin (Dec 02 2020 at 18:00):

let's see if this becomes green: https://github.com/bytecodealliance/wasmtime/pull/2464

CentOS 6 just went EOL at the end of November 2020; as of today, the repository seems to have disappeared, so our CI builds are failing. This PR updates us to CentOS 7, which should be usable until...

view this post on Zulip Till Schneidereit (Dec 02 2020 at 18:18):

agreed: moving to CentOS 7 makes sense


Last updated: Oct 23 2024 at 20:03 UTC