Test failures on HPPA (test_GDateTime_get_utc_offset and test_ip_async_timed_out)
On HPPA, two tests fail for me with glib-2.70.1 (first seen on my end with 2.68.3, but not checked if that's the earliest):
# grep "FAIL" /var/tmp/portage/dev-libs/glib-2.70.1/temp/build.log
26/273 glib:glib+slow / gdatetime FAIL 0.09s killed by signal 6 SIGABRT
202/273 glib:gio / socket FAIL 2.15s killed by signal 6 SIGABRT
Information:
From testlog.txt:
- Summary of failures:
Summary of Failures:
3/273 glib:glib+slow / 642026 TIMEOUT 1800.10s killed by signal 15 SIGTERM
4/273 glib:glib+slow / 642026-ec TIMEOUT 1800.10s killed by signal 15 SIGTERM
26/273 glib:glib+slow / gdatetime FAIL 0.09s killed by signal 6 SIGABRT
202/273 glib:gio / socket FAIL 2.15s killed by signal 6 SIGABRT
- gdatetime failure:
26/273 glib:glib+slow / gdatetime FAIL 0.09s killed by signal 6 SIGABRT
15:26:11 G_TEST_SRCDIR=/var/tmp/portage/dev-libs/glib-2.70.1/work/glib-2.70.1/glib/tests MALLOC_PERTURB_=129 MALLOC_CHECK_=2 G_DEBUG=gc-friendly G_TEST_BUILDDIR=/var/tmp/portage/dev-libs/glib-2.70.1/work/glib-2.70.1-.hppa/glib/tests /var/tmp/portage/dev-libs/glib-2.70.1/work/glib-2.70.1-.hppa/glib/tests/gdatetime
----------------------------------- output -----------------------------------
stdout:
# random seed: R02S7bd79658c3c774a08c4ae77912afdcb2
1..64
# Start of GDateTime tests
# Bug Reference: http://bugzilla.gnome.org/702674
ok 1 /GDateTime/invalid
ok 2 /GDateTime/add_days
ok 3 /GDateTime/add_full
ok 4 /GDateTime/add_hours
ok 5 /GDateTime/add_minutes
ok 6 /GDateTime/add_months
ok 7 /GDateTime/add_seconds
ok 8 /GDateTime/add_weeks
ok 9 /GDateTime/add_years
ok 10 /GDateTime/compare
ok 11 /GDateTime/diff
ok 12 /GDateTime/equal
ok 13 /GDateTime/get_day_of_week
ok 14 /GDateTime/get_day_of_month
ok 15 /GDateTime/get_day_of_year
ok 16 /GDateTime/get_hour
ok 17 /GDateTime/get_microsecond
ok 18 /GDateTime/get_minute
ok 19 /GDateTime/get_month
ok 20 /GDateTime/get_second
Bail out! GLib:ERROR:../glib-2.70.1/glib/tests/gdatetime.c:1411:test_GDateTime_get_utc_offset: assertion failed (ts == (tm.tm_gmtoff * G_TIME_SPAN_SECOND)): (0 == 3600000000)
stderr:
**
GLib:ERROR:../glib-2.70.1/glib/tests/gdatetime.c:1411:test_GDateTime_get_utc_offset: assertion failed (ts == (tm.tm_gmtoff * G_TIME_SPAN_SECOND)): (0 == 3600000000)
------------------------------------------------------------------------------
This one was originally reported here and there's an interesting observation in the comments:
The test was run this morning, after the time shift again. Now the offset is doubled: this is obviously timezone related. "date" in the chroot shows the correct values, so I guess this is really broken.
- socket failure:
202/273 glib:gio / socket FAIL 2.15s killed by signal 6 SIGABRT
15:37:08 MALLOC_PERTURB_=201 G_TEST_BUILDDIR=/var/tmp/portage/dev-libs/glib-2.70.1/work/glib-2.70.1-.hppa/gio/tests GIO_MODULE_DIR='' G_TEST_SRCDIR=/var/tmp/portage/dev-libs/glib-2.70.1/work/glib-2.70.1/gio/tests /var/tmp/portage/dev-libs/glib-2.70.1/work/glib-2.70.1-.hppa/gio/tests/socket
----------------------------------- output -----------------------------------
stdout:
# random seed: R02S8052edf96dde8abe6cfa7f009214cadb
1..26
# Start of socket tests
ok 1 /socket/ipv4_sync
Bail out! GLib-GIO:ERROR:../glib-2.70.1/gio/tests/socket.c:266:test_ip_async_timed_out: assertion failed (cond == G_IO_IN): (0 == 1)
stderr:
**
GLib-GIO:ERROR:../glib-2.70.1/gio/tests/socket.c:266:test_ip_async_timed_out: assertion failed (cond == G_IO_IN): (0 == 1)
Somewhat related: I had to crank up the multiplier to 10x to get them to pass on HPPA, although 2x was enough for somebody else with a HPPA box.
Initially reported downstream in Gentoo here.
System information:
Portage 3.0.20 (python 3.9.7-final-0, default/linux/hppa/17.0, gcc-10.3.0, glibc-2.33-r7, 5.14.15 parisc)
=================================================================
System uname: Linux-5.14.15-parisc-PA8800_-Mako-with-glibc2.33
KiB Mem: 6151304 total, 2030236 free
KiB Swap: 19531768 total, 19531768 free
Timestamp of repository gentoo: Mon, 01 Nov 2021 13:00:01 +0000
Head commit of repository gentoo: a79eadcd4af8b2c9670ba4bb1f8b456eab2d331d
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash: 5.1_p8::gentoo
dev-lang/perl: 5.34.0-r3::gentoo
dev-lang/python: 3.9.7_p1::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.43.5-r1::gentoo
sys-apps/sandbox: 2.25::gentoo
sys-devel/autoconf: 2.71-r1::gentoo
sys-devel/automake: 1.16.4::gentoo
sys-devel/binutils: 2.37_p1::gentoo
sys-devel/gcc: 10.3.0-r2::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.33-r7::gentoo
Repositories:
gentoo
location: /bound/portage
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-extra-opts:
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="@FREE"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0 -fdiagnostics-show-option -frecord-gcc-switches"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=2.0"
DISTDIR="/bound/distfiles"
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 -march=2.0"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox multilib-strict network-sandbox news nodoc noinfo noman 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 -pipe -march=2.0"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j1"
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="acl big-endian bzip2 cli crypt cups firefox foomaticdb fortran gdbm gpm hppa iconv imlib ipv6 libglvnd libwww ncurses nls nptl openmp pam pcre readline seccomp spell split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2019" 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" 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" 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="fbdev dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Please let me know what additional information I can provide that would be helpful. Thank you!