Created attachment 868301 [details] build.log =========================== short test summary info ============================ SKIPPED [1] ../../../../../../../usr/lib/python3.11/site-packages/_pytest/unittest.py:371: Not today FAILED tests/test_time_machine.py::test_time_clock_gettime_monotonic_unaffected - assert 180060.382319348 > 180060.382319348 FAILED tests/test_time_machine.py::test_time_clock_gettime_ns_realtime - assert 190000000000 < 190000000000 FAILED tests/test_time_machine.py::test_time_clock_gettime_ns_monotonic_unaffected - assert 180060818326206 > 180060818326206 FAILED tests/test_time_machine.py::test_time_time - assert 0.0 < 0.0 FAILED tests/test_time_machine.py::test_time_time_windows - assert -11644445222 < -11644445222.0 FAILED tests/test_time_machine.py::test_time_time_ns - assert 150000000000 < 150000000000 FAILED tests/test_time_machine.py::UnitTestClassCustomSetUpClassTests::test_class_decorator - assert (0.0 + 95.0) < 95.0 FAILED tests/test_time_machine.py::test_move_to_datetime - assert 31536000.0 < 31536000.0 FAILED tests/test_time_machine.py::test_move_to_datetime_change_tick_on - assert 31536000.0 > 31536000.0 FAILED tests/test_time_machine.py::test_fixture_used_tick_true - assert 0.0 < 0.0 =================== 10 failed, 70 passed, 1 skipped in 3.94s =================== * ERROR: dev-python/time-machine-2.11.0::gentoo failed (test phase): * pytest failed with python3.11 ---- # emerge --info Portage 3.0.49 (python 3.11.4-final-0, default/linux/hppa/17.0/systemd, gcc-12, glibc-2.37-r3, 6.4.10 parisc64) ================================================================= System uname: Linux-6.4.10-parisc64-PA8800_-Mako-with-glibc2.37 KiB Mem: 8206292 total, 4794568 free KiB Swap: 1120380 total, 1120380 free Timestamp of repository gentoo: Mon, 21 Aug 2023 05:48:25 +0000 sh dash 0.5.12 ld GNU ld (Gentoo 2.40 p5) 2.40.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-lang/perl: 5.36.1-r3::gentoo dev-lang/python: 3.11.4::gentoo dev-util/cmake: 3.26.5-r1::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/sandbox: 2.37::gentoo sys-apps/systemd: 253.6::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="hppa" ACCEPT_LICENSE="*" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=2.0" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=2.0" DISTDIR="/var/cache/distfiles" 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 -march=2.0" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs 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 split-elog split-log 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="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j2 -l2" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS="xz" 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" SHELL="/bin/bash" USE="acl big-endian bzip2 cli crypt fortran gdbm hppa iconv ipv6 ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" 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" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 868302 [details] build.log (ansifiltered)
Created attachment 874380 [details] alpha build.log Seeing similar but slightly better results on alpha. Both of these platforms have low clock resolution, which is likely the culprit.
I have submitted an upstream fix in https://github.com/adamchainz/time-machine/pull/400
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b25ffa64a4f780e8f1c0d75d0ae5e27f245efb8 commit 2b25ffa64a4f780e8f1c0d75d0ae5e27f245efb8 Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2023-11-12 17:26:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-11-14 01:35:06 +0000 dev-python/time-machine: fix tests on low clock resolution See: https://github.com/adamchainz/time-machine/pull/400 Closes: https://bugs.gentoo.org/912709 Bug: https://bugs.gentoo.org/910367 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Sam James <sam@gentoo.org> .../files/time-machine-2.13.0-backport-pr400.patch | 252 +++++++++++++++++++++ dev-python/time-machine/time-machine-2.13.0.ebuild | 2 + 2 files changed, 254 insertions(+)