Skip to content

Remove ubuntu-20.04 from CI test matrix, since Github is removing support#84

Merged
jafingerhut merged 3 commits into
mainfrom
discontinue-using-ubuntu-20.04-in-ci
Apr 16, 2025
Merged

Remove ubuntu-20.04 from CI test matrix, since Github is removing support#84
jafingerhut merged 3 commits into
mainfrom
discontinue-using-ubuntu-20.04-in-ci

Conversation

@jafingerhut

@jafingerhut jafingerhut commented Mar 5, 2025

Copy link
Copy Markdown
Contributor

See p4lang/p4c#5155 for more background.

…port

Signed-off-by: Andy Fingerhut <andy.fingerhut@gmail.com>
@jafingerhut jafingerhut requested a review from vgurevich March 6, 2025 04:15

@vgurevich vgurevich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you build the Linux kernel modules during testing? I've seen them failing to build on Ubuntu 22.04

@jafingerhut

Copy link
Copy Markdown
Contributor Author

Do you build the Linux kernel modules during testing? I've seen them failing to build on Ubuntu 22.04

I do not know what in the profiles YAML file controls that. Please create a PR modifying the testing.yaml file, and the CI test results should eventually show whether it builds successfully or not on the Ubuntu 22.04 CI system.

Given the change Github is making on April 1, we need to make a change like the one in this PR by then, regardless of whether kernel modules build on Ubuntu 22.04 or not.

If someone wants to continue testing open-p4studio builds on Ubuntu 20.04 after April 1, they will need to create Github actions that use a Docker container with Ubuntu 20.04 as the guest OS, or something similarly effective. I have no plans to do so.

@fruffy

fruffy commented Mar 6, 2025

Copy link
Copy Markdown
Contributor

Isn't the implication that we will also drop support for Ubuntu 20.04 in general? There is a lot of code and several workarounds dedicated to it. It will be hard to make guarantees without CI testing long-term.

@jafingerhut

Copy link
Copy Markdown
Contributor Author

Isn't the implication that we will also drop support for Ubuntu 20.04 in general? There is a lot of code and several workarounds dedicated to it. It will be hard to make guarantees without CI testing long-term.

It might be worth creating a tag of this repo with the last version on which it was built and tested on Ubuntu 20.04, for people wanting to go back to that version.

@vgurevich

Copy link
Copy Markdown
Contributor

I think that before we stop supporting Ubuntu-20.04, we need to ensure we can support Ubuntu-22.04, should we not? And I am afraid that currently this is not fully the case. Moreover, this might require significant testing effort upfront, way more than an individual like myself is able to contribute.

@jafingerhut

Copy link
Copy Markdown
Contributor Author

I think that before we stop supporting Ubuntu-20.04, we need to ensure we can support Ubuntu-22.04, should we not? And I am afraid that currently this is not fully the case. Moreover, this might require significant testing effort upfront, way more than an individual like myself is able to contribute.

Sorry to repeat myself, but the changes in this PR are necessary in order to avoid CI tests on this repo failing completely every time as of April 1.

Whether or not we continue supporting Ubuntu 20.04 in terms of restrictions on the kinds of code changes made, or in CI, can be done separately from this PR.

@jafingerhut

jafingerhut commented Mar 28, 2025

Copy link
Copy Markdown
Contributor Author

Just a reminder: starting April 1, all Github Actions that use Ubuntu 20.04 "directly" (i.e. not inside of a container), as the Ubuntu 20.04 CI test on this repo currently does, will fail every single time, forevermore. This will block merging future PRs, unless we merge in a PR like this one.

@jafingerhut

Copy link
Copy Markdown
Contributor Author

@fruffy April 15, 2025 appears to be the last day that Github will run ubuntu-20.04 in CI. I don't think it is intermittent failures any longer. See this message from an attempted CI run on this repo a few minutes ago:

This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see https://github.com/actions/runner-images/issues/11101

I recommend approving this PR and merging it, or at least something similarly effective.

@jafingerhut jafingerhut merged commit 77a0e3d into main Apr 16, 2025
@jafingerhut jafingerhut deleted the discontinue-using-ubuntu-20.04-in-ci branch April 16, 2025 18:53
n1tr0-5urf3r pushed a commit to n1tr0-5urf3r/open-p4studio that referenced this pull request Jun 27, 2025
…port (p4lang#84)

Signed-off-by: Andy Fingerhut <andy.fingerhut@gmail.com>
Signed-off-by: Fabian Ihle <fabian.ihle@uni-tuebingen.de>
rcgoodfellow pushed a commit to oxidecomputer/tofino-sde that referenced this pull request Feb 21, 2026
…port (p4lang#84)

Signed-off-by: Andy Fingerhut <andy.fingerhut@gmail.com>
jafingerhut added a commit to jafingerhut/open-p4studio that referenced this pull request Feb 26, 2026
…port (p4lang#84)

Signed-off-by: Andy Fingerhut <andy.fingerhut@gmail.com>
Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants