Skip to content
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

new(build): enable ASan and UBSan builds with options and in CI #3147

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

LucaGuerra
Copy link
Contributor

@LucaGuerra LucaGuerra commented Mar 25, 2024

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area CI

What this PR does / why we need it:

This PR adds the following:

  • USE_ASAN and USE_UBSAN options to Falco cmake
  • Automated unit tests are ran with both ASan and UBSan enabled on all supported architectures in CI
  • Integration tests are ran with ASan on x86_64, no sanitizers on ARM64 (falcosecurity/testing fails with no errors on that arch with sanitizers enabled, needs much deeper investigation)
  • libs and drivers are bumped to the latest version

Supersedes #3104

Which issue(s) this PR fixes:

Fixes #2930

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@LucaGuerra
Copy link
Contributor Author

/milestone 0.38.0

@poiana poiana added this to the 0.38.0 milestone Mar 26, 2024
@poiana poiana added size/M and removed size/S labels Mar 26, 2024
@FedeDP
Copy link
Contributor

FedeDP commented Mar 26, 2024

/assign

@LucaGuerra LucaGuerra force-pushed the new/asan-ubsan-ci branch 4 times, most recently from 672d943 to af235c0 Compare March 27, 2024 12:22
@LucaGuerra LucaGuerra changed the title wip: ASan / UBSan CI new(build): enable ASan and UBSan builds with options and in CI Mar 27, 2024
@LucaGuerra LucaGuerra force-pushed the new/asan-ubsan-ci branch 4 times, most recently from c90b4a7 to 7b3edf5 Compare March 28, 2024 15:20
@LucaGuerra
Copy link
Contributor Author

/hold

Let's merge #3151 first, then I'll rebase this and it'll hopefully pass

Signed-off-by: Luca Guerra <luca@guerra.sh>
Signed-off-by: Luca Guerra <luca@guerra.sh>
@LucaGuerra
Copy link
Contributor Author

/unhold

Signed-off-by: Luca Guerra <luca@guerra.sh>
Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

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

/approve

@poiana poiana added the lgtm label Mar 29, 2024
@poiana
Copy link
Contributor

poiana commented Mar 29, 2024

LGTM label has been added.

Git tree hash: 3fdf44aae71afc15c2369d3484f953e5f4516c04

Copy link
Contributor

@incertum incertum left a comment

Choose a reason for hiding this comment

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

/approve

This is great, thanks for implementing it @LucaGuerra!

@poiana
Copy link
Contributor

poiana commented Mar 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, incertum, LucaGuerra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit b01ef55 into falcosecurity:master Mar 29, 2024
27 checks passed
@LucaGuerra LucaGuerra deleted the new/asan-ubsan-ci branch April 2, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Support sanitizers in Falco tests CI
4 participants