File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,10 @@ jobs:
196
196
LD_LIBRARY_PATH : ${{github.workspace}}/install/lib
197
197
QPID_SYSTEM_TEST_TIMEOUT : 300
198
198
QPID_SYSTEM_TEST_SKIP_FALLBACK_SWITCHOVER_TEST : True
199
+ # the PyMalloc mechanism is incompatible with Valgrind, different mechanism must be set here
200
+ # https://docs.python.org/3/using/cmdline.html#envvar-PYTHONMALLOC
201
+ # https://pythonextensionpatterns.readthedocs.io/en/latest/debugging/debug_python.html#debug-version-of-python-memory-alloc-label
202
+ PYTHONMALLOC : malloc_debug
199
203
PYTHONTRACEMALLOC : 5
200
204
steps :
201
205
@@ -228,7 +232,10 @@ jobs:
228
232
- name : Install Python runtime/test dependencies
229
233
run : ${{matrix.python}} -m pip install tox quart selectors h2 grpcio protobuf websockets pytest
230
234
231
- - name : Install qpid-proton python wheel
235
+ - name : Replace /usr/bin/python3 with ${{matrix.python}}, for tools such as qdmanage
236
+ run : sudo ln -sf ${{matrix.python}} /usr/bin/python3
237
+
238
+ - name : Install qpid-proton python wheel (python3-dbg)
232
239
run : ${{matrix.python}} -m pip install $(find ${ProtonBuildDir}/python/ -name 'python_qpid_proton*.whl')
233
240
234
241
- name : CTest
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ leak:^PyThread_allocate_lock$
58
58
leak:^PyMem_Malloc$
59
59
leak:^PyMem_Calloc$
60
60
leak:^PyMem_Realloc$
61
+ leak:^_PyMem_RawMalloc$
62
+ leak:^_PyMem_RawRealloc$
61
63
leak:^_PyObject_GC_Resize$
62
64
# Python uses these alloc functions if you define PYTHONDEVMODE=1
63
65
leak:^_PyMem_DebugRawAlloc$
You can’t perform that action at this time.
0 commit comments