Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595332 - media-libs/gegl-0.3.8 fails test-image-compare test on sparc (originally everywhere)
Summary: media-libs/gegl-0.3.8 fails test-image-compare test on sparc (originally ever...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
Depends on:
Blocks: 591618
  Show dependency tree
Reported: 2016-09-28 05:20 UTC by Markus Meier
Modified: 2019-12-08 13:51 UTC (History)
4 users (show)

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

gegl.tar.bz2 (gegl.tar.bz2,37.55 KB, application/x-bzip-compressed-tar)
2016-09-28 05:22 UTC, Markus Meier

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2016-09-28 05:20:51 UTC
Not sure if this is an arm (softfloat) specific issue:

The max_diff property differs: 1.832876 instead of 1.832906. -> Comparison failed for the green channel case
FAIL test-image-compare

Portage 2.3.0 (python 2.7.10-final-0, default/linux/arm/13.0/armv5te/desktop, gcc-4.9.3, glibc-2.22-r4, 3.10.25-gentoo armv5tel)
System uname: Linux-3.10.25-gentoo-armv5tel-with-gentoo-2.2
KiB Mem:      513244 total,     40244 free
KiB Swap:    1535996 total,   1530308 free
Timestamp of repository gentoo: Sat, 17 Sep 2016 15:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 armv5tel-softfloat-linux-gnueabi [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.5.2-r1::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.4_p6-r2::gentoo, 1.5-r2::gentoo, 1.6.3-r2::gentoo, 1.7.9-r3::gentoo, 1.8.5-r5::gentoo, 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            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

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

CFLAGS="-O2 -march=armv5te -pipe"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
CXXFLAGS="-O2 -march=armv5te -pipe"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y --backtrack=3"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv5te"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 --exclude=/.git"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell ssl startup-notification svg tcpd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets xattr xcb xml xv xvid zlib" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="exynos freedreno omap" 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"
Comment 1 Markus Meier gentoo-dev 2016-09-28 05:22:09 UTC
Created attachment 448188 [details]
Comment 2 Jeroen Roovers gentoo-dev 2016-10-01 13:13:16 UTC
Same on HPPA, PPC64.
Comment 3 Sebastian Pipping gentoo-dev 2016-10-15 17:46:16 UTC
While the test does not fail for me, I have taken the issue upstream now:

Just so you know, for me test "test-serialize" is failing, that one is also known upstream now as:
Comment 4 Mart Raudsepp gentoo-dev 2017-03-21 04:41:46 UTC
Both fail for me. Could you maybe make them pass for us?
I mean - if there are no proper fixes, and it is known that it's really a test code issue, not a real problem, then the two specific tests could be sedded out from the test suite until it is solved upstream or otherwise, with possibly the bug kept open to track that, but at least we can do arch keywording/stable work without hitting this kind of stuff.
Comment 5 Mart Raudsepp gentoo-dev 2017-03-21 04:43:51 UTC
This bug being open is also what is delaying bug 591618 - it has an open non-keywordreq/stablereq bug, so architecture teams are not proceeding (and not seeing the stablereq at all with current widely used stabilization tooling). Of course they shouldn't be proceeding if this is a real issue and regression...
Comment 6 Sebastian Pipping gentoo-dev 2017-03-22 19:29:35 UTC
I hope this is a good move, here you go:

commit 5222e472b9882373b5e46adb82968f4126d0b8c6
Author: Sebastian Pipping <sping@g.o>
Date:   Wed Mar 22 20:25:12 2017 +0100

    media-libs/gegl: Disable two failing tests (bug #595332)
    Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../gegl/files/gegl-0.3.12-failing-tests.patch     | 33 ++++++++++++++++++++++
 media-libs/gegl/gegl-0.3.10.ebuild                 |  4 ++-
 media-libs/gegl/gegl-0.3.12.ebuild                 |  2 ++
 media-libs/gegl/gegl-0.3.8.ebuild                  |  4 ++-
 4 files changed, 41 insertions(+), 2 deletions(-)
Comment 7 Sebastian Pipping gentoo-dev 2017-04-10 21:14:38 UTC
Hi there!

Upstream supposes that test to be fixed and is asking for help [1] with checking latest Git HEAD.  Test "test-image-compare" passes for me but it always has, unlike you.  If you have a minute to run

  git clone
  cd gegl/
  ./ && ./configure && make all
  make check ; make -C tests/simple/ check

and report anything that's not one of the sort-of expected failures [2] that would be awesome.  Thank you!



Comment 8 Rolf Eike Beer 2017-11-21 19:59:34 UTC
When testing e1ba930bc4817b5369bb2acc57994b459bb6df48 I get this on sparc:

/root/gegl/tests/mipmap/ line 22:  5271 Bus error               GEGL_TILE_SIZE=8x8 GEGL_PATH=$abs_top_builddir/operations GEGL_USE_OPENCL=no GEGL_MIPMAP_RENDERING=1 $abs_top_builddir/bin/gegl -s 0.33 $abs_top_srcdir/tests/compositions/data/car-stack.png -o $abs_top_builddir/tests/mipmap/invert-output.png -- invert
/bin/bash /root/gegl/tests/mipmap/
/root/gegl/tests/mipmap/ line 22:  5350 Bus error               GEGL_TILE_SIZE=8x8 GEGL_PATH=$abs_top_builddir/operations GEGL_USE_OPENCL=no GEGL_MIPMAP_RENDERING=1 $abs_top_builddir/bin/gegl -s 0.33 $abs_top_srcdir/tests/compositions/data/car-stack.png -o $abs_top_builddir/tests/mipmap/invert-crop-output.png -- invert crop x=147 y=66 width=200 height=200
/bin/bash /root/gegl/tests/mipmap/
/root/gegl/tests/mipmap/ line 22:  5433 Bus error               GEGL_TILE_SIZE=8x8 GEGL_THREADS=2 GEGL_PATH=$abs_top_builddir/operations GEGL_USE_OPENCL=no GEGL_MIPMAP_RENDERING=1 $abs_top_builddir/bin/gegl -s 0.33 $abs_top_srcdir/tests/compositions/data/car-stack.png -o $abs_top_builddir/tests/mipmap/unsharp-crop-output.png -- unsharp-mask scale=10.0 crop x=147 y=66 width=200 height=200
/bin/bash /root/gegl/tests/mipmap/
/root/gegl/tests/mipmap/ line 22:  5464 Bus error               GEGL_TILE_SIZE=8x8 GEGL_PATH=$abs_top_builddir/operations GEGL_USE_OPENCL=no GEGL_MIPMAP_RENDERING=1 $abs_top_builddir/bin/gegl -s 0.33 $abs_top_srcdir/tests/compositions/data/car-stack.png -o $abs_top_builddir/tests/mipmap/unsharp-output.png -- unsharp-mask scale=10.0
/bin/bash /root/gegl/tests/mipmap/
/root/gegl/tests/mipmap/ line 22:  5547 Bus error               GEGL_TILE_SIZE=8x8 GEGL_PATH=$abs_top_builddir/operations GEGL_USE_OPENCL=no GEGL_MIPMAP_RENDERING=1 $abs_top_builddir/bin/gegl -s 0.33 $abs_top_srcdir/tests/compositions/data/car-stack.png -o $abs_top_builddir/tests/mipmap/rotate-output.png -- rotate degrees=10.0
/bin/bash /root/gegl/tests/mipmap/
/root/gegl/tests/mipmap/ line 22:  5567 Bus error               GEGL_TILE_SIZE=8x8 GEGL_PATH=$abs_top_builddir/operations GEGL_USE_OPENCL=no GEGL_MIPMAP_RENDERING=1 $abs_top_builddir/bin/gegl -s 0.33 $abs_top_srcdir/tests/compositions/data/car-stack.png -o $abs_top_builddir/tests/mipmap/rotate-crop-output.png -- rotate degrees=15.0 crop x=147 y=66 width=200 height=200
Comment 9 Pacho Ramos gentoo-dev 2018-09-27 07:41:59 UTC
are the sparc test failures still there with 0.3.34?
Comment 10 Rolf Eike Beer 2018-09-27 16:03:01 UTC
This one seems to work, I now get other failures: