-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 new Fedora-40 image for Linux jobs #6261
Conversation
There is a problem with lcov version 2.0 (and newer). See https://dev.azure.com/tianocore/edk2-ci/_build/results?buildId=152451&view=logs&jobId=7cd61938-4509-589a-75ed-329528680800 for a CI run hitting the problem. From the log:
This is a known problem. lcov 2.0 does more checks than previous versions and thus finds some |
1cc4ca5
to
ea200a8
Compare
⚠ WARNING: Cannot add some reviewers: A user specified as a reviewer for this PR is not a collaborator of the repository. Please add them as a collaborator to the repository so they can be requested in the future. Non-collaborators requested: Attn Admins: Admin Instructions:
|
ea200a8
to
583e1d8
Compare
(Fixed copy-paste error in the image URL) |
@spbrogan @YuweiChen1110 @lgao4 @BobCF @bcran ping? |
Hm, that error is new after rebasing... |
c841987
to
fad5215
Compare
Could you resolve CI failure first? |
fad5215
to
1ca24cd
Compare
@lgao4, fixed the CI. This image now includes libasan and libubsan, as requested by @mdkinney here tianocore/containers#103 |
@kraxel ^ |
The Fedora 40 images uses gcc 14, includes libasan and libubsan, clang, and some fixes and improvements. See tianocore/containers@c98ff99 Signed-off-by: Oliver Steffen <[email protected]>
lcov 2.0 and newer does additional error and consistency checking compared to previous versions. This can lead to CI jobs failing due to new/unexpected errors showing up. See: - https://edk2.groups.io/g/devel/message/116138 - linux-test-project/lcov#209 - linux-test-project/lcov#238 Signed-off-by: Oliver Steffen <[email protected]>
1ca24cd
to
974bd8e
Compare
The change to BaseTools works with the Fedora 40 container, but breaks local builds with lcov 1.x installed. It would be better if this change to BaseTools could detect the lcov version and add the extra flag only of lcov is 2.x. |
Sorry about that - I'll add a version check. |
|
Switch the Linux CI jobs over to the latest Fedora 40 image.