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 @@ -187,6 +187,10 @@ jobs:
187
187
LD_LIBRARY_PATH : ${{github.workspace}}/install/lib
188
188
QPID_SYSTEM_TEST_TIMEOUT : 300
189
189
QPID_SYSTEM_TEST_SKIP_FALLBACK_SWITCHOVER_TEST : True
190
+ # the PyMalloc mechanism is incompatible with Valgrind, different mechanism must be set here
191
+ # https://docs.python.org/3/using/cmdline.html#envvar-PYTHONMALLOC
192
+ # https://pythonextensionpatterns.readthedocs.io/en/latest/debugging/debug_python.html#debug-version-of-python-memory-alloc-label
193
+ PYTHONMALLOC : malloc_debug
190
194
PYTHONTRACEMALLOC : 5
191
195
steps :
192
196
@@ -210,7 +214,10 @@ jobs:
210
214
- name : Install Python runtime/test dependencies
211
215
run : ${{matrix.python}} -m pip install tox quart selectors h2 grpcio protobuf websockets pytest
212
216
213
- - name : Install qpid-proton python wheel
217
+ - name : Replace /usr/bin/python3 with ${{matrix.python}}, for tools such as qdmanage
218
+ run : sudo ln -sf ${{matrix.python}} /usr/bin/python3
219
+
220
+ - name : Install qpid-proton python wheel (python3-dbg)
214
221
run : ${{matrix.python}} -m pip install ${ProtonBuildDir}/python/pkgs/python_qpid_proton*.whl
215
222
216
223
- name : CTest
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ leak:^PyThread_allocate_lock$
54
54
leak:^PyMem_Malloc$
55
55
leak:^PyMem_Calloc$
56
56
leak:^PyMem_Realloc$
57
+ leak:^_PyMem_RawMalloc$
58
+ leak:^_PyMem_RawRealloc$
57
59
leak:^_PyObject_GC_Resize$
58
60
# Python uses these alloc functions if you define PYTHONDEVMODE=1
59
61
leak:^_PyMem_DebugRawAlloc$
You can’t perform that action at this time.
0 commit comments