python: Add a suppression file for a leak in PyGObject
authorThibault Saunier <tsaunier@igalia.com>
Tue, 29 Mar 2022 16:43:56 +0000 (18:43 +0200)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 29 Mar 2022 17:16:58 +0000 (19:16 +0200)
And ensure that the CI runs GES valgrind test when we change the
overrides as many GES tests are implemented in python

Proper fix is at: https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/204

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2060>

.gitlab-ci.yml
subprojects/gst-python/testsuite/python.supp

index 0d6e3c5f7ae28b21e3ba89f07d8e7199aed72460..5569d53049884d3b59f51aef064ea92e89c0e74c 100644 (file)
@@ -683,6 +683,7 @@ valgrind ges:
       - subprojects/gst-plugins-good/**/*
       - subprojects/gst-plugins-bad/**/*
       - subprojects/gst-editing-services/**/*
+      - subprojects/gst-python/**/*
 
 # ---- Integration ----- #
 
index 556a69a48c5948e8a3b8ba72e9212682ee56420f..1b6eba79e4cd836515ffd01cf102eeb81807dfde 100644 (file)
    Memcheck:Cond
    fun:PyUnicode_Decode
 }
+
+{
+   https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/204
+   Memcheck:Leak
+   match-leak-kinds: definite
+   fun:calloc
+   fun:g_malloc0
+   obj:*site-packages/gi/_gi*.so*
+   ...
+}