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 752778 - playbin-complex:make check failed during unit test
playbin-complex:make check failed during unit test
Status: RESOLVED DUPLICATE of bug 773145
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.2.3
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-23 12:48 UTC by Karthik C Uppund
Modified: 2017-09-09 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
config.log (137.37 KB, text/x-log)
2015-07-24 08:58 UTC, Karthik C Uppund
Details
discoverer log (2.84 KB, text/x-log)
2015-07-24 09:07 UTC, Karthik C Uppund
Details
rtspconnection log (3.12 KB, text/x-log)
2015-07-24 09:08 UTC, Karthik C Uppund
Details
log for playbin-complex (147.49 KB, application/x-xz)
2015-07-24 09:16 UTC, Karthik C Uppund
Details

Description Karthik C Uppund 2015-07-23 12:48:31 UTC
Platform info:
OS: "Ubuntu 13.04"
Platform:Intel® Core™2 Duo CPU E7500 @ 2.93GHz × 2

Gstreamer source:
http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.2.3.tar.xz

Build steps:
./configure --prefix=/home/karthik/gstreamer_build
make
make check

I have attached the test-suite log, collected with GST_DEBUG=6
Comment 1 Tim-Philipp Müller 2015-07-23 12:56:10 UTC
Thanks for the bug report, but 1.2.3 is quite old.

Could you try a newer version such as 1.5.2 please?
Comment 2 Karthik C Uppund 2015-07-23 12:58:13 UTC
ok, I will try. Thank you.
Comment 3 Karthik C Uppund 2015-07-23 13:12:27 UTC
Hi Tim,

I downloaded 1.5.2 gstreamer core package, now i got 2 failures.

PASS: gst/gstabi
PASS: gst/gstatomicqueue
PASS: gst/gstbuffer
PASS: gst/gstbufferlist
PASS: gst/gstbufferpool
PASS: gst/gstmeta
PASS: gst/gstmemory
PASS: gst/gstbus
FAIL: gst/gstcaps
PASS: gst/gstcapsfeatures
PASS: gst/gstcpp
PASS: libs/gstlibscpp
PASS: gst/gstdatetime
PASS: gst/gstdevice
PASS: gst/gstinfo
PASS: gst/gstiterator
PASS: gst/gstmessage
PASS: gst/gstminiobject
PASS: gst/gstobject
PASS: gst/gstpad
PASS: gst/gstparamspecs
PASS: gst/gstpipeline
PASS: gst/gstpoll
PASS: gst/gstprotection
PASS: gst/gstprintf
PASS: gst/gstsegment
PASS: gst/gstsystemclock
PASS: gst/gstclock
PASS: gst/gststructure
PASS: gst/gsttag
PASS: gst/gsttagsetter
PASS: gst/gsttask
PASS: gst/gsttoc
PASS: gst/gsttocsetter
PASS: gst/gstvalue
PASS: generic/states
PASS: pipelines/simple-launch-lines
PASS: pipelines/cleanup
PASS: pipelines/parse-launch
PASS: gst/gst
PASS: gst/gstbin
PASS: gst/gstchildproxy
PASS: gst/gstcontext
PASS: gst/gstcontroller
PASS: gst/gstelement
PASS: gst/gstelementfactory
PASS: gst/gstevent
PASS: gst/gstghostpad
PASS: gst/gstplugin
PASS: gst/gstpreset
PASS: gst/gstquery
PASS: gst/gstregistry
PASS: gst/gsturi
PASS: gst/gstutils
PASS: generic/sinks
PASS: elements/capsfilter
PASS: elements/concat
PASS: elements/fakesink
PASS: elements/fakesrc
PASS: elements/fdsrc
PASS: elements/filesink
PASS: elements/filesrc
PASS: elements/funnel
PASS: elements/identity
PASS: elements/multiqueue
PASS: elements/selector
PASS: elements/tee
PASS: elements/queue
PASS: elements/queue2
PASS: elements/valve
PASS: elements/streamiddemux
PASS: libs/baseparse
PASS: libs/basesrc
PASS: libs/basesink
PASS: libs/sparsefile
PASS: libs/controller
PASS: libs/queuearray
PASS: libs/typefindhelper
PASS: pipelines/seek
PASS: pipelines/stress
PASS: pipelines/queue-error
FAIL: libs/libsabi
PASS: libs/adapter
PASS: libs/bitreader
PASS: libs/bytereader
PASS: libs/bytewriter
PASS: libs/bitreader-noinline
PASS: libs/bytereader-noinline
PASS: libs/bytewriter-noinline
PASS: libs/flowcombiner
PASS: libs/collectpads
PASS: libs/gstnetclientclock
PASS: libs/gstnettimeprovider
PASS: libs/gsttestclock
PASS: libs/transform1
PASS: libs/transform2
PASS: tools/gstinspect
make[5]: Entering directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check'
============================================================================
Testsuite summary for GStreamer 1.5.2
============================================================================
# TOTAL: 99
# PASS:  97
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/check/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests'
make: *** [check-recursive] Error 1
Comment 4 Karthik C Uppund 2015-07-23 13:13:21 UTC
Do you want me to attach test-suite log (with debug level 6)?
Comment 5 Tim-Philipp Müller 2015-07-23 13:15:59 UTC
Please attach test-suite.log without any additional debug level (so we see which checks failed), then do:

 $ cd tests/check/
 $ GST_DEBUG=*:6 make gst/gstcaps.check-norepeat 2>&1 | gzip -9 > caps.log.gz
 $ GST_DEBUG=*:6 make libs/libsabi.check-norepeat 2>&1 | gzip -9 > libsabi.log.gz
Comment 6 Vineeth 2015-07-23 13:20:03 UTC
Hi i guess these were fixed in the latest master.. the bug id's are
751622 and 751628
Comment 7 Tim-Philipp Müller 2015-07-23 13:29:22 UTC
Ah, true, had already forgotten about those, thanks Vineeth.

Karthik: so I think you can assume those two are fixed (feel free to try git master to confirm) and move on to -base.
Comment 8 Karthik C Uppund 2015-07-23 14:08:05 UTC
Hi I did git clone using following command

git clone git://anongit.freedesktop.org/gstreamer/gstreamer

will that fetch me the latest bug fixed release?

(I dont have developer git access so i checked out as anonymous)

thanks in advance.
Comment 9 Tim-Philipp Müller 2015-07-23 14:10:38 UTC
Yes, it will give you the latest and greatest.
Comment 10 Karthik C Uppund 2015-07-23 14:11:58 UTC
Thank you.
Comment 11 Karthik C Uppund 2015-07-23 14:44:59 UTC
Hi after getting latest repo from git, I tried using ./autogen.sh command to make, but it gives following error, what might be wrong?

karthik@CPU-108:~/gstreamer_sources/git/gstreamer$ ./autogen.sh 
+ check for build tools
  checking for autoreconf ... 
/usr/bin/autoreconf
  checking for pkg-config ... 
/usr/bin/pkg-config
+ checking for autogen.sh options
  This autogen script will automatically run ./configure as:
  ./configure --enable-maintainer-mode --enable-gtk-doc --enable-docbook --enable-failing-tests --enable-poisoning
  To pass any additional options, please specify them on the ./autogen.sh
  command line.
+ running autopoint --force...
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
configure.ac:1: error: Autoconf version 2.69 or higher is required
configure.ac:1: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: /usr/bin/autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63
Comment 12 Karthik C Uppund 2015-07-23 14:45:38 UTC
and there is no configure file in gstreamer folder
Comment 13 Tim-Philipp Müller 2015-07-23 14:56:34 UTC
you will need a suitably-new autoconf, automake and libtool installed.

autogen.sh will create ./configure.

You can of course do a git checkout on a more modern distro, then run ./autogen.sh there, then run make dist there and copy over the tarball to the old distro.
Comment 14 Karthik C Uppund 2015-07-24 05:55:38 UTC
I updated autoconf automake & libtool, and i was able to install gstreamer 1.5.2.1 in the following directory /home/karthik/gstreamer_build/

when I tried to run ./autogen.sh --prefix=/home/karthik/gstreamer_build/ I got the below error message.

configure: Requested 'gstreamer-1.0 >= 1.5.2.1' but version of GStreamer is 1.2.1
configure: error: no gstreamer-1.0 >= 1.5.2.1 (GStreamer) found
configure failed
Comment 15 Karthik C Uppund 2015-07-24 06:46:19 UTC
I have exported my PATH variable also accordingly (did export PATH=$PATH:/home/karthik/gstreamer_build/), still getting the same error,
Comment 16 Karthik C Uppund 2015-07-24 07:24:04 UTC
My bad I didn't update PKG_CONFIG_PATH, after updating I was able to build base, but when I ran make check I got 3 failures, discoverer,rtspconnection & playbin-complex.

Below is the test-suite log
 =================================================================
   GStreamer Base Plug-ins 1.5.2.1: tests/check/test-suite.log
=================================================================

# TOTAL: 52
# PASS:  49
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: libs/discoverer
=====================

Running suite(s): discoverer
85%: Checks: 7, Failures: 0, Errors: 1
libs/discoverer.c:68:E:general:test_disco_serializing:0: (after this point) Received signal 11 (Segmentation fault)

FAIL: libs/rtspconnection
=========================

Running suite(s): rtsp support library(rtspconnection)


Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed


Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed
71%: Checks: 7, Failures: 2, Errors: 0
gstcheck.c:79:F:general:test_rtspconnection_tunnel_setup:0: Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed
gstcheck.c:79:F:general:test_rtspconnection_tunnel_setup_post_first:0: Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed

FAIL: elements/playbin-complex
==============================

Running suite(s): playbin_complex
92%: Checks: 14, Failures: 1, Errors: 0
elements/playbin-complex.c:862:F:general:test_autoplug_decoder_sink_combination:0: 'gst_element_get_state (playbin, NULL, NULL, -1)' (0) is not equal to 'GST_STATE_CHANGE_SUCCESS' (1)

do let me know if more info is required.
Thanks.
Comment 17 Tim-Philipp Müller 2015-07-24 07:53:09 UTC
I suspect some plugins don't get built for you which the tests expect.

Could you attach your config.log file from -base please?

For discoverer test:

 $ cd tests/check
 $ make libs/discoverer.gdb
 (gdb) run
 .. wait for crash..
 (gdb) bt
 ... paste output
 (gdb) kill
 (gdb) quit

For libs/rtspconnection test:

 $ cd tests/check
 $ G_DEBUG=fatal_warnings make libs/rtspconnection.gdb
 (gdb) run
 .. wait for crash..
 (gdb) bt
 ... paste output
 (gdb) kill
 (gdb) quit

For elements/playbin-complex:

 $ cd tests/check
 $ GST_CHECKS=test_autoplug_decoder_sink_combination GST_DEBUG=*:6 make elements/playbin-complex.check-norepeat 2>dbg.log
 $ xz -9 dbg.log
 -> attach dbg.log.xz please

Thanks.
Comment 18 Karthik C Uppund 2015-07-24 08:58:47 UTC
Created attachment 308061 [details]
config.log

Attached config.log file
Comment 19 Karthik C Uppund 2015-07-24 09:07:57 UTC
Created attachment 308063 [details]
discoverer log

attached discoverer_gdb.log
Comment 20 Karthik C Uppund 2015-07-24 09:08:47 UTC
Created attachment 308064 [details]
rtspconnection log

attached rtspconnection_gdb.log
Comment 21 Karthik C Uppund 2015-07-24 09:16:20 UTC
Created attachment 308065 [details]
log for playbin-complex

Attached log file for playbin-complex
Comment 22 Karthik C Uppund 2015-07-24 10:09:03 UTC
Hi Tim,

I have attached all log files as you asked. Please look into it. Thanks a lot for your help.
Comment 23 Tim-Philipp Müller 2017-09-09 16:19:35 UTC
Thanks.

*** This bug has been marked as a duplicate of bug 773145 ***