Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gstreamer-devtools for 
openSUSE:Factory checked in at 2023-03-22 22:29:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-devtools (Old)
 and      /work/SRC/openSUSE:Factory/.gstreamer-devtools.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gstreamer-devtools"

Wed Mar 22 22:29:42 2023 rev:15 rq:1073598 version:1.22.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gstreamer-devtools/gstreamer-devtools.changes    
2023-03-01 16:23:26.221512469 +0100
+++ 
/work/SRC/openSUSE:Factory/.gstreamer-devtools.new.31432/gstreamer-devtools.changes
 2023-03-22 22:29:56.297980760 +0100
@@ -1,0 +2,15 @@
+Thu Mar  9 18:56:29 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 1.22.1:
+  + Fix gstreamer-validate-1.0 dependency name
+  + tests:
+    - Fix known issue definition location for unit tests and how we
+      handle them in validate launcher
+    - Mark elements_srtp.test_play test as flaky
+  + validate: Fix gst_validate_execute_action annotation
+  + validate-scenario:
+    - Fix g-i warning in annotation
+    - Sink refs when building
+- Rebase patch with quilt.
+
+-------------------------------------------------------------------

Old:
----
  gst-devtools-1.22.0.tar.xz

New:
----
  gst-devtools-1.22.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gstreamer-devtools.spec ++++++
--- /var/tmp/diff_new_pack.MO1UBc/_old  2023-03-22 22:29:56.737982974 +0100
+++ /var/tmp/diff_new_pack.MO1UBc/_new  2023-03-22 22:29:56.741982994 +0100
@@ -19,7 +19,7 @@
 %define _name   gst-devtools
 
 Name:           gstreamer-devtools
-Version:        1.22.0
+Version:        1.22.1
 Release:        0
 Summary:        Development and debugging tools for GStreamer
 License:        LGPL-2.1-or-later

++++++ gst-devtools-1.22.0.tar.xz -> gst-devtools-1.22.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/ChangeLog 
new/gst-devtools-1.22.1/ChangeLog
--- old/gst-devtools-1.22.0/ChangeLog   2023-01-23 20:36:20.580337000 +0100
+++ new/gst-devtools-1.22.1/ChangeLog   2023-03-04 14:48:59.086106000 +0100
@@ -1,3 +1,68 @@
+=== release 1.22.1 ===
+
+2023-03-04 13:42:32 +0000  Tim-Philipp Müller <t...@centricular.com>
+
+       * NEWS:
+       * RELEASE:
+       * gst-devtools.doap:
+       * meson.build:
+         Release 1.22.1
+
+2023-03-01 00:56:51 -0300  Thibault Saunier <tsaun...@igalia.com>
+
+       * validate/gst/validate/validate.c:
+         validate: Protect init function with a recursive mutex
+         In tests in the rust bindings we end up with 2 thread initializing
+         concurrently, and it should not be a problem, -validate should be MT
+         safe.
+         Using a recursive mutex as we might recursively init for some reason
+         and we are not on the hot path here in any case.
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4097>
+
+2023-03-01 00:43:01 -0300  Thibault Saunier <tsaun...@igalia.com>
+
+       * validate/gst/validate/gst-validate-scenario.c:
+         validate:scenario: sink refs when building
+         Scenarios are no owned by anyone, even if they are GstObjects
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4097>
+
+2023-02-15 22:06:39 -0300  Thibault Saunier <tsaun...@igalia.com>
+
+       * validate/launcher/testsuites/check.py:
+         tests: Move srtp test known issue def to the 'check' testuite
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3986>
+
+2023-02-15 22:05:53 -0300  Thibault Saunier <tsaun...@igalia.com>
+
+       * validate/launcher/baseclasses.py:
+         validate:launcher: try to bne more explicit about where to add known 
failure
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3986>
+
+2023-02-15 22:02:56 -0300  Thibault Saunier <tsaun...@igalia.com>
+
+       * validate/launcher/baseclasses.py:
+         validate:launcher: Handle known return code issue in none validate 
based tests
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3986>
+
+2023-01-28 20:02:49 +0000  Tim-Philipp Müller <t...@centricular.com>
+
+       * validate/gst/validate/gst-validate-scenario.c:
+         validate-scenario: fix g-i warning in annotation
+         gst-validate-scenario.c:2485: Warning: GstValidate: missing ":" at 
column 28:
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3842>
+
+2023-01-27 13:49:33 -0300  Thibault Saunier <tsaun...@igalia.com>
+
+       * validate/gst/validate/gst-validate-scenario.c:
+         validate: Fix gst_validate_execute_action annotation
+         The action passed in is transfer full
+         Part-of: 
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3838>
+
+2023-01-25 16:46:42 +0000  Tim-Philipp Müller <t...@centricular.com>
+
+       * meson.build:
+         Back to development
+
 === release 1.22.0 ===
 
 2023-01-23 19:29:34 +0000  Tim-Philipp Müller <t...@centricular.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/NEWS new/gst-devtools-1.22.1/NEWS
--- old/gst-devtools-1.22.0/NEWS        2023-01-23 20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/NEWS        2023-03-04 14:42:32.000000000 +0100
@@ -2,10 +2,13 @@
 
 GStreamer 1.22.0 was originally released on 23 January 2023.
 
+The latest bug-fix release in the stable 1.22 series is 1.22.1 and was
+released on 04 March 2023.
+
 See https://gstreamer.freedesktop.org/releases/1.22/ for the latest
 version of this document.
 
-Last updated: Monday 23 January 2023, 17:00 UTC (log)
+Last updated: Monday 04 March 2023, 13:00 UTC (log)
 
 Introduction
 
@@ -298,8 +301,8 @@
     -   This is enabled by setting the instant-uri property to true,
         setting the URI to switch to immediately, and then disabling the
         instant-uri property again afterwards.
--   playbin3, decodebin3, uridecodebin3, parsebin, and urisrc are no
-    longer experimental
+-   playbin3, decodebin3, uridecodebin3, parsebin, and urisourcebin are
+    no longer experimental
     -   They were originally marked as ‘technology preview’ but have
         since seen extensive usage in production settings, so are
         considered ready for general use now.
@@ -819,9 +822,9 @@
 
 New MP4 muxer + Fragmented MP4 muxer
 
--   fmp4mux: New fragmented MP4/ISOBMFF/CMAF muxer for generating
-    e.g. DASH/HLS media fragments.
--   isomp4mux: New non-fragmented, normal MP4 muxer.
+-   isofmp4mux, cmafmux, dashmp4mux, onviffmp4mux: New fragmented
+    MP4/ISOBMFF/CMAF muxer for generating e.g. DASH/HLS media fragments.
+-   isomp4mux, onvifmp4mux: New non-fragmented, normal MP4 muxer.
 
 Both plugins provides elements that replace the existing qtmux/mp4mux
 element from gst-plugins-good. While not feature-equivalent yet, the new
@@ -1217,6 +1220,240 @@
 
 1.22.0 was originally released on 23 January 2023.
 
+1.22.1
+
+The first 1.22 bug-fix release (1.22.1) was released on 04 March 2023.
+
+This release only contains bugfixes and it should be safe to update from
+1.22.0.
+
+Highlighted bugfixes in 1.22.1
+
+-   audio channel-mix: allow up to 64 channels (instead of up to 63
+    channels)
+-   avfvideosrc: Don’t wait on main thread for permissions request
+-   avvidenc: avoid generating inaccurate output timestamps, especially
+    with variable framerate streams
+-   AV1 video codec caps signalling improvements in various elements
+-   codectimestamper: Fix timestamping on sequence update
+-   d3d11overlaycompositor: fix texture width and height
+-   d3d11videosink: Fix rendering on external handle
+-   dashdemux2: fix seek operation taking a log time to finish for some
+    streams
+-   nvencoder: Fix B-frame encoding on Linux and min buffers in auto GPU
+    mode
+-   playbin3: fixing buffering for live pipelines
+-   playbin: fix potential deadlock when stopping stream with subtitles
+    visible
+-   redenc: fix setting of extension ID for twcc
+-   rtspsrc: improved compatibility with more broken RTSP servers
+-   v4l2h264dec: Fix Raspberry Pi4 will not play video in application
+-   vtdec: fix jittery playback of H.264 Level 4.1 movies in macOS
+-   vtdec: Fix non-deterministic frame output after flushing seeks
+-   vtenc: fix handling of interlaced ProRes on Apple M1 hardware
+-   vtenc: don’t advertise ARGB/RGBA64 input caps on M1 Pro/Max with
+    macOS <13
+-   wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
+-   tools: better handling of non-ASCII command line arguments on
+    Windows
+-   gst-libav: fix build against newer ffmpeg versions
+-   gst-python: Use arch-specific install dir for gi overrides
+-   cerbero: Fix setuptools site.py breakage in Python 3.11
+-   macOS packages: Fix broken binaries on macos < 11.0
+-   various bug fixes, memory leak fixes, and other stability and
+    reliability improvements
+
+gstreamer
+
+-   buffer: fix copy meta reference debug log formatting
+-   bin: Don’t unlock unlocked mutex in gst_bin_remove_func()
+-   pad: Don’t leak user_data in gst_pad_start_task()
+-   aggregator: Always lock aggpad around update_time_level
+-   inputselector: Avoid potential deadlock when shutting down,
+    e.g. playbin with subtitles
+-   multiqueue: Handle use-interleave latency live pipelines, fixing
+    buffering for live pipelines in playbin3
+-   GstBaseSrc: fix transfer annotation for fixate() virtual method
+-   GstBaseSrc, GstPushSrc: add nullable annotations to virtual methods
+-   tools: Make sure UTF-8 encoded command line arguments on Windows
+
+gst-plugins-base
+
+-   alsasink: Fix stall when going from PLAYING to NULL (stucked at
+    PAUSED) with uac1 gadget
+-   appsrc: Don’t chain up BaseSrc::negotiate()
+-   audio: channel-mix: Fix channel count limit to be able to equal 64
+-   gldisplay: Mark gst_gl_display_create_context() other_context
+    parameter as nullable
+-   gldisplay: Remove unused code
+-   gstglwindow_x11.c: Fix colormap leak
+-   gl/cocoa: Return a strong ref to the parent GstGLContext
+-   rtspconnection: Annotate RTSP message and RTSP events parameters
+    correctly
+-   sdp, typefind: Fix some annotations
+-   sdp: gstmikey: gst_mikey_message_to_caps: extract ROC from first
+    crypto session
+-   subparse: Properly forward segment seqnum
+-   uridecodebin: Set source element to READY before querying it
+-   uritranscodebin: Fix unref of NULL
+-   gst-play-1.0: Don’t force accurate seeking
+
+gst-plugins-good
+
+-   adaptivedemux2: Fix buffering threshold initialization
+-   dashdemux2: the seek operation takes a log time to finish for some
+    streams
+-   glvideomixer: Keep a reference to the underlying pad
+-   qtdemux: Don’t emit GstSegment correcting start time when in MSE
+    mode
+-   qtdemux: Handle moov atom length=0 case by reading until the end
+-   qtdemux, qtmux: Drop av1C version 0 parsing and implement version 1
+    parsing/writing
+-   qtmux: Fix assertion on caps update
+-   redenc: fix setting of extension ID for twcc
+-   rtspsrc: Use the correct vfunc for the push-backchannel-sample
+    action signal
+-   rtpssrcdemux: set different stream-id on each src pad
+-   udpsrc: GstSocketTimestampMessage only for SCM_TIMESTAMPNS
+-   v4l2h264dec: Fix Raspberry Pi4 will not play video in application
+
+gst-plugins-bad
+
+-   aom: Include stream-format and alignment in the AV1 caps
+-   av1parser, h265parser: Fix some code defects
+-   av1parser: Don’t consider unknown metadata OBUs a bitstream error
+-   avfvideosrc: Don’t wait on main thread for permissions request
+-   ccconverter: don’t debug a potentially freed filter caps
+-   codectimestamper: Fix timestamping on sequence update
+-   codecparsers: {h264, h265}bitwriter: Remove redundant condition
+    checks
+-   codecs: decoders: fail early if no input caps have been provided for
+    all new decoder base classes
+-   closedcaption: Don’t leak caps event
+-   curlhttpsrc: Add curl anyauth option
+-   d3d11overlaycompositor: fix texture width and height
+-   d3d11videosink: Fix rendering on external handle
+-   h265parse: Always set profile on src caps
+-   msdkav1enc: fix the category for msdkav1enc debug
+-   nvcodec: improve error reporting on plugin init
+-   nvencoder: Fix b-frame encoding on Linux
+-   nvencoder: Fix min buffers parameter of allocation query in auto GPU
+    mode
+-   nvvp9dec: Fix return value
+-   qsvav1enc, amfav1enc: Set stream-format on caps
+-   vtdec: Jittery playback of H.264 Level 4.1 movies in macOS (both
+    x86_64 and arm64)
+-   vtdec: Fix DPB size calculations not taking values from SPS into
+    account
+-   vtdec: Fix not waiting for async frames when flushing
+-   vtenc: Disable ARGB/RGBA64 caps on M1 Pro/Max with macOS <13
+-   vtenc: Fix checking for certain CPU variants when running in VMs
+-   vtenc: Disable HW acceleration for interlaced ProRes
+-   va: Avoid the array index overflow when filling 8x8 scaling list.
+-   va: Fix some code defects
+-   vah265enc: Use helper to update properties.
+-   vulkan: memory: Flush non coherent memory after write.
+-   wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
+-   webrtcbin: small stats improvements
+-   win32ipcutils: Add missing include
+-   wpe: Logging fixes for the WebExtension
+
+gst-plugins-ugly
+
+-   mpegpsdemux: Ignore DTS if PTS < DTS
+
+gst-libav
+
+-   avauddec, avviddec: Free packet side data after usage
+-   avviddec: change
+    AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS to fix build
+    against newer ffmpeg versions
+-   Memory leak in ’ av_packet_add_side_data’ in
+    /lib/x86_64-linux-gnu/libavcodec.so reading the file
+    clock_odd_size_RLE_g1597902.avi
+-   avvidenc: Don’t take ffmpeg timestamps verbatim but only use them to
+    calculate DTS
+
+gst-rtsp-server
+
+-   No changes
+
+gstreamer-vaapi
+
+-   vaapi: Skip plugin pc file for shared plugins
+
+gstreamer-sharp
+
+-   No changes
+
+gst-omx
+
+-   No changes
+
+gst-python
+
+-   gst-python: Use arch-specific install dir for gi overrides
+
+gst-editing-services
+
+-   No changes
+
+gst-validate + gst-integration-testsuites
+
+-   validate:scenario: sink refs when building
+-   tests: Fix known issue definition location for unit tests and how we
+    handle them in validate launcher
+-   tests: mark elements_srtp.test_play test as flaky
+-   Fix gstreamer-validate-1.0 dependency name
+-   validate-scenario: fix g-i warning in annotation
+-   validate: Fix gst_validate_execute_action annotation
+
+gst-examples
+
+-   webrtc examples: Use webrtc.gstreamer.net
+-   webrtc_sendrecv.py: Various fixes
+
+Development build environment
+
+-   gst-env: Handle installing python modules to dist-packages
+-   meson: Allow sysdeps to be forced as fallback subprojects
+-   meson: Switch dav1d wrap to a tarball and update to dav1d 1.1.0
+
+Cerbero build tool and packaging changes in 1.22.1
+
+-   macos: Fix broken binaries on macos < 11.0
+-   orc: Update pthread_jit_write_protect fix for macOS/iOS
+-   dav1d: Update to 1.1.0
+-   libsrtp: update to v2.5.0
+-   rustup: Update to 1.25.2
+-   rust: Update to 1.67; cargo-c to 0.9.16
+-   cerbero: Don’t error out if bindir already exists
+-   Fix setuptools site.py breakage in Python 3.11, bump
+    gobject-introspection, bump windows image
+-   cerbero: Retry if cargo update fails on macOS
+-   gst-plugins-rs: Build glib/gio bindings with 2.74 API support
+
+Contributors to 1.22.1
+
+Alessandro Bono, Arun Raghavan, Bart Van Severen, Carlos Falgueras
+García, Célestin Marot, David Svensson Fors, Edward Hervey, Enrique
+Ocaña González, Frank Dana, Guillaume Desmottes, He Junyan, James
+Hilliard, Jan Alexander Steffens (heftig), Jan Schmidt, Jordan Petridis,
+Mathieu Duponchelle, Matthew Waters, medithe, Mengkejiergeli Ba, Nicolas
+Beland, Nirbheek Chauhan, Patricia Muscalu, Pawel Stawicki, Philippe
+Normand, Piotr Brzeziński, Rajneesh Soni, Robert Rosengren, Sanchayan
+Maity, Sebastian Dröge, Seungha Yang, Simon Himmelbauer, Thibault
+Saunier, Tim-Philipp Müller, Tristan van Berkom, U. Artie Eoff, Víctor
+Manuel Jáquez Leal, Vivia Nikolaidou, Xuchen Yang, Yinhang Liu,
+
+… and many others who have contributed bug reports, translations, sent
+suggestions or helped testing. Thank you all!
+
+List of merge requests and issues fixed in 1.22.1
+
+-   List of Merge Requests applied in 1.22.1
+-   List of Issues fixed in 1.22.1
+
 Schedule for 1.24
 
 Our next major feature release will be 1.24, and 1.23 will be the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/RELEASE 
new/gst-devtools-1.22.1/RELEASE
--- old/gst-devtools-1.22.0/RELEASE     2023-01-23 20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/RELEASE     2023-03-04 14:42:32.000000000 +0100
@@ -1,4 +1,4 @@
-This is GStreamer gst-devtools 1.22.0.
+This is GStreamer gst-devtools 1.22.1.
 
 The GStreamer team is thrilled to announce a new major feature release
 of your favourite cross-platform multimedia framework!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/gst-devtools.doap 
new/gst-devtools-1.22.1/gst-devtools.doap
--- old/gst-devtools-1.22.0/gst-devtools.doap   2023-01-23 20:29:34.000000000 
+0100
+++ new/gst-devtools-1.22.1/gst-devtools.doap   2023-03-04 14:42:32.000000000 
+0100
@@ -55,6 +55,16 @@
 
  <release>
   <Version>
+   <revision>1.22.1</revision>
+   <branch>1.22</branch>
+   <name></name>
+   <created>2023-03-04</created>
+   <file-release 
rdf:resource="https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.22.1.tar.xz";
 />
+  </Version>
+ </release>
+
+ <release>
+  <Version>
    <revision>1.22.0</revision>
    <branch>main</branch>
    <name></name>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/meson.build 
new/gst-devtools-1.22.1/meson.build
--- old/gst-devtools-1.22.0/meson.build 2023-01-23 20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/meson.build 2023-03-04 14:42:32.000000000 +0100
@@ -1,5 +1,5 @@
 project('gst-devtools', 'c',
-  version : '1.22.0',
+  version : '1.22.1',
   meson_version : '>= 0.62',
   default_options : [ 'warning_level=1',
                       'c_std=gnu99',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gst-devtools-1.22.0/validate/gst/validate/gst-validate-scenario.c 
new/gst-devtools-1.22.1/validate/gst/validate/gst-validate-scenario.c
--- old/gst-devtools-1.22.0/validate/gst/validate/gst-validate-scenario.c       
2023-01-23 20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/validate/gst/validate/gst-validate-scenario.c       
2023-03-04 14:42:32.000000000 +0100
@@ -2479,6 +2479,13 @@
 }
 
 
+/**
+ * gst_validate_execute_action:
+ * @action_type: The #GstValidateActionType to execute
+ * @action: (transfer full): The #GstValidateAction to execute
+ *
+ * Executes @action
+ */
 GstValidateExecuteActionReturn
 gst_validate_execute_action (GstValidateActionType * action_type,
     GstValidateAction * action)
@@ -5285,6 +5292,8 @@
       g_object_new (GST_TYPE_VALIDATE_SCENARIO, "validate-runner",
       runner, NULL);
 
+  g_object_ref_sink (scenario);
+
   if (structures) {
     gboolean is_config;
     gst_validate_scenario_load_structures (scenario, structures, &is_config,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/validate/gst/validate/validate.c 
new/gst-devtools-1.22.1/validate/gst/validate/validate.c
--- old/gst-devtools-1.22.0/validate/gst/validate/validate.c    2023-01-23 
20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/validate/gst/validate/validate.c    2023-03-04 
14:42:32.000000000 +0100
@@ -55,6 +55,8 @@
 static GMutex _gst_validate_registry_mutex;
 static GstRegistry *_gst_validate_registry_default = NULL;
 
+static GRecMutex init_lock = { 0, };
+
 G_LOCK_DEFINE_STATIC (all_configs_lock);
 static GList *all_configs = NULL;
 static gboolean got_configs = FALSE;
@@ -469,7 +471,9 @@
 void
 gst_validate_init (void)
 {
+  g_rec_mutex_lock (&init_lock);
   if (validate_initialized) {
+    g_rec_mutex_unlock (&init_lock);
     return;
   }
   gst_validate_init_debug ();
@@ -493,6 +497,7 @@
   gst_validate_flow_init ();
   gst_validate_init_plugins ();
   gst_validate_init_runner ();
+  g_rec_mutex_unlock (&init_lock);
 }
 
 void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gst-devtools-1.22.0/validate/launcher/baseclasses.py 
new/gst-devtools-1.22.1/validate/launcher/baseclasses.py
--- old/gst-devtools-1.22.0/validate/launcher/baseclasses.py    2023-01-23 
20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/validate/launcher/baseclasses.py    2023-03-04 
14:42:32.000000000 +0100
@@ -349,7 +349,7 @@
             info = ""
 
         info += "\n\n**You can mark the issues as 'known' by adding the " \
-            + " following lines to the list of known issues**\n" \
+            + f" following lines to the list of known issues of the testsuite 
called \"{self.classname.split('.')[0]}\"**\n" \
             + "\n\n``` python\n%s\n```" % (self.generate_expected_issues())
 
         if self.options.redirect_logs:
@@ -389,6 +389,13 @@
         if result not in [Result.PASSED, Result.NOT_RUN, Result.SKIPPED]:
             self.add_known_issue_information()
 
+    def expected_return_codes(self):
+        res = []
+        for issue in self.expected_issues:
+            if 'returncode' in issue:
+                res.append(issue['returncode'])
+        return res
+
     def check_results(self):
         if self.result is Result.FAILED or self.result is Result.TIMEOUT:
             return
@@ -397,6 +404,10 @@
         if self.options.rr and self.process.returncode == -signal.SIGPIPE:
             self.set_result(Result.SKIPPED, "SIGPIPE received under `rr`, 
known issue.")
         elif self.process.returncode == 0:
+            for issue in self.expected_issues:
+                if issue['returncode'] != 0 and not issue.get("sometimes", 
False):
+                    self.set_result(Result.ERROR, "Expected return code %d" % 
issue['returncode'])
+                    return
             self.set_result(Result.PASSED)
         elif self.process.returncode in EXITING_SIGNALS:
             self.add_stack_trace_to_logfile()
@@ -405,6 +416,8 @@
                                 EXITING_SIGNALS[self.process.returncode]))
         elif self.process.returncode == VALGRIND_ERROR_CODE:
             self.set_result(Result.FAILED, "Valgrind reported errors")
+        elif self.process.returncode in self.expected_return_codes():
+            self.set_result(Result.KNOWN_ERROR)
         else:
             self.set_result(Result.FAILED,
                             "Application returned %d" % 
(self.process.returncode))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gst-devtools-1.22.0/validate/launcher/testsuites/check.py 
new/gst-devtools-1.22.1/validate/launcher/testsuites/check.py
--- old/gst-devtools-1.22.0/validate/launcher/testsuites/check.py       
2023-01-23 20:29:34.000000000 +0100
+++ new/gst-devtools-1.22.1/validate/launcher/testsuites/check.py       
2023-03-04 14:42:32.000000000 +0100
@@ -215,6 +215,17 @@
             },
         ],
     },
+    "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1777": {
+        "tests": [
+            "check.gst-plugins-bad.elements_srtp.test_play.*"
+        ],
+        "issues": [
+            {
+                'returncode': 1,
+                'sometimes': True,
+            },
+        ],
+    },
 }
 
 

++++++ reduce-required-meson.patch ++++++
--- /var/tmp/diff_new_pack.MO1UBc/_old  2023-03-22 22:29:57.057984584 +0100
+++ /var/tmp/diff_new_pack.MO1UBc/_new  2023-03-22 22:29:57.061984604 +0100
@@ -4,7 +4,7 @@
 +++ gstreamer-1.22.0/meson.build
 @@ -1,6 +1,6 @@
  project('gst-devtools', 'c',
-   version : '1.22.0',
+   version : '1.22.1',
 -  meson_version : '>= 0.62',
 +  meson_version : '>= 0.61',
    default_options : [ 'warning_level=1',

Reply via email to