Repository navigation
valgrind: replace suppression for EVP_DecryptFinal_ex - #52491
Conversation
|
i'm seeing the same valgrind issue in local testing on fedora 38, and the suppression didn't quite match. adding - fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
+ fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalERNS_6buffer7v15_2_04listEi added 2 new wildcards to match both forms, and verified with local testing that it correctly suppresses the issue |
rzarzynski
left a comment
There was a problem hiding this comment.
I think there is generic problem with AES-NI and Valgrind:
at least it was on time when the suppression has been created but I wouldn't be surprised if we stuck to (too) old valgrind on some nodes.
I'm not sure we had the symbols for OpenSSL installed to make a rule based on gcm_ghash_avx. Likely (sorry, speaking from memory) not.
Generalizing suppression is always questionable. I would prefer to keep it as specific as possible.
|
@rzarzynski thanks for sharing the gist. i don't think that issue is showing up on recent releases/distros, because these suppressions haven't matched since the signature of https://tracker.ceph.com/issues/61566 reports this new valgrind issue against centos9: which looks just like openssl/openssl#19719 except for the UnknownInlinedFun line i agree that supressions should be as specific as possible, but i don't think it should matter how ceph calls into |
i pushed a commit that adds that as a new suppression, and rescheduled the rbd reproducer against just that commit: https://pulpito.ceph.com/cbodley-2023-07-19_17:22:57-rbd-main-distro-default-smithi/ since this is blocking rbd testing on centos 9, i'd prefer to leave the existing suppressions alone for now |
|
Thanks, @cbodley! I will be really glad if the new commit goes green. I'm fine with leaving existing ones, maybe with a little extra comment. |
I'm not following -- we know for a fact that both of them are bogus since they are conditioned on |
i'm happy to do that if we reach a consensus, i just want to avoid any delays |
The run LGTM!
@rzarzynski I think Casey wants your blessing to remove two existing suppressions (replacing them with the one under test). |
i opened #52561 for this part so we can review/merge separately |
|
jenkins test make check |
|
thanks for reviews. seems we're blocked on 'make check' anyway |
Yup, Since Radoslaw approved #52561, perhaps pull it into this PR so that the cleanup gets backported to reef too? |
years ago in commit fe97a00, the signature of authenticated_decrypt_update_final() changed and this suppression no longer matches its mangled form: - fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj + fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalERNS_6buffer7v15_2_04listE the fact that we didn't notice must mean that we don't need the suppressions anymore Signed-off-by: Casey Bodley <[email protected]>
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
valgrind report shows the same issue coming from:
because
authenticated_decrypt_update_final()can be called from different places, omit its caller from the suppressionFixes: https://tracker.ceph.com/issues/61566
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows