Skip to content

GitHub actions: Ubuntu 22.04 [depends-on: #6901] #6863

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

Merged
merged 1 commit into from
Jun 4, 2022

Conversation

tautschnig
Copy link
Collaborator

@tautschnig tautschnig commented May 17, 2022

Use the most recent available GitHub runners (which is currently in
public beta). For Ubuntu we now have coverage of 18.04, 20.04, 22.04.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@tautschnig tautschnig added the CI label May 17, 2022
@tautschnig tautschnig self-assigned this May 17, 2022
@tautschnig tautschnig force-pushed the feature/github-runners branch from 964b507 to 1ade459 Compare May 17, 2022 20:23
@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

Merging #6863 (242db05) into develop (5ea97b3) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #6863      +/-   ##
===========================================
- Coverage    77.77%   77.76%   -0.01%     
===========================================
  Files         1568     1568              
  Lines       180315   180315              
===========================================
- Hits        140234   140223      -11     
- Misses       40081    40092      +11     
Impacted Files Coverage Δ
src/goto-programs/goto_inline_class.cpp 85.08% <0.00%> (-3.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65d3c00...242db05. Read the comment docs.

@tautschnig tautschnig force-pushed the feature/github-runners branch 3 times, most recently from 2170538 to 3543804 Compare May 24, 2022 07:57
@tautschnig tautschnig marked this pull request as ready for review May 24, 2022 07:57
@tautschnig tautschnig requested a review from a team as a code owner May 24, 2022 07:57
Copy link
Contributor

@NlightNFotis NlightNFotis left a comment

Choose a reason for hiding this comment

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

I'm happy with the change to MacOS 12 (given that all my machines use that) and I can support it if need be.

But I want someone else to chime in for Ubuntu 22.04, because I don't have easy access to an Ubuntu machine.

@tautschnig
Copy link
Collaborator Author

Thanks @NlightNFotis . I'll also need someone with sufficient admin privileges (@peterschrammel ?) adjust the set of CI checks that are marked "Required" for I have replaced (and renamed) two of the existing tests.

Copy link
Contributor

@TGWDB TGWDB left a comment

Choose a reason for hiding this comment

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

Can you please split this to two separate PRs for the different OS's. We don't currently have a Ubuntu 22.04 environment we could ensure good development on, but we can progress on MacOS for now.

@thomasspriggs
Copy link
Contributor

But I want someone else to chime in for Ubuntu 22.04, because I don't have easy access to an Ubuntu machine.

I currently use a Ubuntu 20.04 machine and I am expecting to upgrade to 22.04 within the next 2 months. So I am not yet setup to vouch for the support level on 22.04 or to investigate any 22.04 related issues.

A a couple of other points to consider -

  • How many versions of Ubuntu should we really be aiming to support? There is some overhead in making sure we have machines (or VMs) available for all 3 versions of Ubuntu which you are proposing we use for the PR checks. As well as debugging any build issues across all these versions.
  • There is also the release packages to consider and we should bear in mind ensuring that we are running PR jobs for versions of Ubuntu / cmake which match the release packages. Otherwise we may risk version specific breakages being introduced which are only spotted at release time.

I would be more in favour of moving from testing / producing release packages on 18.04 and 20.04 to 20.04 and 22.04 as opposed to spreading our efforts over 3 versions. @jimgrundy Do you have any opinion on which versions of Ubuntu we should be supporting with release packages?

@tautschnig
Copy link
Collaborator Author

Ubuntu is still providing maintenance updates for 18.04 (https://ubuntu.com/about/release-cycle), so I'd rather not see us drop support for this platform. Also, the Kani team is aiming to continue to support 18.04 for the time being, so I don't think we should drop support for this platform just yet.

My main goal in adding the most recent runners was to detect problems early, even when perhaps we wouldn't have release packages for these platforms. I'd rather not be in a position where some user has to file an issue for they can't compile or can't run CBMC on their platform.

I'll create a new PR for macOS 12 only, and will leave this one to handle (and discuss) Ubuntu versions.

@tautschnig tautschnig changed the title GitHub actions: macOS 12, Ubuntu 22.04 GitHub actions: Ubuntu 22.04 May 24, 2022
@tautschnig tautschnig force-pushed the feature/github-runners branch from 3543804 to 258c21c Compare May 24, 2022 11:23
@TGWDB
Copy link
Contributor

TGWDB commented May 24, 2022

We're running into the problem of having a large number of OSs and build systems and needing to support them all. I appreciate that changing 20.04-make-clang to 22.04-make.clang is not too significant since we still have 20.04-make-clang-smt-z3 and so we should have the build covered. But in the other direction we're not significantly covering 22.04 yet (just one job).

I'm happy to approve for now, but note that this should be treated with some caution.

@thomasspriggs
Copy link
Contributor

My main goal in adding the most recent runners was to detect problems early, even when perhaps we wouldn't have release packages for these platforms. I'd rather not be in a position where some user has to file an issue for they can't compile or can't run CBMC on their platform.

The cmake build is explained in compiling.md before the make build. So users are more likely to be trying to build cbmc using cmake, than with make. I'd suggest we add a Ubuntu 22.04 + cmake + gcc job instead. We could make it a build only job, if we are concerned about CI resources.

@tautschnig tautschnig force-pushed the feature/github-runners branch from 258c21c to c05ea63 Compare June 1, 2022 09:10
@tautschnig
Copy link
Collaborator Author

My main goal in adding the most recent runners was to detect problems early, even when perhaps we wouldn't have release packages for these platforms. I'd rather not be in a position where some user has to file an issue for they can't compile or can't run CBMC on their platform.

The cmake build is explained in compiling.md before the make build. So users are more likely to be trying to build cbmc using cmake, than with make. I'd suggest we add a Ubuntu 22.04 + cmake + gcc job instead. We could make it a build only job, if we are concerned about CI resources.

Done: I've now added that additional job.

@tautschnig tautschnig changed the title GitHub actions: Ubuntu 22.04 GitHub actions: Ubuntu 22.04 [depends-on: #6901] Jun 1, 2022
tautschnig added a commit that referenced this pull request Jun 3, 2022
Remove "inline" from library models [blocks: #6863]
Add the most recent available GitHub runners (which is currently in
public beta). For Ubuntu we now have coverage of 18.04, 20.04, 22.04.
@tautschnig tautschnig force-pushed the feature/github-runners branch from c05ea63 to 242db05 Compare June 3, 2022 22:36
@tautschnig tautschnig merged commit 98d4551 into diffblue:develop Jun 4, 2022
@tautschnig tautschnig deleted the feature/github-runners branch June 4, 2022 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants