[MDBF-276] Apply changes to the MSAN builder Created: 2021-10-05 Updated: 2022-03-03 Resolved: 2022-03-03 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Vlad Bogolin | Assignee: | Vlad Bogolin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildbot | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 1.5h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Apply the new changes to the MSAN builder as described in the updated |
| Comments |
| Comment by Marko Mäkelä [ 2022-02-16 ] | |||||||||
|
Either all libraries must be instrumented, or uninstrumented libraries must be unavailable for the MSAN build. An example of a rare dependency is this:
| |||||||||
| Comment by Marko Mäkelä [ 2022-02-23 ] | |||||||||
|
Thank you, this is much better now. Some work remains to be done:
| |||||||||
| Comment by Marko Mäkelä [ 2022-02-23 ] | |||||||||
|
The problems related to compression libraries has been filed as MDEV-26757. I had posted some commands to build one compression library there. Either all compression libraries should be built with MSAN instrumentation, or (my preference, because at least when it comes to InnoDB, I do not expect anything to be caught) the compression libraries should be made unavailable during MSAN builds. | |||||||||
| Comment by Vlad Bogolin [ 2022-02-23 ] | |||||||||
|
I have disabled compression tests. Hopefully,
is the way to do it and that doesn't miss anything. Now I am trying to see why instrumented libcrack doesn't find the dictionary. | |||||||||
| Comment by Vlad Bogolin [ 2022-02-24 ] | |||||||||
|
All changes should now be added to the new MSAN builder https://buildbot.mariadb.org/#/builders/348. I managed to solve the libcrack dictionary problem (see | |||||||||
| Comment by Vlad Bogolin [ 2022-02-28 ] | |||||||||
|
Updated to clang-12 as discussed on Slack. All changes should be live. | |||||||||
| Comment by Marko Mäkelä [ 2022-03-01 ] | |||||||||
|
After I worked around MDEV-27964 in the tests, the MSAN builds should now be green, for all main branches 10.5 to 10.9. |