Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285711 - dev-python/gst-python-0.10.16 fails tests
Summary: dev-python/gst-python-0.10.16 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 14:40 UTC by Patrick Lauer
Modified: 2010-03-10 05:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log with failing tests (dev-python:gst-python-0.10.16:20091217-150403.log,33.32 KB, text/plain)
2009-12-17 15:12 UTC, Bjoern Thorwirth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2009-09-20 14:40:59 UTC
>>> Test phase [check]: dev-python/gst-python-0.10.16                                                                                                                             
make -j5 -j1 check                                                                                                                                                                
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:19822): GStreamer-WARNING **: Name name is not unique in bin bin, not adding                                                                                         

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

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

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

(runtests.py:19822): GStreamer-WARNING **: Element fakesrc1 is not in bin bin
.................E..........................................................EEE...............
======================================================================                        
ERROR: testRun (test_pipeline.PipelineTags)                                                   
----------------------------------------------------------------------                        
Traceback (most recent call last):                                                            
  File "/var/tmp/portage/dev-python/gst-python-0.10.16/work/gst-python-0.10.16/testsuite/test_pipeline.py", line 79, in setUp
    self.pipeline = gst.parse_launch('audiotestsrc num-buffers=100 ! vorbisenc name=encoder ! oggmux name=muxer ! fakesink') 
GError: no element "vorbisenc"                                                                                               

======================================================================
ERROR: testGetProperties (test_interface.MixerTest)                   
----------------------------------------------------------------------
Traceback (most recent call last):                                    
  File "/var/tmp/portage/dev-python/gst-python-0.10.16/work/gst-python-0.10.16/testsuite/test_interface.py", line 62, in setUp
    assert self.mixer                                                                                                         
AssertionError                                                                                                                

======================================================================
ERROR: testGetProperty (test_interface.MixerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/gst-python-0.10.16/work/gst-python-0.10.16/testsuite/test_interface.py", line 62, in setUp
    assert self.mixer
AssertionError

======================================================================
ERROR: testGetValuesName (test_interface.MixerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/gst-python-0.10.16/work/gst-python-0.10.16/testsuite/test_interface.py", line 62, in setUp
    assert self.mixer
AssertionError

----------------------------------------------------------------------
Ran 135 tests in 11.098s

FAILED (errors=4)
make[3]: *** [check-local] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
 *
 * ERROR: dev-python/gst-python-0.10.16 failed.

Portage 2.2_rc41 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/kde/4.4/env /usr/kde/4.4/share/config /usr/kde/4.4/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mart Raudsepp gentoo-dev 2009-11-10 00:33:37 UTC
Unfortunately I haven't been able to reproduce this. Does it sometimes succeed for you or does it always fail? How many CPU cores do you have?
Comment 2 Bjoern Thorwirth 2009-12-17 15:11:37 UTC
it fails tests here, too. But this is another set of test cases. same for .17
emerge --info:
Portage 2.2_rc33 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31.6-rt19 x86_64)
=================================================================
System uname: Linux-2.6.31.6-rt19-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 16 Dec 2009 09:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/wolf31o2 /usr/portage/local/layman/science /usr/portage/local/layman/pythonhead /usr/portage/local/layman/python /usr/portage/local/layman/java-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/mozilla /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/jyujin /usr/portage/local/layman/pro-audio /usr/portage/local/local-overlay /usr/portage/local/initng-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi ada alsa amarok amd64 apache2 audiofile authdaemond avahi bash-completion berkdb bidi bindist blas bluetooth branding bzip2 cairo caps cdda cdr chm clearcase cli config_wizard consolekit cpudetection cracklib crypt css cups cxx dbus dga djvu dri dts dv dvb dvd dvdr dvdread dvi eds emacs emboss encode esd etk evo ewl extraicons extramodules fam fame fat fbcon fbcondecor fbsplash ffmpeg fftw flac flash fluidsynth foomaticdb fortran fuse gcj gd gdbm gif glitz gnome gnome-keyring gnutls gphoto2 gpm gs gsm gstreamer gtk hal hdaps iconv icq id3 ieee1394 imagemagick imap inkjar inotify ipv6 irc irda jabber jack java jfs jingle joystick jpeg kde kipi kqemu ladspa lame laptop lash latex lcd ldap libcaca libnotify libwww live lm_sensors lzo mad mail maildir matroska midi mikmod mmx mng modules mono mp3 mp4 mpeg mpi mudflap multilib musepack musicbrainz mysql nautilus ncurses network new-login nls nptl nptlonly nsplugin ntfs nv nvidia obex ogg ole openal openexr opengl openmp oss pam pascal pcmcia pcre pdf perl php pmu png povray ppds pppd pulseaudio python qt3 qt3support qt4 quicktime quotas radio rar rdesktop readline reflection reiser4 reiserfs rss ruby samba sasl scanner sdl session shout skins slp smp sms sndfile speex spell spl sql sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs tcpd test theora threads thunar tiff tk truetype tta unicode usb vcd visualization voice vorbis wavpack weather wifi winbind wma wmf wxwindows x264 xcb xfs xine xinerama xiph xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Bjoern Thorwirth 2009-12-17 15:12:18 UTC
Created attachment 213293 [details]
Build log with failing tests
Comment 4 Mart Raudsepp gentoo-dev 2010-03-10 03:00:41 UTC
For original error, it looks like the tests require gst-plugins-vorbis to be installed to succeed.
For the other reports, it appears to be an issue with localized string getting matched against non-localized hardcoded ones (the expected test results), so it fails under locales that aren't POSIX, C or en_US and have those strings matched translated.

Will think of solutions
Comment 5 Mart Raudsepp gentoo-dev 2010-03-10 05:32:01 UTC
Ok, I think I got both cases fixed now in 0.10.17+ version on Gentoo end