Skip to content

MDBF-1185 msan/ubsan/asan with clang 22#912

Open
grooverdan wants to merge 1 commit intoMariaDB:devfrom
grooverdan:msan_ubsan_22
Open

MDBF-1185 msan/ubsan/asan with clang 22#912
grooverdan wants to merge 1 commit intoMariaDB:devfrom
grooverdan:msan_ubsan_22

Conversation

@grooverdan
Copy link
Member

@grooverdan grooverdan commented Feb 23, 2026

Here we phase in clang 22 as a msan and ubasan builder.

If all goes well, we'll remove clang-20 out.

Add New Build template

Checklist

  • [N/A] Make changes os_info.yaml
  • Schedule the builder for the appropriate branch in constants.py
  • [Reused ] Add builder configuration
  • [N/A] Update workflows as appropriate i.e.: .github/workflows/build-X-based.yml
  • [N/A?] Update front page - master-web/templates/home.jade
  • [N/A - not a release platform] Add to MariaDB Documentation page for Platform Deprecation Policy
@RazvanLiviuVarzaru
Copy link
Collaborator

Hi, @grooverdan !

My suggestion is to use sg-bbw1 as a worker machine.
@fauust can you please configure it to connect to master-migration?

This is the estimated load of this patch: https://github.com/MariaDB/buildbot/actions/runs/22293877010?pr=912

image
@grooverdan grooverdan force-pushed the msan_ubsan_22 branch 2 times, most recently from 063a9c2 to 2531155 Compare February 25, 2026 02:59
@grooverdan
Copy link
Member Author

Arch: amd64

Worker Total Jobs Requested Jobs
hz-bbw6 96 20
hz-bbw8 110 110
hz-bbw9 110 110
bg-bbw5-x64 8 0
sg-bbw1 128 56

note llvm/clang 22 release hasn't happened. I think we'll container rebuild when that happens for a better dev test.

@RazvanLiviuVarzaru
Copy link
Collaborator

Arch: amd64

Worker Total Jobs Requested Jobs
hz-bbw6 96 20
hz-bbw8 110 110
hz-bbw9 110 110
bg-bbw5-x64 8 0
sg-bbw1 128 56
note llvm/clang 22 release hasn't happened. I think we'll container rebuild when that happens for a better dev test.

Thanks, @grooverdan .
Can you tell me please when this should be scheduled for Production?
Because I can apply the changes in buildbot.dev.mariadb.org without actually merging and then you can use my server-fork to test as much as you like.

I am asking this because merging to DEV it is also a commitment to "soon will be released in buildbot production" and if this is not happening anytime soon it might get reverted if I want to do a release.

@grooverdan
Copy link
Member Author

https://discourse.llvm.org/t/llvm-22-1-0-released/89950

Released - hence #916

Can you tell me please when this should be scheduled for Production?
Because I can apply the changes in buildbot.dev.mariadb.org without actually merging and then you can use my server-fork to test as much as you like.

I've done the local #916 build and its passed its non-debug builds, server 10.11 on MSAN and ASAN/UBSAN. I'm not expecting massive failure.

Sure - lets take a non-merged test on DEV

If you've got time to trigger a 10.11, main, and if resources 11.4 (as a middle), I'll go through the results and report back here.

Here we phase in clang 22 as a msan and ubasan builder. New builders get sg_bbw1 as a worker. If all goes well, we'll remove clang-20 out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants