Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867940 - www-apps/hugo-0.101.0: fails TestImageOperationsGoldenWebp test on arm64
Summary: www-apps/hugo-0.101.0: fails TestImageOperationsGoldenWebp test on arm64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: tastytea
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-09-02 00:49 UTC by Sam James
Modified: 2022-10-15 10:52 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,461.46 KB, application/x-xz)
2022-09-02 00:49 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-02 00:49:17 UTC
--- PASS: TestSVGError (0.13s)
Source changed "/var/tmp/portage/www-apps/hugo-0.101.0/temp/hugo-integration-test564334862/content/mybundle/index.md": WRITE
--- PASS: TestImageCache (0.34s)
=== CONT  TestImageOperationsGoldenWebp
    image_test.go:799: resulting image differs from golden: fuzzy-cirlcle_hu525d1a6cf670e85f5e8f19890241399b_26792_200x0_resize_q75_h2_box_3.webp
--- FAIL: TestImageOperationsGoldenWebp (0.36s)
=== CONT  TestImageOperationsGolden
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: giphy_hu3eafc418e52414ace6236bf1d31f82e1_52213_200x0_resize_box.gif
    image_test.go:797: expectedly differs from golden due to dithering: gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_73c19c5f80881858a85aa23cd0ca400d.png
    image_test.go:797: expectedly differs from golden due to dithering: gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_ae631e5252bb5d7b92bc766ad1a89069.png
    image_test.go:797: expectedly differs from golden due to dithering: gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_d1bbfa2629bffb90118cacce3fcfb924.png
--- PASS: TestImageOperationsGolden (86.37s)
FAIL

----
# emerge --info
Portage 3.0.34 (python 3.10.6-final-0, default/linux/arm64/17.0/desktop/plasma/systemd, gcc-12.1.1, glibc-2.35-r8, 5.15.58-gentoo-dist aarch64)
=================================================================
System uname: Linux-5.15.58-gentoo-dist-aarch64-with-glibc2.35
KiB Mem:   262955296 total, 161016312 free
KiB Swap:    9767620 total,   9750724 free
Timestamp of repository gentoo: Fri, 02 Sep 2022 00:47:01 +0000
sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.6_p2::gentoo, 3.11.0_rc1::gentoo
dev-lang/rust:             1.62.1::gentoo
dev-util/cmake:            3.24.0::gentoo
dev-util/meson:            0.63.0::gentoo
sys-apps/baselayout:       2.8-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.4::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.1.1_p20220625::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.0.9999::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --complete-graph"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/sh"
USE="X a52 aac acl acpi activities alsa arm64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvdr encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2020" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-02 00:49:44 UTC
Created attachment 802633 [details]
build.log.xz
Comment 2 tastytea 2022-09-02 04:43:21 UTC
Could reproduce on amd64. Test fails with media-libs/libwebp-1.2.4 and 1.2.3-r1, but not with 1.2.2. The only difference seems to be the size, it is 8 bytes bigger than expected.

The bundled libwebp seems to be 1.2.0[1][2]

[1] <https://github.com/bep/gowebp/blob/master/libwebp_src/ChangeLog>
[2] <https://chromium.googlesource.com/webm/libwebp/+/1.2.0/ChangeLog>
Comment 3 Larry the Git Cow gentoo-dev 2022-10-15 10:52:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0019e235ced6f5cad4dc36d1ea474070075d333a

commit 0019e235ced6f5cad4dc36d1ea474070075d333a
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2022-09-02 19:02:16 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-10-15 10:52:40 +0000

    www-apps/hugo: fix failing test with newer libwebp
    
    >=libwebp-1.2.3 creates a different image than 1.2.0 (bundled by
    upstream) in one test case. Visual inspection showed no noticeable
    difference, so the control image is patched.
    
    Closes: https://bugs.gentoo.org/867940
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-apps/hugo/Manifest            |  1 +
 www-apps/hugo/hugo-0.101.0.ebuild | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)