Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827840 - kde-apps/ark-21.08.3 fails test plugins-clirartest
Summary: kde-apps/ark-21.08.3 fails test plugins-clirartest
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2021-11-29 14:23 UTC by Paolo Pedroni
Modified: 2022-03-17 16:13 UTC (History)
1 user (show)

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

ark-21.08.3:20211129-094252.log.gz (ark-21.08.3:20211129-094252.log.gz,28.15 KB, application/gzip)
2021-11-29 14:23 UTC, Paolo Pedroni

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2021-11-29 14:23:42 UTC
Created attachment 756990 [details]

>>> Test phase: kde-apps/ark-21.08.3
 * Scanning for an open DISPLAY to start Xvfb ...
 * Starting Xvfb on $DISPLAY=1 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3_build"
ctest -j 15 --test-load 8 -E (kerfuffle-addtoarchivetest)
Test project /var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3_build
      Start  1: app-batchextracttest
 1/16 Test  #1: app-batchextracttest .............   Passed    0.44 sec
      Start  2: kerfuffle-deletetest
 2/16 Test  #2: kerfuffle-deletetest .............   Passed    0.29 sec
      Start  3: kerfuffle-loadtest
 3/16 Test  #3: kerfuffle-loadtest ...............   Passed    1.10 sec
      Start  4: kerfuffle-extracttest
 4/16 Test  #4: kerfuffle-extracttest ............   Passed    2.06 sec
      Start  5: kerfuffle-addtest
 5/16 Test  #5: kerfuffle-addtest ................   Passed    4.63 sec
      Start  6: kerfuffle-movetest
      Start  7: kerfuffle-copytest
 6/16 Test  #6: kerfuffle-movetest ...............   Passed    6.97 sec
      Start  8: kerfuffle-createdialogtest
      Start  9: kerfuffle-metadatatest
 7/16 Test  #9: kerfuffle-metadatatest ...........   Passed    0.01 sec
      Start 10: kerfuffle-mimetypetest
      Start 11: kerfuffle-adddialogtest
 8/16 Test #10: kerfuffle-mimetypetest ...........   Passed    0.03 sec
      Start 12: kerfuffle-jobstest
      Start 13: plugins-cliziptest
 9/16 Test #13: plugins-cliziptest ...............   Passed    0.04 sec
      Start 14: plugins-cli7ztest
      Start 15: plugins-clirartest
10/16 Test #12: kerfuffle-jobstest ...............   Passed    0.06 sec
      Start 16: plugins-cliunarchivertest
11/16 Test #16: plugins-cliunarchivertest ........   Passed    0.05 sec
12/16 Test #14: plugins-cli7ztest ................   Passed    0.08 sec
13/16 Test #15: plugins-clirartest ...............***Failed    0.08 sec
14/16 Test  #7: kerfuffle-copytest ...............   Passed    9.05 sec
15/16 Test #11: kerfuffle-adddialogtest ..........   Passed    4.16 sec
16/16 Test  #8: kerfuffle-createdialogtest .......   Passed    9.51 sec

94% tests passed, 1 tests failed out of 16

Total Test time (real) =  25.02 sec

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

Relevant part of LastTest.log says:
15/16 Testing: plugins-clirartest
15/16 Test: plugins-clirartest
Command: "/var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3_build/bin/clirartest"
Directory: /var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3_build/autotests/plugins/clirarplugin
"plugins-clirartest" start time: Nov 29 10:44 CET
********* Start testing of CliRarTest *********
Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.2.0), gentoo unk
PASS   : CliRarTest::initTestCase()
PASS   : CliRarTest::testArchive(archive with one top-level folder)
PASS   : CliRarTest::testArchive(locked archive)
PASS   : CliRarTest::testList(normal-file-unrar5)
PASS   : CliRarTest::testList(symlink-unrar5)
PASS   : CliRarTest::testList(encrypted-unrar5)
QWARN  : CliRarTest::testList(recovery-record-unrar5) ark.clirar: Unrecognized line: " "
PASS   : CliRarTest::testList(recovery-record-unrar5)
QWARN  : CliRarTest::testList(corrupt-archive-unrar5) ark.clirar: Unrecognized line: "file1.txt - the file header is corrupt"
PASS   : CliRarTest::testList(corrupt-archive-unrar5)
PASS   : CliRarTest::testList(multivolume-archive-unrar5)
PASS   : CliRarTest::testList(RAR5-open-with-unrar5)
PASS   : CliRarTest::testList(normal-file-unrar4)
PASS   : CliRarTest::testList(symlink-unrar4)
PASS   : CliRarTest::testList(encrypted-unrar4)
PASS   : CliRarTest::testList(recovery-record-unrar4)
PASS   : CliRarTest::testList(corrupt-archive-unrar4)
FAIL!  : CliRarTest::testList(RAR5-open-with-unrar4) Compared values are not the same
   Actual   ( "Il tuo eseguibile unrar \u00E8 alla versione 4.20, che \u00E8 troppo datata pe
r gestire questo archivio. Aggiorna a una versione pi\u00F9 recente."
   Expected (errorMessage)                         : "Your unrar executable is version 4.20, which is too old to handle this archive
. Please update to a more recent version."
   Loc: [/var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3/autotests/plugins/clirarplugin/clirartest.cpp(247)]
PASS   : CliRarTest::testList(multivolume-archive-unrar4)
FAIL!  : CliRarTest::testList(RAR5-open-with-unrar3) Compared values are not the same
   Actual   ( "Unrar segnala un archivio non RAR. La versione installata di unrar (3.71) \u00
E8 troppo datata. Prova ad aggiornare unrar."
   Expected (errorMessage)                         : "Unrar reported a non-RAR archive. The installed unrar version (3.71) is old. T
ry updating your unrar."
   Loc: [/var/tmp/portage/kde-apps/ark-21.08.3/work/ark-21.08.3/autotests/plugins/clirarplugin/clirartest.cpp(247)]
QWARN  : CliRarTest::testList(corrupt-archive-unrar3) ark.clirar: Unrecognized line: "??? - the file header is corrupt"
PASS   : CliRarTest::testList(corrupt-archive-unrar3)
PASS   : CliRarTest::testListArgs(unencrypted)
PASS   : CliRarTest::testListArgs(header-encrypted)
PASS   : CliRarTest::testAddArgs(unencrypted)
PASS   : CliRarTest::testAddArgs(encrypted)
PASS   : CliRarTest::testAddArgs(header-encrypted)
PASS   : CliRarTest::testAddArgs(multi-volume)
PASS   : CliRarTest::testAddArgs(comp-method-RAR5)
PASS   : CliRarTest::testExtractArgs(preserve paths, encrypted)
PASS   : CliRarTest::testExtractArgs(preserve paths, unencrypted)
PASS   : CliRarTest::testExtractArgs(without paths, encrypted)
PASS   : CliRarTest::testExtractArgs(without paths, unencrypted)
PASS   : CliRarTest::cleanupTestCase()
Totals: 29 passed, 2 failed, 0 skipped, 0 blacklisted, 42ms
********* Finished testing of CliRarTest *********
<end of output>
Test time =   0.08 sec
Test Failed.
"plugins-clirartest" end time: Nov 29 10:44 CET
"plugins-clirartest" time elapsed: 00:00:00

# emerge --info =kde-apps/ark-21.08.3
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r7, 5.10.76-gentoo-r1 x86_64)
                         System Settings
System uname: Linux-5.10.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-1035G1_CPU_@_1.00GHz-with-glibc2.33
KiB Mem:    15895972 total,   6689604 free
KiB Swap:   16777212 total,  13575172 free
Timestamp of repository gentoo: Mon, 29 Nov 2021 07:45:01 +0000
Head commit of repository gentoo: 4dea73596f238cd179ef1abb61ab42b1a0805aa9
sh dash
ld GNU gold (Gentoo 2.37_p1 p0 2.37) 1.16
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.4.2 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.8::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/ccache:          4.4.2::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo

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

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

CFLAGS="-O2 -pipe -frecord-gcc-switches -march=icelake-client -mabm -ftree-vectorize -flto=8"
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"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
FCFLAGS="-O2 -pipe -frecord-gcc-switches -march=icelake-client -mabm -ftree-vectorize -flto=8"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -ftree-vectorize -flto=8"
LINGUAS="it it_IT"
MAKEOPTS="-j15 -l8"
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"
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 emboss 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 kipi kwallet lame lcms libass libglvnd libnotify libsamplerate libtirpc lm-sensors lua lzma lzo mad magic mmap mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl offensive ogg openal opengl openmp pam pango pch 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-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 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"

# emerge -1pqv =kde-apps/ark-21.08.3
[ebuild     U ] kde-apps/ark-21.08.3 [21.04.3] USE="handbook test zip -debug"
Comment 1 Paolo Pedroni 2022-02-04 14:11:08 UTC
Still in 21.12.2, BTW.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-16 22:13:43 UTC
Looks like a localisation issue:

   Actual   ( "Il tuo eseguibile unrar \u00E8 alla versione 4.20, che \u00E8 troppo datata pe
r gestire questo archivio. Aggiorna a una versione pi\u00F9 recente."
   Expected (errorMessage)                         : "Your unrar executable is version 4.20, which is too old to handle this archive
. Please update to a more recent version."

I guess we can run the tests with LC_ALL=C. Does that fix the issue for you?
Comment 3 Paolo Pedroni 2022-03-17 16:13:51 UTC
(In reply to Sam James from comment #2)
> I guess we can run the tests with LC_ALL=C. Does that fix the issue for you?

No, it doesn't work. It's not that simple, AFAIK. It's due to some localization file installed somewhere, Andreas knows something more about it.