Created attachment 873411 [details] qtbase-6.6.0-r1:20231024-103948.log.gz Start 323: tst_qprinter 323/453 Test #323: tst_qprinter ....................................***Failed 1.67 sec [...] tests/auto/printsupport/kernel/qprinter/tst_qprinter = 1.67 sec*proc (1 test) [...] Total Test time (real) = 1012.79 sec The following tests FAILED: 323 - tst_qprinter (Failed) Errors while running CTest Output from these tests are in: /var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0_build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. * ERROR: dev-qt/qtbase-6.6.0-r1::gentoo failed (test phase) Relevant part of LastTest.log says: 323/453 Testing: tst_qprinter 323/453 Test: tst_qprinter Command: "/usr/bin/cmake" "-P" "/var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0_build/tests/auto/printsuppo rt/kernel/qprinter/tst_qprinterWrapperRelWithDebInfo.cmake" Directory: /var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0_build/tests/auto/printsupport/kernel/qprinter "tst_qprinter" start time: Oct 24 11:17 UTC Output: ---------------------------------------------------------- ********* Start testing of tst_QPrinter ********* Config: Using QtTest library 6.6.0, Qt 6.6.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 16.0.6), gentoo 2.1 4 PASS : tst_QPrinter::initTestCase() PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect0) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect1) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect2) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect3) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect4) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect5) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect6) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect7) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect8) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect9) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect10) PASS : tst_QPrinter::testPageRectAndPaperRect(paperRect11) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect0) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect1) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect2) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect3) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect4) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect5) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect6) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect7) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect8) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect9) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect10) PASS : tst_QPrinter::testPageRectAndPaperRect(pageRect11) PASS : tst_QPrinter::testMargins(data0) PASS : tst_QPrinter::testMargins(data1) PASS : tst_QPrinter::testMargins(data2) PASS : tst_QPrinter::testMargins(data3) PASS : tst_QPrinter::testMargins(data4) PASS : tst_QPrinter::testMargins(data5) PASS : tst_QPrinter::testMargins(data6) PASS : tst_QPrinter::testMargins(data7) PASS : tst_QPrinter::testPageSetupDialog() QWARN : tst_QPrinter::testPrintPreviewDialog() This plugin does not support propagateSizeHints() PASS : tst_QPrinter::testPrintPreviewDialog() PASS : tst_QPrinter::testMultipleSets(lowRes) PASS : tst_QPrinter::testMultipleSets(lowResLetter) PASS : tst_QPrinter::testMultipleSets(lowResA5) PASS : tst_QPrinter::testMultipleSets(midRes) PASS : tst_QPrinter::testMultipleSets(midResLetter) PASS : tst_QPrinter::testMultipleSets(midResA5) PASS : tst_QPrinter::testMultipleSets(highRes) PASS : tst_QPrinter::testMultipleSets(highResLetter) PASS : tst_QPrinter::testMultipleSets(highResA5) PASS : tst_QPrinter::testPageMargins(data0) PASS : tst_QPrinter::testPageMargins(data1) PASS : tst_QPrinter::testPageMargins(data2) PASS : tst_QPrinter::testPageMargins(data3) PASS : tst_QPrinter::testPageMargins(data4) PASS : tst_QPrinter::testPageMargins(data5) PASS : tst_QPrinter::outputFormatFromSuffix() QWARN : tst_QPrinter::errorReporting() QPainter::begin(): Returned false PASS : tst_QPrinter::errorReporting() PASS : tst_QPrinter::testCustomPageSizes() PASS : tst_QPrinter::customPaperSizeAndMargins(beforeNoPDF) PASS : tst_QPrinter::customPaperSizeAndMargins(beforePDF) PASS : tst_QPrinter::customPaperSizeAndMargins(afterNoPDF) PASS : tst_QPrinter::customPaperSizeAndMargins(afterAfterPDF) PASS : tst_QPrinter::customPaperNameSettingBySize() QWARN : tst_QPrinter::printDialogCompleter() This plugin does not support propagateSizeHints() PASS : tst_QPrinter::printDialogCompleter() PASS : tst_QPrinter::testCurrentPage() PASS : tst_QPrinter::taskQTBUG4497_reusePrinterOnDifferentFiles() PASS : tst_QPrinter::testPdfTitle() PASS : tst_QPrinter::testMultipleKeys() PASS : tst_QPrinter::collateCopies() PASS : tst_QPrinter::colorMode() PASS : tst_QPrinter::copyCount() PASS : tst_QPrinter::creator() PASS : tst_QPrinter::docName() FAIL! : tst_QPrinter::duplex() Compared values are not the same Actual (native.duplex()): 2 Expected (expected) : 0 Loc: [/var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp(904)] PASS : tst_QPrinter::fontEmbedding() PASS : tst_QPrinter::fullPage() PASS : tst_QPrinter::orientation() PASS : tst_QPrinter::outputFileName() PASS : tst_QPrinter::pageOrder() PASS : tst_QPrinter::pageSize() PASS : tst_QPrinter::paperSource() FAIL! : tst_QPrinter::printerName() Compared values are not the same Actual (pdf.outputFormat()) : 1 Expected (QPrinter::NativeFormat): 0 Loc: [/var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp(1308)] PASS : tst_QPrinter::printerSelectionOption() PASS : tst_QPrinter::printProgram() PASS : tst_QPrinter::printRange() PASS : tst_QPrinter::resolution() PASS : tst_QPrinter::supportedPaperSources() PASS : tst_QPrinter::supportedResolutions() PASS : tst_QPrinter::outputFormat() PASS : tst_QPrinter::fromToPage() PASS : tst_QPrinter::testPageMetrics(PDF A4) PASS : tst_QPrinter::testPageMetrics(PDF A4 Margins) PASS : tst_QPrinter::testPageMetrics(Native A4) PASS : tst_QPrinter::testPageMetrics(Native A4 Margins) PASS : tst_QPrinter::testPageMetrics(PDF Portrait) PASS : tst_QPrinter::testPageMetrics(PDF Portrait Margins) PASS : tst_QPrinter::testPageMetrics(PDF Landscape) PASS : tst_QPrinter::testPageMetrics(PDF Landscape Margins) PASS : tst_QPrinter::testPageMetrics(Native Portrait) PASS : tst_QPrinter::testPageMetrics(Native Portrait Margins) PASS : tst_QPrinter::testPageMetrics(Native Landscape) PASS : tst_QPrinter::testPageMetrics(Native Landscape Margins) SKIP : tst_QPrinter::reusePageMetrics() Not enough printers to do this test with, need at least 2 setup Loc: [/var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp(1701)] PASS : tst_QPrinter::cleanupTestCase() Totals: 96 passed, 2 failed, 1 skipped, 0 blacklisted, 1608ms ********* Finished testing of tst_QPrinter ********* CMake Error at tst_qprinterWrapperRelWithDebInfo.cmake:18 (message): /var/tmp/portage/dev-qt/qtbase-6.6.0-r1/work/qtbase-everywhere-src-6.6.0_build/tests/auto/printsupport/kernel/qprinter/tst_qprinter execution failed with exit code 2. <end of output> Test time = 1.67 sec ---------------------------------------------------------- Test Failed. "tst_qprinter" end time: Oct 24 11:17 UTC "tst_qprinter" time elapsed: 00:00:01 ----------------------------------------------------------
# emerge --info =dev-qt/qtbase-6.6.0-r1 Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop/systemd/merged-usr, gcc-13, glibc-2.37-r7, 6.1.57-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.1.57-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-glibc2.37 KiB Mem: 16060164 total, 11334132 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Tue, 24 Oct 2023 09:45:01 +0000 Head commit of repository gentoo: f16577321de111b284fb394e2f7d91ef06840657 Head commit of repository sunny-overlay: dba83c5990734fe991c722cef95111b2d4d9c366 sh dash 0.5.12 ld GNU ld (Gentoo 2.40 p5) 2.40.0 distcc 3.4 x86_64-pc-linux-gnu [enabled] ccache version 4.8.2 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.5::gentoo dev-lang/rust: 1.71.1::gentoo dev-util/ccache: 4.8.2::gentoo dev-util/cmake: 3.26.5-r2::gentoo dev-util/meson: 1.2.1-r1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 253.11::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/clang: 16.0.6::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/lld: 16.0.6::gentoo sys-devel/llvm: 16.0.6::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.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sunny-overlay location: /var/db/repos/sunny-overlay sync-type: git sync-uri: https://github.com/dguglielmi/sunny-overlay masters: gentoo volatile: False x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" AR="/usr/bin/gcc-ar" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=6" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /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" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=6" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y" 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 -march=amdfam10 -flto=6" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs config-protect-if-modified distcc 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 split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=6" GENTOO_MIRRORS="http://ftp.tu-ilmenau.de/mirror/gentoo/ https://ftp.tu-ilmenau.de/mirror/gentoo/ http://mirror.init7.net/gentoo/ https://mirror.init7.net/gentoo/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=6" LEX="flex" LINGUAS="it it_IT" MAKEOPTS="-j23 -l6" NM="/usr/bin/gcc-nm" 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" RANLIB="/usr/bin/gcc-ranlib" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli crypt css cups curl dbus dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif gmp gnutls gpm graphviz gtk gui guile iconv icu idn imagemagick imlib inotify introspection ipv6 jbig jemalloc jpeg jpeg2k kde lame lapack lcms libass libnotify libsamplerate libtirpc lm-sensors lua lz4 lzma lzo mad magic mhash mmap mng mp3 mp4 mpeg multilib musicbrainz ncurses nls nptl offensive ogg openal opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qt5 rdesktop readline samba sctp sdl seccomp sndfile sound speex spell sqlite ssl startup-notification svg symlink syslog systemd taglib test test-rust theora threads tiff truetype udev udisks unicode upower usb vaapi vala vdpau verify-sig vim-syntax vorbis vulkan wavpack wayland webp win32codecs wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xml xpm xscreensaver xv xvid zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel virmidi" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" 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" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeon r600" 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, 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, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= dev-qt/qtbase-6.6.0-r1::gentoo was built with the following: USE="X brotli concurrent cups dbus eglfs gtk gui icu libinput libproxy network nls opengl sctp sql sqlite ssl udev vulkan wayland widgets xml zstd -accessibility -evdev -gles2-only -gssapi -mysql -oci8 -odbc -postgres -test -tslib" ABI_X86="(64)" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -mno-avx2 -mno-fma" FEATURES="xattr ipc-sandbox protect-owned config-protect-if-modified split-elog strict sandbox assume-digests binpkg-dostrip binpkg-docompress preserve-libs split-log userpriv pid-sandbox ebuild-locks binpkg-logs unmerge-orphans parallel-fetch usersandbox buildpkg-live compress-build-logs multilib-strict network-sandbox distcc userfetch merge-sync sfperms usersync unknown-features-warn qa-unresolved-soname-deps fixlafiles news unmerge-logs distlocks" LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" # emerge -1pqv =dev-qt/qtbase-6.6.0-r1 [ebuild R ] dev-qt/qtbase-6.6.0-r1 USE="X brotli concurrent cups dbus eglfs gtk gui icu libinput libproxy network nls opengl sctp sql sqlite ssl test* udev vulkan wayland widgets xml zstd -accessibility -evdev -gles2-only -gssapi -mysql -oci8 -odbc -postgres -tslib"
For me the majority of these tests are skipped with e.g.: SKIP : tst_QPrinter::duplex() No printers installed And with sandbox, odds are it can't probe printers properly anyway if available, so think I'll just skip this test.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9511bed148b8a9a46af0d3961ecf2e538dc3f5b3 commit 9511bed148b8a9a46af0d3961ecf2e538dc3f5b3 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-10-27 11:15:32 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-10-27 11:39:03 +0000 dev-qt/qtbase: skip tst_qprinter Closes: https://bugs.gentoo.org/916216 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtbase/qtbase-6.5.3-r1.ebuild | 1 + dev-qt/qtbase/qtbase-6.6.0-r1.ebuild | 1 + dev-qt/qtbase/qtbase-6.6.9999.ebuild | 1 + dev-qt/qtbase/qtbase-6.9999.ebuild | 1 + 4 files changed, 4 insertions(+)