Skip to content

Force codechecker action to run on Ubuntu 24.04 temporarily - #7386

Merged
changlei-li merged 1 commit into
xapi-project:masterfrom
last-genius:asv/fix-codechecker
Nov 10, 2026
Merged

changlei-li merged 1 commit into
xapi-project:masterfrom
last-genius:asv/fix-codechecker

Conversation

@last-genius

Copy link
Copy Markdown
Contributor

Codechecker uses the deprecated apt-key, which is not available on 26.04

Ubuntu move announcement:
actions/runner-images#14748

Codechecker code:
https://github.com/whisperity/CodeChecker-Action/blob/c1fbda08799d91447c007e18db31e423ee37fccd/src/get-llvm.sh#L14

Example of failing action run:
https://github.com/xapi-project/xen-api/actions/runs/42589964777/job/129068937274?pr=7360

Move to 24.04 temporarily to fix the CI.

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
@changlei-li
changlei-li added this pull request to the merge queue Nov 10, 2026
Merged via the queue into xapi-project:master with commit e80c360 Nov 10, 2026
16 checks passed
@last-genius

Copy link
Copy Markdown
Contributor Author

I opened a PR to fix the upstream action: whisperity/CodeChecker-Action#10

mg12 added a commit that referenced this pull request Nov 13, 2026
This updates feature/mig with the 75 commits that master has gained
since the last merge, up to 0a1c669 (v26.24.0).

One of them is #7386. It moves the "Static analyzer for OCaml C stubs"
check to ubuntu-24.04, because CodeChecker uses apt-key, which ubuntu
26.04 no longer has. Without that change, the check fails on every pull
request against feature/mig. Because feature/mig is protected, this is a
merge commit, not a rebase.

There was one conflict, in ocaml/idl/schematest.ml.
last_known_schema_hash is recomputed for the merged datamodel, and
schema_minor_vsn is master's 912. This is how #7346 handled the same
conflict.

Tested: built every directory under ocaml/, with the format checks of
ocaml/idl, ocaml/xapi and ocaml/tests, and ran the ocaml/idl and
ocaml/tests suites: all pass (2435 tests), including the schema test
with the new hash.
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