Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902837 - dev-libs/glib-2.76.1: failing tests: gdbus-server-auth (do_test_server_auth), file (test_measure)
Summary: dev-libs/glib-2.76.1: failing tests: gdbus-server-auth (do_test_server_auth),...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-03-23 18:40 UTC by tka
Modified: 2023-05-25 04:26 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,38.74 KB, application/x-xz)
2023-03-23 18:42 UTC, tka
Details
environment (environment,153.15 KB, text/plain)
2023-03-23 18:42 UTC, tka
Details
testlog.txt.xz (testlog.txt.xz,108.98 KB, application/x-xz)
2023-03-23 18:44 UTC, tka
Details
build.log.xz (2.76.2) (build.log.xz,40.48 KB, application/x-xz)
2023-05-06 13:10 UTC, ahudson.news
Details
testlog.txt.xz (2.76.2) (testlog.txt.xz,118.67 KB, application/x-xz)
2023-05-06 13:10 UTC, ahudson.news
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2023-03-23 18:40:32 UTC
Summary of Failures:

278/336 glib:gio / gdbus-server-auth                                    ERROR            0.01s   killed by signal 6 SIGABRT
281/336 glib:gio / file                                                 ERROR            0.03s   killed by signal 6 SIGABRT

Ok:                 332 
Expected Fail:      0   
Fail:               2   
Unexpected Pass:    0   
Skipped:            2   
Timeout:            0

▶ 278/336 /gdbus/server-auth - GLib-GIO:ERROR:../glib-2.76.1/gio/tests/gdbus-server-auth.c:422:do_test_server_auth: assertion failed (libdbus_call.error.name == NULL): ("org.freedesktop.DBus.Error.BadAddress" == NULL) FAIL          
▶ 278/336                                                               ERROR         
278/336 glib:gio / gdbus-server-auth                                    ERROR            0.01s   killed by signal 6 SIGABRT
>>> MALLOC_CHECK_=2 G_TEST_BUILDDIR=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio/tests G_ENABLE_DIAGNOSTIC=1 GIO_MODULE_DIR='' MALLOC_PERTURB_=229 GIO_LAUNCH_DESKTOP=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio/gio-launch-desktop LD_LIBRARY_PATH=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gobject:/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/glib:/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gmodule:/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio G_TEST_SRCDIR=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1/gio/tests G_DEBUG=gc-friendly /var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio/tests/gdbus-server-auth
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stderr:
**
GLib-GIO:ERROR:../glib-2.76.1/gio/tests/gdbus-server-auth.c:422:do_test_server_auth: assertion failed (libdbus_call.error.name == NULL): ("org.freedesktop.DBus.Error.BadAddress" == NULL)

(test program exited with status code -6)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

▶ 281/336 /file/measure - GLib-GIO:ERROR:../glib-2.76.1/gio/tests/file.c:2616:test_measure: assertion failed (num_bytes == size): (75458 == 74478) FAIL          
▶ 281/336                                                               ERROR         
281/336 glib:gio / file                                                 ERROR            0.03s   killed by signal 6 SIGABRT
>>> MALLOC_CHECK_=2 G_TEST_BUILDDIR=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio/tests MALLOC_PERTURB_=243 G_ENABLE_DIAGNOSTIC=1 GIO_MODULE_DIR='' GIO_LAUNCH_DESKTOP=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio/gio-launch-desktop LD_LIBRARY_PATH=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gobject:/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/glib:/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gmodule:/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio G_TEST_SRCDIR=/var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1/gio/tests G_DEBUG=gc-friendly /var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/gio/tests/file
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stderr:
**
GLib-GIO:ERROR:../glib-2.76.1/gio/tests/file.c:2616:test_measure: assertion failed (num_bytes == size): (75458 == 74478)

(test program exited with status code -6)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――



Reproducible: Always
Comment 1 tka 2023-03-23 18:42:15 UTC
Created attachment 858759 [details]
build.log.xz

# emerge -pqv '=dev-libs/glib-2.76.1::gentoo'
[ebuild     U ] dev-libs/glib-2.76.1 [2.76.0-r1] USE="dbus elf mime test xattr -debug -gtk-doc (-selinux) -static-libs -sysprof -systemtap -utils"


# emerge --info '=dev-libs/glib-2.76.1::gentoo'
Portage 3.0.45.3 (python 3.10.10-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-12, glibc-2.37-r1, 6.2.8 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.2.8-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.37
KiB Mem:    16284720 total,   9914312 free
KiB Swap:   20971516 total,  20971516 free
Timestamp of repository gentoo: Thu, 23 Mar 2023 17:00:01 +0000
Head commit of repository gentoo: e439dec91ed2212c57c2f84aaf5920e88c89eb81
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p3) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust:             1.68.0::gentoo
dev-util/cmake:            3.26.0::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.0::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.0::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: --new-compress
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup collision-protect config-protect-if-modified 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 strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LEX="flex"
LINGUAS=""
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
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="X a52 acl acpi alsa amd64 avx bzip2 cairo caps cdda cddb cdparanoia cli crypt cups dbus dri dts dvd elogind fam ffmpeg fftw flac fontconfig gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg lame lcms libglvnd libnotify libtirpc lzma mad matroska mmap mmx mmxext mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg test test-rust theora threads tiff truetype udev udisks unicode upower vaapi verify-sig vorbis wayland x264 xattr xcb xinerama xml xtpax xv xvid zlib" ABI_X86="64" 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" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="crocus intel nouveau" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 tka 2023-03-23 18:42:44 UTC
Created attachment 858761 [details]
environment
Comment 3 tka 2023-03-23 18:44:32 UTC
Created attachment 858763 [details]
testlog.txt.xz

Full log written to /var/tmp/portage/dev-libs/glib-2.76.1/work/glib-2.76.1-abi_x86_64.amd64/meson-logs/testlog.txt
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-01 02:52:33 UTC
Apparently the test_measure failure is coreutils-9.2.
Comment 5 Paolo Pedroni 2023-05-03 12:19:12 UTC
gio / gdbus-server-auth fails for me as well in dev-libs/glib-2.76.2
Comment 6 ahudson.news 2023-05-06 12:01:14 UTC
can confirm the gdbus-server-auth fail with 2.76.2



[ebuild     U  ] dev-libs/glib-2.76.2:2::gentoo [2.74.6:2::gentoo] USE="elf mime test xattr -dbus -debug -gtk-doc (-selinux) -static-libs -sysprof -systemtap -utils" ABI_X86="(64) -32 (-x32)" 0 KiB



▶ 268/332 /gdbus/server-auth - GLib-GIO:ERROR:../glib-2.76.2/gio/tests/gdbus-server-auth.c:422:do_test_server_auth: assertion failed (libdbus_call.error.name == NULL): ("org.freedesktop.DBus.Error.BadAddress" == NULL) FAIL          
▶ 268/332                                                               ERROR         
268/332 glib:gio / gdbus-server-auth                                    ERROR            0.06s   killed by signal 6 SIGABRT
>>> MALLOC_PERTURB_=197 G_TEST_BUILDDIR=/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/gio/tests MALLOC_CHECK_=2 G_TEST_SRCDIR=/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2/gio/tests G_ENABLE_DIAGNOSTIC=1 G_DEBUG=gc-friendly GIO_MODULE_DIR='' GIO_LAUNCH_DESKTOP=/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/gio/gio-launch-desktop LD_LIBRARY_PATH=/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/gmodule:/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/gio:/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/gobject:/tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/glib /tmp/portage/portage/dev-libs/glib-2.76.2/work/glib-2.76.2-abi_x86_64.amd64/gio/tests/gdbus-server-auth
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
stderr:
**
GLib-GIO:ERROR:../glib-2.76.2/gio/tests/gdbus-server-auth.c:422:do_test_server_auth: assertion failed (libdbus_call.error.name == NULL): ("org.freedesktop.DBus.Error.BadAddress" == NULL)

(test program exited with status code -6)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-06 12:02:21 UTC
(In reply to ahudson.news from comment #6)
> can confirm the gdbus-server-auth fail with 2.76.2
> 

Please attach full logs.
Comment 8 ahudson.news 2023-05-06 13:10:34 UTC
Created attachment 861221 [details]
build.log.xz (2.76.2)
Comment 9 ahudson.news 2023-05-06 13:10:49 UTC
Created attachment 861222 [details]
testlog.txt.xz (2.76.2)
Comment 10 Larry the Git Cow gentoo-dev 2023-05-17 21:55:08 UTC
The bug has been closed via the following commit(s):

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

commit ca7ff2f4646cd1372575d46ef439baf4f2f9ce15
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-05-17 21:27:13 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-05-17 21:54:44 +0000

    dev-libs/glib: Reapply patch to mark gdbus-server-auth test as flaky
    
    This patch was mistakenly dropped in the v2.76.1 bump.
    
    Closes: https://bugs.gentoo.org/902837
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/glib/glib-2.76.2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)