Project

General

Profile

Actions

Bug #74864

open
ID

[valgrind] numerous failures in test_librbd_python.sh on ubuntu 22.04 and rocky 10

Bug #74864: [valgrind] numerous failures in test_librbd_python.sh on ubuntu 22.04 and rocky 10

Added by Ilya Dryomov 10 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Tags:

Description

Initially noted down here: https://github.com/ceph/ceph/pull/66205#issuecomment-3682409871

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.

2026-01-30T16:09:40.893 INFO:tasks.workunit.client.0.trial195.stderr:==19051== HEAP SUMMARY:
2026-01-30T16:09:40.893 INFO:tasks.workunit.client.0.trial195.stderr:==19051==     in use at exit: 2,141,595 bytes in 27,668 blocks
2026-01-30T16:09:40.893 INFO:tasks.workunit.client.0.trial195.stderr:==19051==   total heap usage: 25,173,599 allocs, 25,145,931 frees, 5,755,395,184 bytes allocated
2026-01-30T16:09:40.893 INFO:tasks.workunit.client.0.trial195.stderr:==19051==
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051== 46 bytes in 1 blocks are definitely lost in loss record 1,390 of 5,682
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    at 0x484787E: malloc (vg_replace_malloc.c:446)
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x49D4EAA: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x49FE9E8: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x49FD5C1: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A0A813: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A09FEF: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.933 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A09518: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.934 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A088F6: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.934 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A07F9D: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.934 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A07CB1: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.934 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A076E1: ??? (in /usr/lib64/libpython3.12.so.1.0)
2026-01-30T16:09:40.934 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    by 0x4A0704D: ??? (in /usr/lib64/libpython3.12.so.1.0)

...

2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051== LEAK SUMMARY:
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    definitely lost: 24,153 bytes in 400 blocks
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    indirectly lost: 0 bytes in 0 blocks
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051==      possibly lost: 15,168 bytes in 204 blocks
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051==    still reachable: 487,035 bytes in 5,309 blocks
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051==         suppressed: 1,615,239 bytes in 21,755 blocks
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051== Reachable blocks (those to which a pointer was found) are not shown.
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051== To see them, rerun with: --leak-check=full --show-leak-kinds=all
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051==
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051== For lists of detected and suppressed errors, rerun with: -s
2026-01-30T16:09:41.006 INFO:tasks.workunit.client.0.trial195.stderr:==19051== ERROR SUMMARY: 34 errors from 34 contexts (suppressed: 5358 from 1513)

http://qa-proxy.ceph.com/teuthology/dis-2026-01-30_15:37:27-rbd-wip-rocky10-branch-of-the-day-2026-01-23-1769128778-distro-default-trial/27014/teuthology.log
http://qa-proxy.ceph.com/teuthology/dis-2026-01-30_15:37:27-rbd-wip-rocky10-branch-of-the-day-2026-01-23-1769128778-distro-default-trial/27016/teuthology.log
http://qa-proxy.ceph.com/teuthology/dis-2026-01-30_15:37:27-rbd-wip-rocky10-branch-of-the-day-2026-01-23-1769128778-distro-default-trial/27028/teuthology.log
http://qa-proxy.ceph.com/teuthology/dis-2026-01-30_15:37:27-rbd-wip-rocky10-branch-of-the-day-2026-01-23-1769128778-distro-default-trial/27031/teuthology.log


Related issues 2 (0 open — 2 closed)

Related to rbd - Bug #77982: [test] pin valgrind subsuite to centos_9.stream instead of rpm_latestResolvedIlya Dryomov

Actions
Has duplicate rbd - Bug #75524: rbd:valgrind - Valgrind memcheck detects definite memory leaks in librbd Python bindings DuplicateIlya Dryomov

Actions

ID Updated by Ilya Dryomov 10 months ago Actions #1

  • Project changed from Ceph to rbd

Moving under RBD just for tracking purposes -- I don't think this has anything to do with librbd or its bindings.

ID Updated by Ilya Dryomov 9 months ago Actions #2

  • Has duplicate Bug #75524: rbd:valgrind - Valgrind memcheck detects definite memory leaks in librbd Python bindings added

ID Updated by Ilya Dryomov 5 months ago Actions #3

  • Related to Bug #77982: [test] pin valgrind subsuite to centos_9.stream instead of rpm_latest added
Actions

Also available in: PDF Atom