Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649534 - gnome-extra/cjs-3.6.1: multiple test failures
Summary: gnome-extra/cjs-3.6.1: multiple test failures
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Turnbull
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-03-04 04:43 UTC by Thomas Deutschmann
Modified: 2021-06-02 07:23 UTC (History)
2 users (show)

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


Attachments
test-suite.log (test-suite.log,124.45 KB, text/plain)
2018-03-04 04:43 UTC, Thomas Deutschmann
Details
build.log (build.log,277.20 KB, text/plain)
2018-03-04 04:43 UTC, Thomas Deutschmann
Details
build.log (cjs-4.8.2:20210601-145442.log,120.57 KB, text/plain)
2021-06-01 15:08 UTC, Joonas Niilola
Details
4.8.3 testlog (testlog.txt,661.23 KB, text/plain)
2021-06-01 15:08 UTC, Joonas Niilola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2018-03-04 04:43:25 UTC
Created attachment 522254 [details]
test-suite.log

> ============================================================================
> Testsuite summary for cjs 3.6.1
> ============================================================================
> # TOTAL: 588
> # PASS:  547
> # SKIP:  9
> # XFAIL: 0
> # FAIL:  21
> # XPASS: 0
> # ERROR: 11


Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   1505088 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Sat, 03 Mar 2018 23:14:41 +0000
Head commit of repository gentoo: aca5ee18c254f7fc5d17e2dbf7d70d27a54dcacb

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.9.6-r5::gentoo, 1.10.3-r3::gentoo, 1.12.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4816,0"
TMUX_PANE="%0"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
Comment 1 Thomas Deutschmann gentoo-dev Security 2018-03-04 04:43:45 UTC
Created attachment 522256 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2018-04-02 18:36:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f947b8fa11d7a4e5532702da94249dd88e0d27b

commit 8f947b8fa11d7a4e5532702da94249dd88e0d27b
Author:     Kristian Fiskerstrand <k_f@gentoo.org>
AuthorDate: 2018-04-02 17:20:59 +0000
Commit:     Kristian Fiskerstrand <k_f@gentoo.org>
CommitDate: 2018-04-02 18:36:01 +0000

    gnome-extra/cjs: RESTRICT=test and fix a bunch of test failures
    
    Fix a number of test failures related to console execution missing
    compat symlink. Down to 2 remaining errors, but this test suite is flaky
    enough and its not a reason to hold up the stabilization any longer so
    adding a RESTRICT=test for now
    
    Bug: https://bugs.gentoo.org/649534
    
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 gnome-extra/cjs/cjs-3.6.1.ebuild | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)}
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2018-04-02 18:37:49 UTC
Removing the blocker for stable, as it is not a regression and seems more related to test suite failure than anything else.
Comment 4 Larry the Git Cow gentoo-dev 2021-01-24 17:31:05 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7379e0117ca4e21bd1f86520ee83e4156a481b64

commit 7379e0117ca4e21bd1f86520ee83e4156a481b64
Author:     Matthew S. Turnbull <sparky@bluefang-logic.com>
AuthorDate: 2021-01-08 06:11:58 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-01-24 17:30:54 +0000

    gnome-extra/cjs: 4.8.2 version bump
    
    Bug: https://bugs.gentoo.org/757708
    Bug: https://bugs.gentoo.org/649534
    Closes: https://bugs.gentoo.org/761852
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 gnome-extra/cjs/Manifest             |  1 +
 gnome-extra/cjs/cjs-4.8.2.ebuild     | 65 ++++++++++++++++++++++++++++++++++++
 gnome-extra/cjs/metadata.xml         |  3 ++
 profiles/arch/amd64/package.use.mask |  1 +
 profiles/arch/base/package.use.mask  |  1 +
 profiles/arch/x86/package.use.mask   |  1 +
 6 files changed, 72 insertions(+)
Comment 5 Joonas Niilola gentoo-dev 2021-06-01 15:07:48 UTC
Still hitting similar test failures with cjs-4.8.2 on x86, 

gentoo-stable-x86-2-snap-tmp ~ # python --version
Python 3.9.4
gentoo-stable-x86-2-snap-tmp ~ # emerge --info
Portage 3.0.18 (python 3.8.9-final-0, default/linux/x86/17.0, gcc-10.2.0, glibc-2.32-r7, 5.12.0-pf4 i686)
=================================================================
System uname: Linux-5.12.0-pf4-i686-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.1.3
KiB Mem:    32863036 total,  32033472 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 01 Jun 2021 10:20:31 +0000
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-lang/rust-bin:        1.51.0::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.23::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::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::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-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 -march=i686 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --usepkg --binpkg-respect-use=n --autounmask=y --autounmask-write --autounmask-continue --autounmask-use=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 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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 -march=i686 -pipe"
GENTOO_MIRRORS="https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16 -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"
USE="X acl berkdb bzip2 cli crypt dri egl elogind fortran gdbm gles2 iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 6 Joonas Niilola gentoo-dev 2021-06-01 15:08:19 UTC
Created attachment 713175 [details]
build.log
Comment 7 Joonas Niilola gentoo-dev 2021-06-01 15:08:38 UTC
Created attachment 713178 [details]
4.8.3 testlog
Comment 8 Matthew Turnbull 2021-06-01 18:17:19 UTC
Looks like it's related to this output

(cjs-console:1079): Cjs-CRITICAL **: 14:54:59.683: JS ERROR: Error: Requiring Gtk, version 3.0: Typelib file for namespace 'Gtk', version '3.0' not found
@<command line>:2:26

I can not reproduce those failures. Do you have the gtk flag disabled, or x11-libs/gtk+ installed without the introspection flag?
Comment 9 Joonas Niilola gentoo-dev 2021-06-02 07:23:52 UTC
(In reply to Matthew Turnbull from comment #8)
> Looks like it's related to this output
> 
> (cjs-console:1079): Cjs-CRITICAL **: 14:54:59.683: JS ERROR: Error:
> Requiring Gtk, version 3.0: Typelib file for namespace 'Gtk', version '3.0'
> not found
> @<command line>:2:26
> 
> I can not reproduce those failures. Do you have the gtk flag disabled, or
> x11-libs/gtk+ installed without the introspection flag?

Funnily enough, when starting from scratch and simply attempting to test cjs, nothing even pulls gtk+ (without build-deps). Yes, with defaults you get USE="-gtk", but it seems to be required for test phase. 

After installing gtk+, test phase passes. And indeed, gtk+[-introspection] fails tests again.