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 784247 - color-reduction.xml test fails on Mageia x86-64 v6.
color-reduction.xml test fails on Mageia x86-64 v6.
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2017-06-27 13:13 UTC by Shlomi Fish
Modified: 2017-06-27 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
resultant .png file per pippin's request (305.30 KB, image/png)
2017-06-27 13:52 UTC, Shlomi Fish
Details

Description Shlomi Fish 2017-06-27 13:13:37 UTC
The color-reduction.xml test fails on Mageia Linux x86-64 v6. I applied this patch to the git master which should not make a difference (but should be applied to the repo in general): https://bug781340.bugzilla-attachments.gnome.org/attachment.cgi?id=351311 . I'm on this commit:

shlomif[gimp]:$base/gegl/git/gegl$ git show | head -5
commit f9e2740cd4bed994d8050bc2825c1a851ed87638
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Fri Jun 23 14:46:36 2017 +0200

    map-relative: update reference-hash
shlomif[gimp]:$base/gegl/git/gegl$

Here is the test output:

/usr/bin/python ./run-compositions.py --without-opencl \
  --build-dir=../.. --src-dir=../.. --xml-dir=. \
  color-reduction.xml rgbe-load.xml rgbe-save.xml shift.xml stretch-contrast-hsv
.xml pnm-raw-load.xml pnm-ascii-load.xml jpg-load-datauri.xml tiff-load.xml tile
.xml jp2-load.xml
gegl-xml (param_set dither-method): enum GeglDitherMethod has no value 'resilie$
t'
raster md5s differ: d16242c8b534bfb8c09539f692a00a1e vs 086843097d753edffd6618f$
f2a33a03
/home/shlomif/Download/unpack/graphics/gimp/gegl/git/gegl/tests/compositions/re$
erence/color-reduction.png and /home/shlomif/Download/unpack/graphics/gimp/gegl$
git/gegl/tests/compositions/output/color-reduction.png differ
  wrong pixels   : 169218/196608 (86.07%)
  max ?e         : 78.109
  avg ?e (wrong) : 12.523(wrong) 10.779(total)
FAIL color-reduction.xml
/home/shlomif/Download/unpack/graphics/gimp/gegl/git/gegl/tests/compositions/re$
erence/rgbe-load.png and /home/shlomif/Download/unpack/graphics/gimp/gegl/git/g$
gl/tests/compositions/output/rgbe-load.png are identical
PASS rgbe-load.xml
Comment 1 Øyvind Kolås (pippin) 2017-06-27 13:19:08 UTC
Could you attach the file git/gegl/tests/compositions/output/color-reduction.png to the bug report, making it possible to figure out how the rendred result of color-reduction is wrong?
Comment 2 Shlomi Fish 2017-06-27 13:52:21 UTC
Created attachment 354572 [details]
resultant .png file per pippin's request

resultant .png file per pippin's request
Comment 3 Øyvind Kolås (pippin) 2017-06-27 14:27:44 UTC
commit 09d9655beb7f8032c6df1ed113ba374ffc698b4b
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Tue Jun 27 16:26:15 2017 +0200

    tests: update color-reduction test due to enum changes
    
    Likely fixing bug #784247
Comment 4 Shlomi Fish 2017-06-27 14:42:25 UTC
(In reply to Øyvind Kolås (pippin) from comment #3)
> commit 09d9655beb7f8032c6df1ed113ba374ffc698b4b
> Author: Øyvind Kolås <pippin@gimp.org>
> Date:   Tue Jun 27 16:26:15 2017 +0200
> 
>     tests: update color-reduction test due to enum changes
>     
>     Likely fixing bug #784247

Thanks! Seems fixed here - PASS color-reduction.xml . I now am getting a different failure later, but that is for a new bug. RESOLVEing.