Created attachment 870329 [details] build.log.xz Total Test time (real) = 624.28 sec The following tests FAILED: 50 - tst_qbuffer (Failed) 71 - tst_qprocess (Failed) 88 - tst_qpluginloader (Failed) 207 - tst_qtconcurrentiteratekernel (Failed) 211 - tst_qtconcurrentrun (Failed) 244 - tst_qimagereader (Failed) 249 - tst_qimagewriter (Failed) 340 - tst_qfiledialog2 (Failed) 446 - tst_qobjectrace (Failed) Errors while running CTest Output from these tests are in: /var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2_build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. ---- # emerge --info Portage 3.0.49 (python 3.11.5-final-0, default/linux/sparc/17.0/64ul/systemd/merged-usr, gcc-13, glibc-2.38-r1, 6.1.50 sparc64) ================================================================= System uname: Linux-6.1.50-sparc64-sun4v-with-glibc2.38 KiB Mem: 531345984 total, 447521408 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 12 Sep 2023 02:46:41 +0000 sh bash 5.2_p15-r6 ld GNU ld (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r6::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.5::gentoo, 3.12.0_rc2_p1-r1::gentoo dev-util/cmake: 3.27.1::gentoo dev-util/meson: 1.2.1-r1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 254.3::gentoo sys-devel/autoconf: 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo sys-devel/gcc: 10.5.0::gentoo, 11.4.1_p20230907::gentoo, 12.3.1_p20230825::gentoo, 13.2.1_p20230826::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r1::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-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="sparc ~sparc" ACCEPT_LICENSE="@FREE" CBUILD="sparc64-unknown-linux-gnu" CFLAGS="-O2 -mcpu=niagara4 -pipe" CHOST="sparc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /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" CXXFLAGS="-O2 -mcpu=niagara4 -pipe" DISTDIR="/var/cache/distfiles" 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 -mcpu=niagara4 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -mcpu=niagara4 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" 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 dri fortran gdbm iconv ipv6 libtirpc llvm-libunwind ncurses nls nptl openmp pam pcre readline sparc ssl systemd test-rust udev 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" QEMU_USER_TARGETS="i386 loongarch64 mips mips64 mips64el mipsel mipsn32 mipsn32el riscv32 riscv64 x86_64" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="dummy" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, 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
Created attachment 870330 [details] LastTest.log.xz
FAIL! : tst_QPluginLoader::loadCorruptElf(wrong-arch) '!lib.load()' returned FALSE. () Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp(705)] FAIL! : tst_QPluginLoader::loadCorruptElfOldPlugin(wrong-arch) '!lib.load()' returned FALSE. () Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp(705)] FAIL! : tst_QBuffer::writeOfMoreThan2GiB() 'buffer.buffer() == QByteArrayView{input}' returned FALSE. () Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qbuffer/tst_qbuffer.cpp(665)] FAIL! : tst_QtConcurrentIterateKernel::throttling() Compared values are not the same Actual (threads.size()): 18 Expected (1) : 1 Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/concurrent/qtconcurrentiteratekernel/tst_qtconcurrentiteratekernel.cpp(224)] FAIL! : tst_QImageReader::saveFormat(Format_BGR888) Compared values are not the same Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/gui/image/qimagereader/tst_qimagereader.cpp(1904)] FAIL! : tst_QImageWriter::writeImage2(solidcolor_29.png) 'equalImageContents(written, image)' returned FALSE. () Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp(292)] FAIL! : tst_QFileDialog2::settingsCompatibility(15.5.2) Compared values are not the same Actual (savedState): "\x00\x00\x00\xFF\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xEC\x00\x00\x00\x04\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00""d"... Expected (ba32) : "\x00\x00\x00\xFF\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xF7\x00\x00\x00\x04\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00""d"... Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/widgets/dialogs/qfiledialog2/tst_qfiledialog2.cpp(490)] FAIL! : tst_QProcess::forwardedChannels(separate) Compared values are not the same Actual (process.exitStatus()): CrashExit Expected (QProcess::NormalExit): NormalExit Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(1140)] FAIL! : tst_QProcess::forwardedChannels(forwarded) Compared values are not the same Actual (process.exitStatus()): CrashExit Expected (QProcess::NormalExit): NormalExit Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(1140)] FAIL! : tst_QProcess::forwardedChannels(stdout) Compared values are not the same Actual (process.exitStatus()): CrashExit Expected (QProcess::NormalExit): NormalExit Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(1140)] FAIL! : tst_QProcess::forwardedChannels(stderr) Compared values are not the same Actual (process.exitStatus()): CrashExit Expected (QProcess::NormalExit): NormalExit Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(1140)] FAIL! : tst_QProcess::forwardedChannels(fwdinput) Compared values are not the same Actual (process.exitStatus()): CrashExit Expected (QProcess::NormalExit): NormalExit Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(1140)] FAIL! : tst_QProcess::processesInMultipleThreads() 'threads[j]->wait(10000)' returned FALSE. () Loc: [/var/tmp/portage/dev-qt/qtbase-6.5.2-r2/work/qtbase-everywhere-src-6.5.2/tests/auto/corelib/io/qprocess/tst_qprocess.cpp(1250)] QFATAL : tst_QProcess::processesInMultipleThreads() QThread: Destroyed while thread is still running FAIL! : tst_QProcess::processesInMultipleThreads() Received a fatal error. FAIL! : tst_QtConcurrentRun::recursive() Received a fatal error. Totals: 10 passed, 1 failed, 0 skipped, 0 blacklisted, 315813ms
FAIL! : tst_QObjectRace::destroyRace() Received a fatal error. Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 309411ms ********* Finished testing of tst_QObjectRace ********* Received signal 6 (SIGABRT) destroyRace function time: 303593ms, total time: 309412ms [...]
A few of these sound mundane, but QThread issues kind of worry me. I'd imagine these will manifest as issues in other test suites too.
I think(?) $URL is related, at least for some tests. This may potentially have been broken for a long time, including currently keyworded Qt5. If it's not completely unusable I guess it could be disregarded but not particularly interested in skipping these.
After a reboot, we have: ``` 50 - tst_qbuffer (Failed) 71 - tst_qprocess (Failed) 88 - tst_qpluginloader (Failed) 207 - tst_qtconcurrentiteratekernel (Failed) 244 - tst_qimagereader (Failed) 249 - tst_qimagewriter (Failed) 446 - tst_qobjectrace (Failed) ```
Created attachment 870668 [details] build.log.xz
Created attachment 870669 [details] LastTest.log.xz
I think the next step is going to be trying this on another BE arch and comparing.
(In reply to Sam James from comment #9) > I think the next step is going to be trying this on another BE arch and > comparing. Yeah, honestly don't know what's the actual situation on BE.
Just quick impressions from looking at the logs, haven't really dug into these. > 50 - tst_qbuffer (Failed) Sounds potentially not good, incorrect/corrupted large buffers? > 71 - tst_qprocess (Failed) Not sure what's up here, but rare edge cases of crash-on-exit may not be too bad. Also some "Cannot creator Pipe ... (Too many open files)" errors, maybe just some ulimit thing. > 88 - tst_qpluginloader (Failed) > 207 - tst_qtconcurrentiteratekernel (Failed) Fwiw these failures don't seem really harmful. > 244 - tst_qimagereader (Failed) > 249 - tst_qimagewriter (Failed) Imagine these are in fact BE related, albeit having issues with BGR888 is something that IMO can be ignored (at worst some rare images may have bad colors). May just skip these two even if other BE arches are affected. > 446 - tst_qobjectrace (Failed) This one is nastier looking, normal test log does not show any of these backtraces.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9766b6fde49e48247ac9b11b2d52a4b615833c99 commit 9766b6fde49e48247ac9b11b2d52a4b615833c99 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-09-19 02:12:07 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-09-19 02:12:17 +0000 dev-qt/qtbase: skip known failing tests on BE arches Could use looking into eventually, but these failures should not have much of an impact. Skipping globally to avoid coming back to this with other arches. Bug: https://bugs.gentoo.org/914033 Bug: https://bugs.gentoo.org/914371 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 6 +++++- dev-qt/qtbase/qtbase-6.5.9999.ebuild | 6 +++++- dev-qt/qtbase/qtbase-6.6.9999.ebuild | 6 +++++- dev-qt/qtbase/qtbase-6.9999.ebuild | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-)
Current remaining failures minus known BE issues: > 50 - tst_qbuffer (Failed) > 71 - tst_qprocess (Failed) > 207 - tst_qtconcurrentiteratekernel (Failed) > 446 - tst_qobjectrace (Failed) Do imagine it's mostly usable in current state if really wanted it, but still subpar and I do imagine there will be random crashes.
(In reply to Ionen Wolkens from comment #13) > Current remaining failures minus known BE issues: > > 50 - tst_qbuffer (Failed) > > 71 - tst_qprocess (Failed) > > 207 - tst_qtconcurrentiteratekernel (Failed) > > 446 - tst_qobjectrace (Failed) > Do imagine it's mostly usable in current state if really wanted it, but > still subpar and I do imagine there will be random crashes. (not that imagine it's worse than Qt5 which likely has the same issues)
There are issues with posix_spawn on sparc that we're currently looking at (spoke to glaubitz from debian earlier & matoro was looking at it too) which may well explain some of the non-generic BE issues here. I feel like can probably go ahead and revisit when we know glibc issues are fixed.
On sparc, I seem to get this at the moment: 52 - tst_qbuffer (Failed) 73 - tst_qprocess (Failed) 91 - tst_quuid (Failed) 211 - tst_qtconcurrentiteratekernel (Failed) # 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. which is good enough. Could you consider adding these as a sparc-specific skip for now (modulo quuid obv)?
(In reply to Sam James from comment #16) > Could you consider adding these as a sparc-specific skip for now (modulo > quuid obv)? Fair enough, will do.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675a3b799821b2d2cb9be7fcab014ad3011d186b commit 675a3b799821b2d2cb9be7fcab014ad3011d186b Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-12-01 07:04:04 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-12-01 07:04:33 +0000 dev-qt/qtbase: skip a few known failing tests only for sparc Closes: https://bugs.gentoo.org/914033 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtbase/qtbase-6.6.1-r1.ebuild | 6 ++++++ dev-qt/qtbase/qtbase-6.6.9999.ebuild | 6 ++++++ dev-qt/qtbase/qtbase-6.9999.ebuild | 6 ++++++ 3 files changed, 18 insertions(+)