Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852749 - kde-apps/okular-22.04.2 fails tests
Summary: kde-apps/okular-22.04.2 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kde-gear-22.04.3-stable
  Show dependency tree
 
Reported: 2022-06-17 09:22 UTC by Paolo Pedroni
Modified: 2022-07-17 11:56 UTC (History)
0 users

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


Attachments
okular-22.04.2:20220617-084042.log.gz (okular-22.04.2:20220617-084042.log.gz,50.90 KB, application/gzip)
2022-06-17 09:22 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2022-06-17 09:22:46 UTC
Created attachment 785942 [details]
okular-22.04.2:20220617-084042.log.gz

>>> Test phase: kde-apps/okular-22.04.2
 * Scanning for an open DISPLAY to start Xvfb ...
 * Starting Xvfb on $DISPLAY=2 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build"
ctest -j 15 --test-load 8 -E (mainshelltest|chmgeneratortest|parttest|annotationtoolbartest)
Test project /var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build
      Start  1: kimgiotest
 1/24 Test  #1: kimgiotest .......................   Passed    0.10 sec
      Start  2: comicbooktest
 2/24 Test  #2: comicbooktest ....................   Passed    0.06 sec
      Start  3: epubgeneratortest
 3/24 Test  #3: epubgeneratortest ................***Failed    0.08 sec
      Start  4: editdrawingtooldialogtest
 4/24 Test  #4: editdrawingtooldialogtest ........   Passed    0.03 sec
      Start  5: shelltest
 5/24 Test  #5: shelltest ........................   Passed    0.00 sec
      Start  6: visibilitytest
 6/24 Test  #6: visibilitytest ...................   Passed    0.06 sec
      Start  7: kjsfunctionstest
 7/24 Test  #7: kjsfunctionstest .................   Passed    6.08 sec
      Start  8: formattest
 8/24 Test  #8: formattest .......................   Passed    0.06 sec
      Start  9: keystroketest
 9/24 Test  #9: keystroketest ....................   Passed    0.05 sec
      Start 10: signunsignedfieldtest
10/24 Test #10: signunsignedfieldtest ............***Failed    0.12 sec
      Start 11: documenttest
11/24 Test #11: documenttest .....................   Passed    0.07 sec
      Start 12: searchtest
12/24 Test #12: searchtest .......................   Passed    0.05 sec
      Start 13: annotationstest
13/24 Test #13: annotationstest ..................   Passed    0.09 sec
      Start 14: urldetecttest
14/24 Test #14: urldetecttest ....................   Passed    0.03 sec
      Start 15: editannotationcontentstest
15/24 Test #15: editannotationcontentstest .......   Passed    0.06 sec
      Start 16: addremoveannotationtest
16/24 Test #16: addremoveannotationtest ..........   Passed    0.05 sec
      Start 17: translateannotationtest
17/24 Test #17: translateannotationtest ..........   Passed    0.05 sec
      Start 18: modifyannotationpropertiestest
18/24 Test #18: modifyannotationpropertiestest ...   Passed    0.05 sec
      Start 19: editformstest
19/24 Test #19: editformstest ....................   Passed    0.06 sec
      Start 20: calculatetexttest
20/24 Test #20: calculatetexttest ................   Passed    0.05 sec
      Start 21: generatorstest
21/24 Test #21: generatorstest ...................   Passed    0.04 sec
      Start 22: signatureformtest
22/24 Test #22: signatureformtest ................   Passed    0.05 sec
      Start 23: markdowntest
23/24 Test #23: markdowntest .....................   Passed    0.22 sec
      Start 24: toggleactionmenutest
24/24 Test #24: toggleactionmenutest .............   Passed    0.03 sec

92% tests passed, 2 tests failed out of 24

Total Test time (real) =   7.55 sec

The following tests FAILED:
          3 - epubgeneratortest (Failed)
         10 - signunsignedfieldtest (Failed)
Errors while running CTest
Output from these tests are in: /var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
 * ERROR: kde-apps/okular-22.04.2::gentoo failed (test phase)

Relevant part of LastTest.log says:
3/24 Testing: epubgeneratortest
3/24 Test: epubgeneratortest
Command: "/var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build/bin/epubgeneratortest"
Directory: /var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build/generators/epub
"epubgeneratortest" start time: Jun 17 10:44 CEST
Output:
----------------------------------------------------------
********* Start testing of EpubGeneratorTest *********
Config: Using QtTest library 5.15.4, Qt 5.15.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), gentoo 2.8
PASS   : EpubGeneratorTest::initTestCase()
PASS   : EpubGeneratorTest::testDocumentStructure()
FAIL!  : EpubGeneratorTest::testDocumentContent() Compared values are not the same
   Actual   (page0->text().trimmed())                                                        : "Lorem ipsum\nSection 1\n\u2029This is an example Text.\n\uFFFC"
   Expected (QStringLiteral("Lorem ipsum Section 1\n\u2029This is an example Text.\n\uFFFC")): "Lorem ipsum Section 1\n\u2029This is an example Text.\n\uFFFC"
   Loc: [/var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2/generators/epub/autotests/epubgeneratortest.cpp(65)]
PASS   : EpubGeneratorTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 51ms
********* Finished testing of EpubGeneratorTest *********
<end of output>
Test time =   0.08 sec
----------------------------------------------------------
Test Failed.
"epubgeneratortest" end time: Jun 17 10:44 CEST
"epubgeneratortest" time elapsed: 00:00:00
----------------------------------------------------------
[...]
10/24 Testing: signunsignedfieldtest
10/24 Test: signunsignedfieldtest
Command: "/var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build/bin/signunsignedfieldtest"
Directory: /var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2_build/autotests
"signunsignedfieldtest" start time: Jun 17 10:44 CEST
Output:
----------------------------------------------------------
********* Start testing of SignUnsignedFieldTest *********
Config: Using QtTest library 5.15.4, Qt 5.15.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), gentoo 2.8
PASS   : SignUnsignedFieldTest::initTestCase()
QWARN  : SignUnsignedFieldTest::testSignUnsignedField() This plugin does not support propagateSizeHints()
QWARN  : SignUnsignedFieldTest::testSignUnsignedField() This plugin does not support propagateSizeHints()
FAIL!  : SignUnsignedFieldTest::testSignUnsignedField() Compared values are not the same
   Actual   (certs.count()): 0
   Expected (1)            : 1
   Loc: [/var/tmp/portage/kde-apps/okular-22.04.2/work/okular-22.04.2/autotests/signunsignedfieldtest.cpp(100)]
PASS   : SignUnsignedFieldTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 88ms
********* Finished testing of SignUnsignedFieldTest *********
<end of output>
Test time =   0.12 sec
----------------------------------------------------------
Test Failed.
"signunsignedfieldtest" end time: Jun 17 10:44 CEST
"signunsignedfieldtest" time elapsed: 00:00:00
----------------------------------------------------------

# emerge --info =kde-apps/okular-22.04.2
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.3.0, glibc-2.34-r13, 5.15.41-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.41-gentoo-x86_64-Intel-R-_Core-TM-_i5-1035G1_CPU_@_1.00GHz-with-glibc2.34
KiB Mem:    15892184 total,   3474380 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Fri, 17 Jun 2022 07:45:01 +0000
Head commit of repository gentoo: 34f21ae7b141da8b681c210d30437c8145f2293d
sh dash 0.5.11.5
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.6::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.4::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
AR="/usr/bin/gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -frecord-gcc-switches -march=icelake-client -mabm -ftree-vectorize -flto=8"
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 /etc/terminfo"
CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=icelake-client -mabm -ftree-vectorize -flto=8"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
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 -frecord-gcc-switches -march=icelake-client -mabm -ftree-vectorize -flto=8"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup 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 sign split-elog split-log strict strict-keepdir test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -frecord-gcc-switches -march=icelake-client -mabm -ftree-vectorize -flto=8"
GENTOO_MIRRORS="http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://ftp.fau.de/gentoo https://ftp.fau.de/gentoo https://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -ftree-vectorize -flto=8"
LINGUAS="it it_IT"
MAKEOPTS="-j15 -l8"
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 activities adns alsa amd64 ao audiofile bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli crypt css cups curl dbus declarative dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gmp gnutls gphoto2 gpm graphviz gtk gui guile handbook iconv icu idn imagemagick imlib introspection ipv6 java javascript jbig jemalloc jpeg jpeg2k kde kwallet lame lcms libass libglvnd libnotify libsamplerate libtirpc lm-sensors lua lz4 lzma lzo mad magic mmap mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses networkmanager nls nptl offensive ogg openal opengl openmp pam pango pcre pdf plasma png policykit postscript ppds pulseaudio qml qt5 rdesktop readline recode samba sctp sdl seccomp sndfile sockets speex spell split-usr sqlite ssl startup-notification svg symlink syslog systemd sysvipc taglib telemetry test theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vala verify-sig vim-syntax vnc vorbis wavpack wayland webp widgets win32codecs wmf wxwidgets x264 xattr xcb xine xinerama xml xpm xscreensaver xv xvid yahoo zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" 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" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" 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, LEX, 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
=================================================================

kde-apps/okular-22.04.2::gentoo was built with the following:
USE="crypt djvu epub handbook image-backend markdown mobi pdf plucker postscript qml share tiff -debug -speech -test" ABI_X86="(64)"
FEATURES="split-elog sfperms unmerge-logs unmerge-orphans preserve-libs userpriv compress-build-logs userfetch distcc pid-sandbox network-sandbox qa-unresolved-soname-deps protect-owned multilib-strict ipc-sandbox merge-sync usersync news sandbox buildpkg-live binpkg-dostrip fixlafiles xattr strict-keepdir sign binpkg-logs binpkg-docompress usersandbox ebuild-locks cgroup parallel-fetch config-protect-if-modified unknown-features-warn distlocks assume-digests split-log strict"

# emerge -1pqv =kde-apps/okular-22.04.2
[ebuild   R   ] kde-apps/okular-22.04.2  USE="crypt djvu epub handbook image-backend markdown mobi pdf plucker postscript qml share test* tiff -debug -speech"
Comment 1 Andreas Sturmlechner gentoo-dev 2022-07-17 09:05:42 UTC
Please test with 22.04.3. epubgeneratortest works for me in 22.07.80, but signunsignedfieldtest fails the same.
Comment 2 Larry the Git Cow gentoo-dev 2022-07-17 11:54:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=cca599478faa2d87b10e37a1526e8d5c1de3e362

commit cca599478faa2d87b10e37a1526e8d5c1de3e362
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-17 09:10:03 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-17 11:53:49 +0000

    kde-apps/okular: Disable failing signunsignedfieldtest
    
    Bug: https://bugs.gentoo.org/852749
    Package-Manager: Portage-3.0.32, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/okular/okular-22.07.80.ebuild      | 3 ++-
 kde-apps/okular/okular-22.08.49.9999.ebuild | 3 ++-
 kde-apps/okular/okular-9999.ebuild          | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-07-17 11:56:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bbc31903542aef980c29b1737313217d647429

commit 74bbc31903542aef980c29b1737313217d647429
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-17 09:11:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-17 11:56:23 +0000

    kde-apps/okular: Disable epubgeneratortest, signunsignedfieldtest
    
    Both fail, meh.
    
    Closes: https://bugs.gentoo.org/852749
    Package-Manager: Portage-3.0.32, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/okular/okular-22.04.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)