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 767861 - make check fail in "elements/splitmux" if theora or ogg plugins are not available
make check fail in "elements/splitmux" if theora or ogg plugins are not avail...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.8.2
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-20 09:33 UTC by Lim Siew Hoon
Modified: 2016-06-21 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dbg_splitmux_sink.log.xz (168.55 KB, application/x-xz)
2016-06-20 12:24 UTC, Lim Siew Hoon
Details
dbg_splitmux_src.log.xz (138.54 KB, application/x-xz)
2016-06-20 12:24 UTC, Lim Siew Hoon
Details

Description Lim Siew Hoon 2016-06-20 09:33:49 UTC
Architecture: Centos 7 64bit & Ubuntu 14.04 64bit

===============================================================
   GStreamer Good Plug-ins 1.8.2: tests/check/test-suite.log
===============================================================

# TOTAL: 75
# PASS:  74
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: elements/splitmux
=======================

Running suite(s): splitmux
ERROR from element source: Could not open resource for reading.
Debugging info: gstsplitmuxsrc.c(691): gst_splitmux_src_start (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstSplitMuxSrc:source:
Failed to open any files for reading
ERROR from element videotestsrc0: Internal data flow error.
Debugging info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming task paused, reason not-linked (-1)
33%: Checks: 3, Failures: 2, Errors: 0
elements/splitmux.c:142:F:general:test_splitmuxsrc:0: Assertion 'GST_MESSAGE_TYPE (msg) == GST_MESSAGE_EOS' failed
elements/splitmux.c:187:F:general:test_splitmuxsink:0: Assertion 'GST_MESSAGE_TYPE (msg) == GST_MESSAGE_EOS' failed


Running:
GST_CHECKS=test_splitmuxsink GST_DEBUG=*:6 make elements/splitmux.check-norepeat 2>dbg.log

the dbg.log output:
-bash: elements/splitmux.check-norepeat: No such file or directory
Comment 1 Tim-Philipp Müller 2016-06-20 10:15:02 UTC
Are you running it from tests/check/ ?
Comment 2 Lim Siew Hoon 2016-06-20 12:24:00 UTC
Created attachment 330065 [details]
dbg_splitmux_sink.log.xz

Attached dbg_splitmux_sink.log.xz
Comment 3 Lim Siew Hoon 2016-06-20 12:24:52 UTC
Created attachment 330066 [details]
dbg_splitmux_src.log.xz

Attached dbg_splitmux_src.log.xz
Comment 4 Lim Siew Hoon 2016-06-20 12:34:03 UTC
(In reply to Lim Siew Hoon from comment #2)
> Created attachment 330065 [details]
> dbg_splitmux_sink.log.xz
> 
> Attached dbg_splitmux_sink.log.xz

Using:
GST_DEBUG=*:6 GST_CHECKS=test_splitmuxsink make elements/splitmux.check-norepeat 2>/tmp/dbg_splitmux_sink.log
Comment 5 Lim Siew Hoon 2016-06-20 12:34:30 UTC
(In reply to Lim Siew Hoon from comment #3)
> Created attachment 330066 [details]
> dbg_splitmux_src.log.xz
> 
> Attached dbg_splitmux_src.log.xz

Using:
GST_DEBUG=*:6 GST_CHECKS=test_splitmuxsrc make elements/splitmux.check-norepeat 2>/tmp/dbg_splitmux_src.log
Comment 6 Tim-Philipp Müller 2016-06-20 13:29:53 UTC
I suspect some test doesn't handle missing elements that are usually installed well. From the log:

> no such element factory "theoraenc"
> no such element factory "oggmux"
Comment 7 Lim Siew Hoon 2016-06-21 03:03:19 UTC
Oh....after install:

The libtheora reference implementation provides the standard encoder and decoder under a BSD license.
[libtheora-1.1.1.tar.bz2]

The libtheora implementation depends on the following libraries...
libogg-1.3.1
libvorbis-1.3.3
libSDL 1.2 or later for the playback example

And rebuild & install gst-plugins-base. The test is passed now.

Thank you.
Comment 8 Tim-Philipp Müller 2016-06-21 16:55:05 UTC
commit c68b7f944a907070b8d65bef3c252a1ecc6336cd
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Tue Jun 21 17:51:38 2016 +0100

    tests: splitmux: skip tests if theora or ogg plugins are not available
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767861