-
Notifications
You must be signed in to change notification settings - Fork 123
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
asan tests fail after build on stretch #1895
Comments
Thank you for reporting! @sanssecours do you understand some of these errors? |
As far as I can tell the errors in I guess the other failing tests are just a consequence of the two plugins mentioned above throwing errors. |
That would also mask problems in the elektra plugins. |
We already have a ASAN enabled Clang build to check for problems.
I think the proper way to suppress errors caused by external libraries is a blacklist file. We already use such a blacklist for Clang. However, as far as I know GCC does not support blacklist files. |
I renabled and modified |
Compromising the trustworthiness of a test run just to make it not fail is the Volkswagen approach. Then we don't need suppression/blacklist files and I just edit the job to run
I think it makes sense to suppress/blacklist errors coming from our dependencies so that they don't fail the tests anymore but still show up when tests are run. If we can't have sensible suppression/blacklisting of errors with gcc we should consider disabling or removing that build job all together. |
There is no false positive test result if we disable a plugin. For example, running
That would work for me. We still have the build job |
Maybe I used the wrong words to explain my take on the problem, plus it probably is a bit philosophical. For me a test run that hides failing tests because they are disabled is not successful. It probably would be a discussion for another issue to change the existing build setup so that tests are skipped instead of not build to track skipped tests due to misconfiguration in the build system... |
Unfortunately, it is impossible to run all tests in every combination we have. If we disable all plugins which cause a problem on any system, we would have no plugins. And if we disable all agents where any plugin causes a problem, we would have no agent. So if we want it or not, we will have some situations where some tests (or plugins?) are disabled. I moved the discussion to #1899. |
I opened up a PR illustrating the problems with asan in the current build server configuration |
We meanwhile added an asan test and disabled all currently not compatible parts of Elektra to make tests pass. |
Steps to Reproduce the Problem
run elektra-gcc-asan on stretch
Expected Result
It should pass tests the same as on jessie.
Actual Result
Errors are thrown.
System Information
Further Logs
ASAN Log from a local docker run
The text was updated successfully, but these errors were encountered: