Skip to content

qa/suites/rbd/valgrind: run on all distros - #66205

Closed
idryomov wants to merge 1 commit into
ceph:mainfrom
idryomov:wip-69859
Closed

idryomov wants to merge 1 commit into
ceph:mainfrom
idryomov:wip-69859

Conversation

@idryomov

Copy link
Copy Markdown
Contributor

This supersedes #61689.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@idryomov

Copy link
Copy Markdown
Contributor Author

if there is consensus on the suppression I can tack on a similar change for the RADOS suite, effectively superseding #61687 as well.

@idryomov
idryomov marked this pull request as draft November 11, 2025 23:07
gcm_cipher_internal() and ossl_gcm_stream_final() make it to the stack
trace only on CentOS Stream 9.  On Ubuntu 22.04 and Rocky 10, it looks
as follows:

Thread 4 msgr-worker-1:
Conditional jump or move depends on uninitialised value(s)
   at 0x70A36D4: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x70A39A1: ??? (in /usr/lib64/libcrypto.so.3.2.2)
   by 0x6F8A09C: EVP_DecryptFinal_ex (in /usr/lib64/libcrypto.so.3.2.2)
   by 0xB498C1F: ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final(ceph::buffer::v15_2_0::list&) (crypto_onwire.cc:271)
   by 0xB4992D7: ceph::msgr::v2::FrameAssembler::disassemble_preamble(ceph::buffer::v15_2_0::list&) (frames_v2.cc:281)
   by 0xB482D98: ProtocolV2::handle_read_frame_preamble_main(std::unique_ptr<ceph::buffer::v15_2_0::ptr_node, ceph::buffer::v15_2_0::ptr_node::disposer>&&, int) (ProtocolV2.cc:1149)
   by 0xB475318: ProtocolV2::run_continuation(Ct<ProtocolV2>&) (ProtocolV2.cc:54)
   by 0xB457012: AsyncConnection::process() (AsyncConnection.cc:495)
   by 0xB49E61A: EventCenter::process_events(unsigned int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*) (Event.cc:492)
   by 0xB49EA9D: UnknownInlinedFun (Stack.cc:50)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:61)
   by 0xB49EA9D: UnknownInlinedFun (invoke.h:111)
   by 0xB49EA9D: std::_Function_handler<void (), NetworkStack::add_thread(Worker*)::{lambda()ceph#1}>::_M_invoke(std::_Any_data const&) (std_function.h:290)
   by 0xBB11063: ??? (in /usr/lib64/libstdc++.so.6.0.33)
   by 0x4F17119: start_thread (in /usr/lib64/libc.so.6)

The proposal to amend the existing suppression so that it's tied to the
specific callsite rather than libcrypto internals [1] received a thumbs
up from Radoslaw.

[1] ceph#61689 (comment)

Fixes: https://tracker.ceph.com/issues/69859
Signed-off-by: Ilya Dryomov <[email protected]>

@badone badone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this Ilya, it looks good. Is this just a draft because it needs a rebase or is it waiting on something else?

@idryomov

Copy link
Copy Markdown
Contributor Author

Is this just a draft because it needs a rebase or is it waiting on something else?

This took care of #61689 (comment), but it turned out there are more issues of this kind, in particular in areas that interact with Python. qa/valgrind.supp has a number of suppressions related to Python but none of them kick in on Ubuntu 22.04 or Rocky 10 because the entire stack trace that comes out of Valgrind consists of only ??? frames -- there is literally nothing to use as an anchor. I didn't have the cycles to look into it.

@idryomov

idryomov commented Jan 30, 2026 •

Copy link
Copy Markdown
Contributor Author

I have split the change that makes gcm_cipher_internal suppression more resilient into #67138. The current "branch of the day" for Rocky (wip-rocky10-branch-of-the-day-2026-01-23-1769128778) removes the bit that restricted valgrind jobs to CentOS Stream 9 and adds Rocky 10 to the mix. This

it turned out there are more issues of this kind, in particular in areas that interact with Python. qa/valgrind.supp has a number of suppressions related to Python but none of them kick in on Ubuntu 22.04 or Rocky 10 because the entire stack trace that comes out of Valgrind consists of only ??? frames -- there is literally nothing to use as an anchor

remains a problem, but #67138 takes care of everything else (at least as far as the RBD suite is concerned) and therefore should stand on its own IMO.

@idryomov idryomov closed this Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants