Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596388 - =media-libs/gst-plugins-bad-1.8.3 fails tests generic/states, elements/mxfmux, pipelines/mxf and libs/gstglcontext
Summary: =media-libs/gst-plugins-bad-1.8.3 fails tests generic/states, elements/mxfmux...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2016-10-07 01:21 UTC by Émeric Maschino
Modified: 2024-03-30 20:55 UTC (History)
3 users (show)

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


Attachments
build.log (build.log.bz2,36.24 KB, application/x-bzip)
2016-10-07 01:21 UTC, Émeric Maschino
Details
environment (environment,127.35 KB, text/plain)
2016-10-07 01:21 UTC, Émeric Maschino
Details
tests/check/test-suite.log (test-suite.log,2.09 KB, text/plain)
2016-10-07 01:22 UTC, Émeric Maschino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Émeric Maschino 2016-10-07 01:21:02 UTC
Created attachment 449392 [details]
build.log

Hi,

While stabilizing gnome-3.20 on ia64 platform, gst-plugins-bad-1.8.3 fails to emerge with FEATURES=test.

From build.log and tests/check/test-suite.log, the root causes range from incorrect datatype's size and expired timeout:

FAIL: generic/states
====================

Running suite(s): states_bad
33%: Checks: 3, Failures: 0, Errors: 2
/var/tmp/portage/media-libs/gst-plugins-bad-1.8.3/work/gst-plugins-bad-1.8.3/tests/check/generic/states.c:117:E:general:test_state_changes_up_and_down_seq:0: (after this point) Test timeout expired
/var/tmp/portage/media-libs/gst-plugins-bad-1.8.3/work/gst-plugins-bad-1.8.3/tests/check/generic/states.c:154:E:general:test_state_changes_up_seq:0: (after this point) Test timeout expired
FAIL generic/states (exit status: 2)

FAIL: elements/mxfmux
=====================

Running suite(s): mxfmux


Unexpected critical/warning: gst_ffmpeg_cfg_set_property: assertion 'qdata->size
 == sizeof (gint64)' failed
85%: Checks: 7, Failures: 1, Errors: 0
/var/tmp/portage/media-libs/gstreamer-1.8.3/work/gstreamer-1.8.3/libs/gst/check/gstcheck.c:79:F:general:test_mpeg2:0: Unexpected critical/warning: gst_ffmpeg_cfg_set_property: assertion 'qdata->size == sizeof (gint64)' failed
FAIL elements/mxfmux (exit status: 1)

FAIL: pipelines/mxf
===================

Running suite(s): mxf


Unexpected critical/warning: gst_ffmpeg_cfg_set_property: assertion 'qdata->size
 == sizeof (gint64)' failed
85%: Checks: 7, Failures: 1, Errors: 0
/var/tmp/portage/media-libs/gstreamer-1.8.3/work/gstreamer-1.8.3/libs/gst/check/gstcheck.c:79:F:general:test_mpeg2:0: Unexpected critical/warning: gst_ffmpeg_cfg_set_property: assertion 'qdata->size == sizeof (gint64)' failed
FAIL pipelines/mxf (exit status: 1)

FAIL: libs/gstglcontext
=======================

Running suite(s): GstGLContext
83%: Checks: 6, Failures: 0, Errors: 1
/var/tmp/portage/media-libs/gst-plugins-bad-1.8.3/work/gst-plugins-bad-1.8.3/tests/check/libs/gstglcontext.c:484:E:general:test_context_can_share:0: (after this point) Test timeout expired
FAIL libs/gstglcontext (exit status: 1)

Please let me know how I can help diagnose further.

Thanks,

     Émeric
Comment 1 Émeric Maschino 2016-10-07 01:21:51 UTC
Created attachment 449394 [details]
environment
Comment 2 Émeric Maschino 2016-10-07 01:22:18 UTC
Created attachment 449396 [details]
tests/check/test-suite.log
Comment 3 Émeric Maschino 2016-10-07 01:22:36 UTC
emerge --info output:

Portage 2.2.26 (python 3.4.3-final-0, default/linux/ia64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.22-r4, 4.1.15-gentoo-r1 ia64)
=================================================================
System uname: Linux-4.1.15-gentoo-r1-ia64-Madison-with-gentoo-2.2
KiB Mem:    24984848 total,  11800720 free
KiB Swap:     524272 total,    509456 free
Timestamp of repository gentoo: Wed, 28 Sep 2016 15:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

my_ebuilds
    location: /var/lib/layman/my_ebuilds
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=itanium2"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=itanium2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -mtune=itanium2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mtune=itanium2"
GENTOO_MIRRORS="ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvdr eds encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ia64 iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets xattr xcb xml xv xvid zlib" ALSA_CARDS="fm801" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon fbdev modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Émeric Maschino 2016-10-07 01:24:04 UTC
emerge -pqv output:

[ebuild   R   ] media-libs/gst-plugins-bad-1.8.3  USE="X bzip2 gtk introspection nls opengl {test*} -egl -gles2 (-orc) -vcd -vnc -wayland"
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-10-07 16:40:56 UTC
When I bumped this, I added CK_DEFAULT_TIMEOUT=300 which should tell check framework to timeout after 5 minutes. Are tests taking that long on your machine ? I could completely disable timeout but that sounds like a bad idea. Also if you can give a shot at MAKEOPTS=-j1 for unittests if needed.

As for the 'qdata->size == sizeof (gint64)' assertions, well, that sounds bad but it seems related to architecture. I guess 1.6.3 did not have this problem though ?
Comment 6 Émeric Maschino 2016-11-13 14:30:48 UTC
(In reply to Gilles Dartiguelongue from comment #5)
> When I bumped this, I added CK_DEFAULT_TIMEOUT=300 which should tell check
> framework to timeout after 5 minutes. Are tests taking that long on your
> machine ? I could completely disable timeout but that sounds like a bad
> idea. Also if you can give a shot at MAKEOPTS=-j1 for unittests if needed.

No, individual test runs in a few seconds or tens of seconds. Passing the whole test suite takes ~5 min. BTW, the first test to fail is generic/states, only a few seconds after tests have started. It's noteworthy that this test was also failing with 1.6.3 (more below), so CK_DEFAULT_TIMEOUT=300 isn't necessary the culprit.

MAKEOPTS=-j1 didn't help.

> As for the 'qdata->size == sizeof (gint64)' assertions, well, that sounds
> bad but it seems related to architecture. I guess 1.6.3 did not have this
> problem though ?

Correct, 1.6.3 didn't have this problem.

Only two tests were failing with 1.6.3: generic/states (for the same reason than 1.8.3) and libs/aggregator (that's now passing successfully with 1.8.3).

Here's test-suite.log for 1.6.3 for comparison:

==============================================================
   GStreamer Bad Plug-ins 1.6.3: tests/check/test-suite.log
==============================================================

# TOTAL: 40
# PASS:  38
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: generic/states
====================


(gst-plugin-scanner:29745): GLib-GObject-WARNING **: cannot register existing ty
pe 'GstRtpH265Depay'

(gst-plugin-scanner:29745): GLib-CRITICAL **: g_once_init_leave: assertion 'resu
lt != 0' failed
(gst-plugin-scanner:29745): GStreamer-CRITICAL **: gst_element_register: asserti
on 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
Running suite(s): states_bad
33%: Checks: 3, Failures: 0, Errors: 2
/var/tmp/portage/media-libs/gst-plugins-bad-1.6.3/work/gst-plugins-bad-1.6.3/tests/check/generic/states.c:154:E:general:test_state_changes_up_seq:0: (after this point) Test timeout expired
/var/tmp/portage/media-libs/gst-plugins-bad-1.6.3/work/gst-plugins-bad-1.6.3/tests/check/generic/states.c:189:E:general:test_state_changes_down_seq:0: (after this point) Test timeout expired
FAIL generic/states (exit status: 2)

FAIL: libs/aggregator
=====================

Running suite(s): GstAggregator
92%: Checks: 13, Failures: 1, Errors: 0
/var/tmp/portage/media-libs/gst-plugins-bad-1.6.3/work/gst-plugins-bad-1.6.3/tests/check/libs/aggregator.c:309:F:general:test_flushing_seek:0: Assertion '"No buffer found on aggregator.srcpad -> TIMEOUT" == NULL' failed
FAIL libs/aggregator (exit status: 1)

     Émeric
Comment 7 Mart Raudsepp gentoo-dev 2024-03-30 20:55:02 UTC
Sorry this hasn't gotten a fix back then. By now this is a very old version and
I can't reproduce this with current versions. Please file a new bug if you
still encounter issues.