MDBF-1185 msan/ubsan/asan with clang 22#912
Conversation
a8aae3f to
fc7bff6
Compare
|
Hi, @grooverdan ! My suggestion is to use This is the estimated load of this patch: https://github.com/MariaDB/buildbot/actions/runs/22293877010?pr=912
|
063a9c2 to
2531155
Compare
Arch: amd64
note llvm/clang 22 release hasn't happened. I think we'll container rebuild when that happens for a better dev test. |
Thanks, @grooverdan . 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. |
|
Released - hence #916
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. |
2531155 to
ff553bf
Compare
912ac74 to
5d07cfb
Compare
|
Guys, sorry, missed that one, let me know if still relevant! |
|
@fauust This is to configure the @grooverdan Since clang-22 builders are resource demanding, the plan would be:
|
done |
|
Hi, @grooverdan ! Here's the patch status on all branches, from the HEAD commits at the time of triggering.
|
|
Thanks. Yikes. 10.6 was only intended to gain clang-22-msan per constants. Bugs lodged and linked to MDBF-1185. view/cursor bugs waiting on merge up. ubasasn-debug - normal failures - waiting on mroonga merge up (10.11 only still) and connector ODBC update or code error supressions.
|
b4a6066 to
199a61e
Compare
|
Looks good but now the capacity of the target worker is only: So we can only host 2 builders given we scale them down to parallel=10, |
|
So I've a small preference for option1 freeing more resources and requiring less consequential changes. Edit: ODBC mem leaks need https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141600 as a stable backport (preferably) otherwise we pull a testing/unstable into the Deb 13 msan image. Option 1: Drop
|
@grooverdan Option 1 seems like a good plan. The way I look at it: For a future protected branches we should use Hetzner, preferably 3 workers. hz-bbw6 (27/96):
^ OK, enough capacity. hz-bbw8 and hz-bbw9 (105/110):
^ not ok, there's an extra + 8. What can we sacrifice? MSAN-20 DEBUG? sg-bbw1 (0/20):
^ enough capacity, I don't want to use this worker for protected builders hence adding it as a backup worker for UBASAN CLANG 22 DEBUG. |
|
msan-20-debug sounds the most sacraficial |
Phase in Clang 22 MSAN/UBSAN builders and update their worker assignments. Remove the obsolete Clang 20 builders and the MSAN debug configuration. Add an experimental mode to evaluate new suites and options with the Clang 22 builders. Extend Spider coverage to the non-debug MSAN build after it proved quick and stable locally. Evaluate cursor and view protocols across MSAN/UBSAN debug and non-debug builds. UBSAN mainly reproduced known minor failures. MSAN view exposed a failure that was also reproducible without MSAN, so run cursor and view tests on the faster non-debug MSAN builder. Use -Og for debug sanitizer builds to reduce instrumentation and improve CI runtime while retaining useful debugging information. Recognize DuckDB as a plugin, but disable it under MSAN/UBSAN until its linking issue is fixed.
01b05f7 to
d162bbe
Compare
RazvanLiviuVarzaru
left a comment
There was a problem hiding this comment.
From a bb config perspective will approve and merge
outstanding test failures fixes will hopefully catch up.
will include this patch in 21 jul 2026 bb release.
https://buildbot.dev.mariadb.org/#/builders/110/builds/383
If you suspect a bb environment related issue
that needs my immediate attention, ping on #Buildbot > Buildbot release 06.07.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