-
Notifications
You must be signed in to change notification settings - Fork 306
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
DAOS-16501 build: Add libsanitize #15105
base: master
Are you sure you want to change the base?
Conversation
TODO Required-githooks: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
Ticket title is 'LRZ: m02r01s10dao coredump - invalid free' |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…/daos-16501 Required-githooks: true
Miscelleneaous fixe\s. Required-githooks: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Fixing invalid compilation errors reported by gcc on el9. Signed-off-by: Cedric Koch-Hofer <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I was not planning to manage the direct DAOS dependencies such as mercury. |
@mchaarawi, ASan requires an LD_LIBRARY_PATH for engine modules and a larger default Argobots stack size in your engine YAML file(s). Without them, engines either fail to start because they can't find librdb.so, or overrun stacks during pool creation. The performance has been amazing compared to Valgrind---I barely notice a difference when running daos_test on Wolf. Mercury already has the support; @soumagne must have already fixed the issues that are easily found. Same for Argobots. I've used ASan with DAOS plus daos_test in a rush before 2.6.1 and managed to fix the following product issues.
And the following test issues.
In that process, @knard38 and I discovered each other's work on ASan. We planned to land the support (this PR), present an introduction, and see if this is robust enough for certain regular CI runs. Beyond that, our future plan is to look into the memory leak reports (ignored so far), TSan, etc. |
thanks for the detailed reply! |
You're very welcome to work with Cedric and I, if you like. We still don't know whether ASan will turn out to be robust enough or not, because I believe Argobots should cause some false positives, but I've seen zero, which puzzles me. |
Fixing invalid compilation errors reported by gcc on el9. Signed-off-by: Cedric Koch-Hofer <[email protected]>
Fix libasan version for ubuntu image used with GHA Fix invalid copyright Signed-off-by: Cedric Koch-Hofer <[email protected]>
Update modification de Signed-off-by: Cedric Koch-Hofer <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Add documentation on ASan lib usaged and limitations. Signed-off-by: Cedric Koch-Hofer <[email protected]>
I had the same kind of issue with the CI stages building Debian RPMs. |
I was able to reproduce this issue and I have fixed it with latest commits. |
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/58/execution/node/632/log |
The last failing Jenkins build was done with using the new Jenkins configuration parameters Without setting the Jenkins configuration parameters |
@jolivier23 , @mchaarawi , @liw and @grom72 could you tell me if the PR is OK with the current known limitations or if I need to work more on it to make it acceptable for landing. |
I see one issue that we should resolve before we land this great improvement. |
Description
Add scons build option
SANITIZERS
allowing to use the libasan. This new option takes a list of sanitizer tool such as: AddressSanitizer (i.e.-fsanitize=address
), ThreadSanitizer(i.e.-fsanitize=thread
), LeakSanitizer (i.e.-fsanitize=leak
), etc.A list of the available santizer tools and their compatibility could be found in the gcc man page.
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: