-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Use Ubuntu 22.04, drop 18.04 #1746
Conversation
de3e7cb
to
a2becef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed an experimental commit that attempts to port s2nTests
over to Ubuntu 22.04. I'm not especially confident that it will work, but I'm interested to see what CI says nonetheless.
s2nTests/docker/s2n.dockerfile
Outdated
curl \ | ||
gcc \ | ||
git \ | ||
llvm-3.9 \ | ||
llvm-12 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea what effect this will have.
# Set executable and run tests | ||
RUN chmod +x rootfs/usr/local/bin/* | ||
|
||
FROM haskell:8.8.4-stretch AS build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm very confused about this Dockerfile in general—see #1747—but perhaps it will suffice for now just to mirror the changes to the main SAW Dockerfile
.
GitHub Actions has deprecated its Ubuntu 18.04 runners, and they will be removed by December 1, 2022. Moreover, GitHub Actions now offers Ubuntu 22.04 runners. It seems like a good time to upgrade our CI accordingly. Somewhat annoyingly, the `haskell` Docker images that we use in our Dockerfiles use such an old version of Debian that their version of `glibc` is incompatible with any of the `what4-solvers` built for Ubuntu 20.04 or 22.04. As a result, I switched them from the `haskell` Docker image to the `ubuntu` one. This required some minor tweaks to how dependencies are installed, but nothing too serious. Fixes #1741. By upgrading the version of the solvers being used, this also fixes #1744.
a2becef
to
3c833d7
Compare
Also, delete the redundant saw.dockerfile
(This now closes #1747) |
|
Thanks for finishing this one, @chameco! |
Hm, the |
Oh, gross. I'm going to queue BLST again to see if it's CI being inconsistent, then test locally and bisect if necessary. |
Excitingly, on the rerun the BLST job succeeded... (the red X is due to the Mergify job failing, as I removed the |
When this was updated to 22.04, the version of |
Yes, I suppose that is possible. |
Just FYI, we're waiting on this for some things...are there plans to push this soon? |
@chameco is still debugging some random build failures he is seeing in CI. Sam, can you give Sean more detail on what's going on? |
I just wanted to chime in to say that if it is necessary, I can think of a way for |
I'm hoping @weaversa is your need related to the SAW Docker container update here? If so it might be worth pushing our CI/solver related woes into another issue and merging this ASAP. |
Thanks! I'm just hoping to have an updated saw-remote-api Docker container. |
The CI for 8095d01 passed. I also restarted the |
GitHub Actions has deprecated its Ubuntu 18.04 runners, and they will be removed by December 1, 2022. Moreover, GitHub Actions now offers Ubuntu 22.04 runners. It seems like a good time to upgrade our CI accordingly.
Somewhat annoyingly, the
haskell
Docker images that we use in our Dockerfiles use such an old version of Debian that their version ofglibc
is incompatible with any of thewhat4-solvers
built for Ubuntu 20.04 or 22.04. As a result, I switched them from thehaskell
Docker image to theubuntu
one. This required some minor tweaks to how dependencies are installed, but nothing too serious.Fixes #1741. By upgrading the version of the solvers being used, this also fixes #1744.