False positive Clang warnings on Linux from openssl output.
nuclearsandwich opened this issue · 3 comments
Lines such as
258: validate_local_permissions failed: (127) Failed to parse PKCS7 SMIME document: 281473198688096:error:21075075:PKCS7 routines:PKCS7_verify:certificate verify error:../crypto/pkcs7/pk7_smime.c:284:Verify error:self signed certificate
from cyclonedds security tests are matching the Jenkins analysis model regexp as a Clang warning.
Linux aarch64 debug #1234 is an example build exhibiting these warnings.
I've done some quick checking to see if there's a described format for clang messages in order to improve upstream's regexp and haven't found anything yet. Since our normal Linux builds use GCC we don't necessarily need to look at them for Clang errors so I'm going to open a PR that adds that parser only conditionally.
This is related to #316
Since our normal Linux builds use GCC we don't necessarily need to look at them for Clang errors so I'm going to open a PR that adds that parser only conditionally.
Since the option to use clang
is a job parameter I am not sure how the parser could be conditional based on that parameter?
Since the option to use
clang
is a job parameter I am not sure how the parser could be conditional based on that parameter?
Yep I realized that trying to set it up. Doing it based on the job default would take away the ability to see clang warnings on regular Linux CI jobs. So I don't currently have a solution to this problem.
Since we have to resolve #316 soon anyway in order to get the CI to be green I would say it is fine to wait for that.