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 595130 - checks fail
checks fail
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other Linux
: Normal normal
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-14 07:34 UTC by Götz Waschk
Modified: 2009-09-14 08:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Götz Waschk 2009-09-14 07:34:33 UTC
This is on Mandriva Cooker with gst-python 0.10.16.2 and gstreamer 0.10.24:

Making check in common
Making check in m4
Making check in codegen
Making check in gst
Making check in extend
Making check in examples
Making check in plugin
Making check in testsuite
..................................................................
(runtests.py:21925): GStreamer-CRITICAL **: gst_message_new_structure_change: assertion `GST_PAD_DIRECTION (src) == GST_PAD_SRC' failed
E....................................
(runtests.py:21925): GStreamer-WARNING **: Name name is not unique in bin bin, not adding

(runtests.py:21925): GStreamer-WARNING **: Name name is not unique in bin bin, not adding

(runtests.py:21925): GStreamer-WARNING **: Element name is not in bin bin

(runtests.py:21925): GStreamer-WARNING **: Element name is not in bin bin
.
(runtests.py:21925): GStreamer-WARNING **: Name fakesrc10 is not unique in bin bin, not adding

(runtests.py:21925): GStreamer-WARNING **: Element fakesrc10 is not in bin bin
................................
======================================================================
ERROR: testStructureChangeMessage (test_message.TestCreateMessages)
----------------------------------------------------------------------
Traceback (most recent call last):
  • File "/home/goetz/svn/gstreamer0.10-python/BUILD/gst-python-0.10.16.2/testsuite/test_message.py", line 176 in testStructureChangeMessage
    self.assertEquals(m.type, gst.MESSAGE_STRUCTURE_CHANGE)
AttributeError: 'NoneType' object has no attribute 'type'

----------------------------------------------------------------------
Ran 136 tests in 22.572s

FAILED (errors=1)
Comment 1 Sebastian Dröge (slomo) 2009-09-14 07:59:38 UTC
This should've been fixed by the following commit. Does your gstreamer 0.10.24.2 include this already?

commit 5128a1980bcb617fac12c648f300e633918c6267
Author: Jan Schmidt <thaytan@noraisin.net>
Date:   Fri Sep 11 22:22:34 2009 +0100

    message: Disable restriction that structure changes are sink pads
    
    The structure_change message was originally emitted on source pads and
    then recently changed to be sink pads. This causes a failure in the
    gst-python testsuite. Disable the restriction so that the published
    behaviour is still allowed.


Note: for the testsuite to succeed you need to use gstreamer 0.10.24.2 or newer
Comment 2 Götz Waschk 2009-09-14 08:05:25 UTC
Yes, the 0.10.24.2 prerelease already contains this commit.
Comment 3 Sebastian Dröge (slomo) 2009-09-14 08:22:48 UTC
OK, then I guess we should close this bug. The testsuite is fine and all that, there was just a bug in core before 0.10.24.2 that made the testsuite fail.