Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834904 - dev-python/moto-3.0.3 fails tests on x86
Summary: dev-python/moto-3.0.3 fails tests on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 834199
  Show dependency tree
 
Reported: 2022-03-10 09:27 UTC by Jakov Smolić
Modified: 2022-03-20 10:41 UTC (History)
0 users

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


Attachments
Build log (dev-python_moto-3.0.3_use_XAihF.bz2,96.87 KB, application/x-bzip)
2022-03-10 09:27 UTC, Jakov Smolić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2022-03-10 09:27:03 UTC
Created attachment 766732 [details]
Build log

=================================================================== short test summary info ====================================================================
 SKIPPED [1] ../../../../../../../usr/lib/python3.9/site-packages/_pytest/unittest.py:355: Needs a standalone MotoServer, as cfnresponse needs to connect to something
 FAILED tests/test_acm/test_acm.py::test_describe_certificate - OverflowError: timestamp out of range for platform time_t
 FAILED tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - KeyError: 'statusReason'
 FAILED tests/test_budgets/test_budgets.py::test_create_and_describe_budget_minimal_params - OverflowError: timestamp out of range for platform time_t
 FAILED tests/test_budgets/test_budgets.py::test_create_and_describe_all_budgets - OverflowError: timestamp out of range for platform time_t
 FAILED tests/test_sts/test_sts.py::test_assume_role_with_saml - xml.parsers.expat.ExpatError: out of memory: line 1, column 0
 FAILED tests/test_sts/test_sts.py::test_assume_role_with_saml_should_not_rely_on_attribute_order - xml.parsers.expat.ExpatError: out of memory: line 1, column 0
 FAILED tests/test_sts/test_sts.py::test_assume_role_with_saml_should_respect_xml_namespaces - xml.parsers.expat.ExpatError: out of memory: line 1, column 0
 FAILED tests/test_sts/test_sts.py::test_assume_role_with_saml_should_retrieve_attribute_value_from_text_when_xml_tag_contains_xmlns_attributes - xml.parsers....
 FAILED tests/test_sts/test_sts.py::test_assume_role_with_saml_should_default_session_duration_to_3600_seconds_when_saml_attribute_not_provided - xml.parsers....
 ===================================== 9 failed, 5824 passed, 1 skipped, 46 deselected, 119 warnings in 1151.44s (0:19:11) ======================================
  * ERROR: dev-python/moto-3.0.3::gentoo failed (test phase):
  *   pytest failed with python3.9
  *
  * Call stack:
  *     ebuild.sh, line  127:  Called src_test
  *   environment, line 3148:  Called distutils-r1_src_test
  *   environment, line 1483:  Called _distutils-r1_run_foreach_impl 'python_test'
  *   environment, line  602:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
  *   environment, line 2824:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
  *   environment, line 2373:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
  *   environment, line 2371:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
  *   environment, line  935:  Called distutils-r1_run_phase 'python_test'
  *   environment, line 1410:  Called python_test
  *   environment, line 3115:  Called epytest '-p' 'no:django' '-m' 'not network'
  *   environment, line 1884:  Called die
  * The specific snippet of code:
  *       "${@}" || die -n "pytest failed with ${EPYTHON}";
  *
  * If you need support, post the output of `emerge --info '=dev-python/moto-3.0.3::gentoo'`,
  * the complete build log and the output of `emerge -pqv '=dev-python/moto-3.0.3::gentoo'`.
  * The complete build log is located at '/var/tmp/portage/dev-python/moto-3.0.3/temp/build.log'.
  * The ebuild environment file is located at '/var/tmp/portage/dev-python/moto-3.0.3/temp/environment'.
  * Working directory: '/var/tmp/portage/dev-python/moto-3.0.3/work/moto-3.0.3'
  * S: '/var/tmp/portage/dev-python/moto-3.0.3/work/moto-3.0.3'
Comment 1 Jakov Smolić archtester gentoo-dev 2022-03-10 09:28:25 UTC
Portage 3.0.30 (python 3.9.10-final-0, default/linux/x86/17.0/systemd, gcc-11.2.0, glibc-2.34-r8, 5.10.68-gentoo-dist i686)
=================================================================
System uname: Linux-5.10.68-gentoo-dist-i686-Common_KVM_processor-with-glibc2.34
KiB Mem:    65850752 total,  40116388 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 10 Mar 2022 08:00:01 +0000
Head commit of repository gentoo: b1d3cbfd194ab33e82e5a0fb0162a4ca11cf7273
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37.20210720
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p14::gentoo, 3.6.15-r1::gentoo, 3.7.12_p2::gentoo, 3.8.12_p2::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-lang/rust-bin:         1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-apps/systemd:          250.2::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-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    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/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /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="-O2 -march=i686 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 20"
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 buildpkg-live 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j40 -l40"
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"
SHELL="/bin/bash"
USE="X acl bzip2 cli crypt dri eglfs fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode x86 xattr zlib" ABI_X86="32" ADA_TARGET="gnat_2020" 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="mmx mmxext sse sse2 sse3" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Larry the Git Cow gentoo-dev 2022-03-20 10:41:09 UTC
The bug has been closed via the following commit(s):

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

commit 744458ad962b3b60529e674d82fc490039754c9b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-03-20 10:19:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-03-20 10:41:05 +0000

    dev-python/moto: Fix test failures related to 32-bit time_t
    
    Closes: https://bugs.gentoo.org/834904
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../moto/files/moto-3.1.1-32bit-time_t.patch       | 68 ++++++++++++++++++++++
 dev-python/moto/moto-3.0.5.ebuild                  |  4 ++
 dev-python/moto/moto-3.1.1.ebuild                  |  4 ++
 3 files changed, 76 insertions(+)