Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918878 - dev-qt/qtbase-6.6.1-r1: fails tst_QUuid::uint128 test on ppc64
Summary: dev-qt/qtbase-6.6.1-r1: fails tst_QUuid::uint128 test on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 914026
  Show dependency tree
 
Reported: 2023-11-29 22:52 UTC by Sam James
Modified: 2023-12-01 07:06 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,193.00 KB, application/x-xz)
2023-11-29 22:53 UTC, Sam James
Details
LastTest.log.xz (LastTest.log.xz,327.03 KB, application/x-xz)
2023-11-29 22:54 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 2023-11-29 22:52:51 UTC
FAIL!  : tst_QUuid::uint128() Compared values are not the same
   Actual   (uuid) : {d128b8c5-ee95-a43c-3644-34cc9eb569fc}
   Expected (uuidA): {fc69b59e-cc34-4436-a43c-ee95d128b8c5}
   Loc: [/var/tmp/portage/dev-qt/qtbase-6.6.1-r1/work/qtbase-everywhere-src-6.6.1/tests/auto/corelib/plugin/quuid/tst_quuid.cpp(275)]

----

# emerge --info
Portage 3.0.51 (python 3.11.5-final-0, default/linux/ppc64/17.0, gcc-13, glibc-2.37-r7, 6.1.27-gentoo-dist-hardened ppc64)
=================================================================
System uname: Linux-6.1.27-gentoo-dist-hardened-ppc64-POWER9_-architected-,_altivec_supported-with-glibc2.37
KiB Mem:    32847428 total,  10595432 free
KiB Swap:   67108860 total,  67027644 free
Timestamp of repository gentoo: Wed, 29 Nov 2023 21:32:02 +0000
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.5::gentoo, 3.12.0::gentoo
dev-lang/rust-bin:         1.69.0-r1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
CHOST="powerpc64-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 -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --jobs=4 --load-average 10 --quiet-build --keep-going --with-bdeps=y --complete-graph --deep"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install 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 -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
MAKEOPTS="-j12 -l10"
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/bash"
USE="acl big-endian bzip2 cli crypt dbus dri elogind fortran gdbm ibm iconv ipv6 ncurses nls nptl openmp pam pcre ppc64 readline seccomp split-usr ssl test-rust unicode xattr zlib" ADA_TARGET="gnat_2021" 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" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_10" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev mga r128 radeon 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, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, 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 2023-11-29 22:53:19 UTC
Created attachment 875946 [details]
build.log.xz
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-29 22:54:10 UTC
Created attachment 875947 [details]
LastTest.log.xz
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-29 23:05:58 UTC
(In reply to Sam James from comment #0)
> FAIL!  : tst_QUuid::uint128() Compared values are not the same
>    Actual   (uuid) : {d128b8c5-ee95-a43c-3644-34cc9eb569fc}
>    Expected (uuidA): {fc69b59e-cc34-4436-a43c-ee95d128b8c5}

It looks like an endianness issue, although it's weird ppc32 passed...
Comment 4 Ionen Wolkens gentoo-dev 2023-11-30 05:13:06 UTC
This test is actually new in >=qtbase-6.6.0 (6.5.3 did no uint128 checks at all in tst_quuid), I suspect 6.5.3 would've passed and that 6.6.1 "probably" fails for all BE arches now.

It's quite possible that it's the test itself that's wrong (it has some odd be/le handling that does not actually verify anything?), and is not an actual runtime problem.

wrt ppc32, I suspect the test was skipped, would need to check test logs for:

#ifdef QT_SUPPORTS_INT128
...
#else
    QSKIP("This platform has no support for 128-bit integer");
#endif
Comment 5 Larry the Git Cow gentoo-dev 2023-11-30 05:29:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c920c22b4ba6280e04ed73153ed95c406f6f305

commit 3c920c22b4ba6280e04ed73153ed95c406f6f305
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-11-30 05:21:35 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-11-30 05:28:35 +0000

    dev-qt/qtbase: skip tst_quuid for now
    
    uint128 parts for this test are new, and is likely not
    worth holding back keywording over. Unlikely to result
    in real runtime problems.
    
    Needs confirmation, but believed that this would (now) fail
    on other 64bit BE arches as well and is not ppc64be-specific.
    
    Closes: https://bugs.gentoo.org/918878
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.6.1-r1.ebuild | 3 ++-
 dev-qt/qtbase/qtbase-6.6.9999.ebuild | 3 ++-
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-01 04:27:47 UTC
(In reply to Ionen Wolkens from comment #4)
> This test is actually new in >=qtbase-6.6.0 (6.5.3 did no uint128 checks at
> all in tst_quuid), I suspect 6.5.3 would've passed and that 6.6.1 "probably"
> fails for all BE arches now.
> 
> It's quite possible that it's the test itself that's wrong (it has some odd
> be/le handling that does not actually verify anything?), and is not an
> actual runtime problem.
> 
> wrt ppc32, I suspect the test was skipped, would need to check test logs for:
> 
> #ifdef QT_SUPPORTS_INT128
> ...
> #else
>     QSKIP("This platform has no support for 128-bit integer");
> #endif

Confirmed:
15499:SKIP   : tst_QUuid::uint128() This platform has no support for 128-bit integer
15500:   Loc: [/var/tmp/portage/dev-qt/qtbase-6.6.1-r1/work/qtbase-everywhere-src-6.6.1/tests/auto/corelib/plugin/quuid/tst_quuid.cpp(293)]

I'll check on another BE platform with the skip reverted too.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-01 06:18:59 UTC
(In reply to Sam James from comment #6)
> [...]
> 
> I'll check on another BE platform with the skip reverted too.

Indeed on sparc:
# grep ^FAIL.*:  /var/tmp/portage/dev-qt/qtbase-6.6.1-r1/work/qtbase-everywhere-src-6.6.1_build/Testing/Temporary/LastTest.log -i
FAIL!  : tst_QUuid::uint128() Compared values are not the same
FAIL!  : tst_QBuffer::writeOfMoreThan2GiB() 'buffer.buffer() == QByteArrayView{input}' returned FALSE. ()
FAIL!  : tst_QtConcurrentIterateKernel::throttling() Compared values are not the same
FAIL!  : tst_QProcess::processesInMultipleThreads() 'threads[j]->wait(10000)' returned FALSE. ()
FAIL!  : tst_QProcess::processesInMultipleThreads() Received a fatal error.
Comment 8 Ionen Wolkens gentoo-dev 2023-12-01 07:06:06 UTC
Thanks for confirming, not going to worry about this new test too much.