After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796608 - gst-validate-launcher: --forever does not stop on some errors
gst-validate-launcher: --forever does not stop on some errors
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other Linux
: Normal blocker
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-06-16 20:00 UTC by Alicia Boya García
Modified: 2018-06-17 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alicia Boya García 2018-06-16 20:00:26 UTC
gst-validate-launcher --forever is not stopping in timeouts, segfaults or sudden exits, which makes it less than useful to debug these issues (moreso because by the time you know the test exited a retry has started and the logs have been destroyed in consequence).

Example output:

$ GST_DEBUG=dashdemux:DEBUG,adaptivedemux:DEBUG,qtdemux:TRACE,basesink:DEBUG,videodecoder:DEBUG gst-validate-launcher --timeout-factor 4 -m adaptive.dash.playback.trick_mode_seeks.BBCRD_ondemand_testcard_1_client_manifest-events --forever
Setting up GstValidate Adaptive Streaming test-vectors tests

[...]

===================
Running iteration 1
===================
===================                                                                                      
Running iteration 2
===================
adaptive.dash.playback.trick_mode_seeks.BBCRD_ondemand_testcard_1_client_manifest-events: Failed 'Application returned 18'
       You can reproduce with: 'GST_VALIDATE_OVERRIDE='/home/ntrrgc/gst-validate/gst-integration-testsuites/medias/adaptivecontent/BBCRD_ondemand_testcard_1_client_manifest-events.override' DISPLAY=':0' GST_GL_XINITTHREADS='1' GST_VALIDATE_SCENARIO='trick_mode_seeks' GST_VALIDATE_SCENARIOS_PATH='/home/ntrrgc/Apps/gst-build/prefix/share/gstreamer-1.0/validate/scenarios:/home/ntrrgc/Apps/gst-build/subprojects/gst-devtools/validate/data/scenarios' /home/ntrrgc/Apps/gst-build/build/subprojects/gst-devtools/validate/tools/gst-validate-1.0 playbin uri=http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-events.mpd audio-sink=fakesink sync=true video-sink=fakesink sync=true qos=true max-lateness=20000000 --set-media-info /home/ntrrgc/gst-validate/gst-integration-testsuites/medias/adaptivecontent/BBCRD_ondemand_testcard_1_client_manifest-events.stream_info'
    Logs:
         - /home/ntrrgc/gst-validate/logs/adaptive/dash/playback/trick_mode_seeks/BBCRD_ondemand_testcard_1_client_manifest-events
         - /home/ntrrgc/gst-validate/logs/adaptive/dash/playback/trick_mode_seeks/BBCRD_ondemand_testcard_1_client_manifest-events.gstdebug

===================
Running iteration 3
===================
[...]
====================                                                                                     
Running iteration 14
====================
adaptive.dash.playback.trick_mode_seeks.BBCRD_ondemand_testcard_1_client_manifest-events: Timeout 'Application timed out: 120.0 secs'
       You can reproduce with: 'GST_VALIDATE_OVERRIDE='/home/ntrrgc/gst-validate/gst-integration-testsuites/medias/adaptivecontent/BBCRD_ondemand_testcard_1_client_manifest-events.override' DISPLAY=':0' GST_GL_XINITTHREADS='1' GST_VALIDATE_SCENARIO='trick_mode_seeks' GST_VALIDATE_SCENARIOS_PATH='/home/ntrrgc/Apps/gst-build/prefix/share/gstreamer-1.0/validate/scenarios:/home/ntrrgc/Apps/gst-build/subprojects/gst-devtools/validate/data/scenarios' /home/ntrrgc/Apps/gst-build/build/subprojects/gst-devtools/validate/tools/gst-validate-1.0 playbin uri=http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-events.mpd audio-sink=fakesink sync=true video-sink=fakesink sync=true qos=true max-lateness=20000000 --set-media-info /home/ntrrgc/gst-validate/gst-integration-testsuites/medias/adaptivecontent/BBCRD_ondemand_testcard_1_client_manifest-events.stream_info'
    Logs:
         - /home/ntrrgc/gst-validate/logs/adaptive/dash/playback/trick_mode_seeks/BBCRD_ondemand_testcard_1_client_manifest-events
         - /home/ntrrgc/gst-validate/logs/adaptive/dash/playback/trick_mode_seeks/BBCRD_ondemand_testcard_1_client_manifest-events.gstdebug

====================
Running iteration 15
====================
====================                                                                                     
Running iteration 16
====================
====================                                                                                     
Running iteration 17
====================
adaptive.dash.playback.trick_mode_seeks.BBCRD_ondemand_testcard_1_client_manifest-events: Failed 'Application segfaulted'
       You can reproduce with: 'GST_VALIDATE_OVERRIDE='/home/ntrrgc/gst-validate/gst-integration-testsuites/medias/adaptivecontent/BBCRD_ondemand_testcard_1_client_manifest-events.override' DISPLAY=':0' GST_GL_XINITTHREADS='1' GST_VALIDATE_SCENARIO='trick_mode_seeks' GST_VALIDATE_SCENARIOS_PATH='/home/ntrrgc/Apps/gst-build/prefix/share/gstreamer-1.0/validate/scenarios:/home/ntrrgc/Apps/gst-build/subprojects/gst-devtools/validate/data/scenarios' /home/ntrrgc/Apps/gst-build/build/subprojects/gst-devtools/validate/tools/gst-validate-1.0 playbin uri=http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-events.mpd audio-sink=fakesink sync=true video-sink=fakesink sync=true qos=true max-lateness=20000000 --set-media-info /home/ntrrgc/gst-validate/gst-integration-testsuites/medias/adaptivecontent/BBCRD_ondemand_testcard_1_client_manifest-events.stream_info'
    Logs:
         - /home/ntrrgc/gst-validate/logs/adaptive/dash/playback/trick_mode_seeks/BBCRD_ondemand_testcard_1_client_manifest-events
         - /home/ntrrgc/gst-validate/logs/adaptive/dash/playback/trick_mode_seeks/BBCRD_ondemand_testcard_1_client_manifest-events.gstdebug

====================
Running iteration 18
====================
====================                                                                                     
Running iteration 19
====================
====================                                                                                     
Running iteration 20
====================
Comment 1 Thibault Saunier 2018-06-16 21:00:15 UTC
Oops, sounds like a regression.
Comment 2 Thibault Saunier 2018-06-17 12:47:10 UTC
commit acb3a276c8e30d26f0af78ebf593035ff486e9fb (HEAD -> master, origin/master, origin/HEAD)
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Sun Jun 17 08:34:09 2018 -0400

    validate:launcher: Fix the --forever switch

    It was not stopping on error.

    https://bugzilla.gnome.org/show_bug.cgi?id=796608